Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : sciNetCDF details
Login with GitLab

sciNetCDF

Read / write NetCDF files
(7355 downloads for this version - 19322 downloads for all versions)
Details
Version
1.2
Author
contact@scilab.org
Owner Organization
Scilab Enterprises
Maintainer
Clément DAVID
Category
License
Creation Date
April 1, 2016
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
Scilab 5.5.x:
Linux 64-bit Windows 64-bit Linux 32-bit Windows 32-bit
Install command
--> atomsInstall("scinetcdf")
Description
            NetCDF is a software library, and a self-describing, machine-independent open
data format that support the creation, access, and sharing of array-oriented
scientific data.
The version 4 of NetCDF is based on the HDF5 file format. For more details on
NetCDF see http://www.unidata.ucar.edu/software/netcdf/.

In the context of the IASI-NG project, CNES is responsible for the development
of a Scilab/NetCDF4 interface, which CNES wanted to make available to the entire
scientific community. 

The toolbox sciNetCDF is the result of this collaboration. It can read and write
NetCDF files of any version (version 4 of the format is used by default for
writing).

The toolbox provides high level functions to read/write NetCDF files natively in
Scilab in a friendly manner (data is converted automatically from Scilab to
NetCDF and inversely).
These functions are:
- nccreate
- ncwrite
- ncread
- ncwriteatt
- ncreadatt
- ncdisp

It provides also a low level interface to all the NetCDF C library functions
(for a complete list see http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-c/).            
Files (4)
[2.13 MB]
Linux 64-bit binary for Scilab 5.5.x
Linux 64-bit binaries
[1.72 MB]
Windows 64-bit binary for Scilab 5.5.x
Windows 64-bit binaries
[2.19 MB]
Linux 32-bit binary for Scilab 5.5.x
Linux 32-bit binaries
[1.49 MB]
Windows 32-bit binary for Scilab 5.5.x
Windows 32-bit binaries
News (1)
Comments (4)     Leave a comment 
Comment from EMMANUEL FONTAINE -- May 11, 2018, 08:33:47 AM    
Hi, I used scinetcdf under scilab 5.5.2.
however, I have some issues with scilab 5.5.2 that kills himself during a process don't
know why. 
So I change my scilab to the newest version 6.0.1 but now the lib of scinetcdf is too old
version. I got this:
--> exec("/home/emmanuel/Documents/scilab/scinetcdf_1.2/loader.sce") ;
Start sciNetCDF
	Load macros
at line    21 of function startModule (
/home/emmanuel/Documents/scilab/scinetcdf_1.2/etc/scinetcdf.start line 26 )
at line    81 of executed file
/home/emmanuel/Documents/scilab/scinetcdf_1.2/etc/scinetcdf.start
at line    10 of executed file /home/emmanuel/Documents/scilab/scinetcdf_1.2/loader.sce

lib: Old binary lib detected. Please recompile it for Scilab 6.

I also try that:
--> atomsInstall('/home/emmanuel/Documents/scilab/scinetcdf_1.2.bin.x64.linux.tar.gz')
Scanning repository http://atoms.scilab.org/6.0
... Done

 ans  =

    [] 
and that:

--> atomsInstall("scinetcdf")
 ans  =

    []

in the last test I put the file in the main scialb directory.

If any help could be nice.
thanks
Comment from Samuel Gougeon -- May 3, 2019, 03:45:43 PM    
Hello Ekin,
After your comment @ http://mailinglists.scilab.org/Scilab-users-Getting-netCDF-files-
into-Scilab-6-0-1-tp4038278p4038374.html
about your work with netCDF with Scilab 6.0, what's new about making a version for Scilab 
6 available on ATOMS for all users, since you are now among maintainers?
Thanks
Samuel
Comment from Samuel Gougeon -- July 15, 2019, 11:55:54 PM    
On Windows, after recompiling the macros for Scilab 6, loading the module yields:
Start sciNetCDF
	Load macros
	Load thirdparties
	Load libraries
	Load gateways
at line    15 of executed file   SCI\contrib\scinetcdf\loader.sce
at line     1 of executed string 

exec: error on line #404: "addinter: The shared archive was not loaded: Unknown
Error"

So the thirdparties and the libraries are OK, while now only the gateways still need to be

recompiled.
Comment from Samuel Gougeon -- July 16, 2019, 12:19:35 AM    
Recompiling the gateways on Windows with minGW and
--> tbx_make . sci_gateway
does many things but finally fails into

!------------- Link files --------------                                                   
         
!
!x86_64-w64-mingw32-g++.exe --shared libscinetcdf.o scinetcdf_gw_utils.o 
scinetcdf_wrap.o -std=c++11 !
...                                                                                        
         
!
!scinetcdf_wrap.o:scinetcdf_wrap.c:(.text+0x9939): undefined reference to 
`__imp_nc_inq_grpname'     !
!scinetcdf_wrap.o:scinetcdf_wrap.c:(.text+0x9b46): undefined reference to 
`__imp_nc_inq_compound_name' !
...
!scinetcdf_wrap.o:scinetcdf_wrap.c:(.text+0x481a3): undefined reference to 
`__imp_ncrecput'          !
! 
!collect2.exe: error: ld returned 1 exit status                                            
         
!
!Makelib:127: recipe for target 'libscinetcdf.dll' failed                                  
         
!
!make: *** [libscinetcdf.dll] Error 1                                                      
         
!
at line    58 of executed file C:\tmp\scinetcdf\netcdf4-
1.2\sci_gateway\c\builder_gateway_c.sce
at line    13 of function tbx_builder              ( 
SCI\modules\modules_manager\macros\tbx_builder.sci line 26 )
...

ilib_compile: Error while executing Makelib.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.