[ncl-talk] error reading netcdf file
Mary Haley
haley at ucar.edu
Tue Mar 21 12:31:30 MDT 2017
Hi Francesco,
The error message is not very useful in this case.
Normally I would say that it meant "tmask" was not on the file, but I can
see from your output that it is.
What version of NCL are you using?
ncl -V
What happens if you type this from the UNIX command line:
ncl_filedump mesh_mask.nc
ncl_filedump mesh_mask.nc
-v tmask
Can you provide us with the file?
You can use our ftp if needed:
http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP
Thanks,
--Mary
On Mon, Mar 20, 2017 at 12:35 PM, Francesco Trotta <
francesco.trotta4 at unibo.it> wrote:
> Dear ncl-team
>
> I'm try to read the variable 'tmask' from the netcdf file mesh_mask.nc
> (see below)
>
> but I got this error:
>
>
> fatal:["NclNetCDF4.c":3759]:NclNetCDF4: Error reading variable (tmask)
> from file (/scratch/surf/experiments/fiordoSermilik_debian_test03/
> data/data00/regriddata/meshmask/mesh_mask.nc)
>
>
> What does it means?
>
>
> thanks
>
> Francesco
>
>
> netcdf mesh_mask {
> dimensions:
> x = 256 ;
> y = 121 ;
> z = 98 ;
> t = UNLIMITED ; // (1 currently)
> variables:
> float nav_lon(y, x) ;
> float nav_lat(y, x) ;
> float nav_lev(z) ;
> double time_counter(t) ;
> byte tmask(t, z, y, x) ;
> byte umask(t, z, y, x) ;
> byte vmask(t, z, y, x) ;
> byte fmask(t, z, y, x) ;
> byte tmaskutil(t, y, x) ;
> byte umaskutil(t, y, x) ;
> byte vmaskutil(t, y, x) ;
> byte fmaskutil(t, y, x) ;
> float glamt(t, y, x) ;
> float glamu(t, y, x) ;
> float glamv(t, y, x) ;
> float glamf(t, y, x) ;
> float gphit(t, y, x) ;
> float gphiu(t, y, x) ;
> float gphiv(t, y, x) ;
> float gphif(t, y, x) ;
> double e1t(t, y, x) ;
> double e1u(t, y, x) ;
> double e1v(t, y, x) ;
> double e1f(t, y, x) ;
> double e2t(t, y, x) ;
> double e2u(t, y, x) ;
> double e2v(t, y, x) ;
> double e2f(t, y, x) ;
> double ff(t, y, x) ;
> short mbathy(t, y, x) ;
> short misf(t, y, x) ;
> float isfdraft(t, y, x) ;
> double e3t_0(t, z, y, x) ;
> double e3u_0(t, z, y, x) ;
> double e3v_0(t, z, y, x) ;
> double e3w_0(t, z, y, x) ;
> float gdept_0(t, z, y, x) ;
> float gdepu(t, z, y, x) ;
> float gdepv(t, z, y, x) ;
> float gdepw_0(t, z, y, x) ;
> double gdept_1d(t, z) ;
> double gdepw_1d(t, z) ;
> double e3t_1d(t, z) ;
> double e3w_1d(t, z) ;
>
> // global attributes:
> :DOMAIN_number_total = 1 ;
> :DOMAIN_number = 0 ;
> :DOMAIN_dimensions_ids = 1, 2 ;
> :DOMAIN_size_global = 256, 121 ;
> :DOMAIN_size_local = 256, 121 ;
> :DOMAIN_position_first = 1, 1 ;
> :DOMAIN_position_last = 256, 121 ;
> :DOMAIN_halo_size_start = 0, 0 ;
> :DOMAIN_halo_size_end = 0, 0 ;
> :DOMAIN_type = "BOX" ;
> }
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170321/c949b9bc/attachment.html
More information about the ncl-talk
mailing list