You should probably raise an issue on the NetCDF.jl
repository: https://github.com/meggart/NetCDF.jl/issues
On Tuesday, 21 July 2015 04:56:10 UTC+1, RBhupi wrote:
>
> I havent done much with Julia yet so cant provide more info at this time.
>
> ncinfo and ncread fails when the time axis is of type 'long'.
>
> ----------------------Terminal---------------------------
> julia> t=NetCDF.ncread("/home/bhupendra/temp/temp-test/test.nc", "time")
> ERROR: NetCDF type currently not supported, please file an issue on
> https://github.com/meggart/NetCDF.jl
> in readvar at /home/bhupendra/.julia/v0.3/NetCDF/src/NetCDF.jl:126
> in readvar at /home/bhupendra/.julia/v0.3/NetCDF/src/NetCDF.jl:107
> in ncread at /home/bhupendra/.julia/v0.3/NetCDF/src/NetCDF.jl:379
> ----------------------------------------
>
> ----------------------Terminal--------------------------------
> julia> NetCDF.ncinfo("/home/bhupendra/temp/temp-test/test.nc")
>
> ##### NetCDF File #####
>
> /home/bhupendra/temp/temp-test/test.nc
>
> ##### Dimensions #####
>
> Name Length
> -------------------------------
> latitude 256
> time 4716
> longitude 256
>
> ##### Variables #####
>
> Name Type Dimensions
> ---------------------------------------------------------------
> latitude FLOAT latitude,
> timeError showing value of type NcFile:
> ERROR: key not found: 10
> in getindex at dict.jl:617
> in show at /home/bhupendra/.julia/v0.3/NetCDF/src/NetCDF.jl:505
> in anonymous at show.jl:1159
> in with_output_limit at ./show.jl:1136
> in showlimited at show.jl:1158
> in writemime at replutil.jl:2
> in display at REPL.jl:117
> in display at REPL.jl:120
> in display at multimedia.jl:149
> in print_response at REPL.jl:139
> in print_response at REPL.jl:124
> in anonymous at REPL.jl:586
> in run_interface at ./LineEdit.jl:1379
> in run_frontend at ./REPL.jl:818
> :_Documentation = "
> http://www.unidata.ucar.edu/software/netcdf/docs/cxx4/index.html" ; in
> run_repl at ./REPL.jl:169
> in _start at ./client.jl:400
> julia>
>
> -----------------------------------------------------------------------------------
>
>
> *ncdump -h output looks like this *ncdump -h
> /home/bhupendra/temp/temp-test/test.nc
> netcdf test {
> dimensions:
> latitude = 256 ;
> longitude = 256 ;
> time = UNLIMITED ; // (4716 currently)
> variables:
> float latitude(latitude) ;
> latitude:units = "degrees_north" ;
> float longitude(longitude) ;
> longitude:units = "degrees_east" ;
> int64 time(time) ;
> time:units = "seconds since 1970-01-01 00:00:00 UTC" ;
> float rain(time, latitude, longitude) ;
> rain:units = "mm/hr" ;
> rain:_FillValue = -999.f ;
> rain:_compression = "Zlib with HDF-5" ;
>
> // global attributes:
> :_libNCIO = "developed by Bhupendra Raut (www.baraut.info) at
> Monash Weather and Climate Group." ;
> :_Documentation = "
> http://www.unidata.ucar.edu/software/netcdf/docs/cxx4/index.html" ;
> :_created = "Wed May 13 16:26:12 2015\n" ;
>
> Cheers,
> RB
>