<div dir="ltr">Hi Francesco,<br><br>The error message is not very useful in this case. <div><br></div><div>Normally I would say that it meant "tmask" was not on the file, but I can see from your output that it is.<br><br>What version of NCL are you using? <br><br><font face="monospace, monospace">ncl -V<br></font><br>What happens if you type this from the UNIX command line:<br><br><font face="monospace, monospace">ncl_filedump <a href="http://mesh_mask.nc">mesh_mask.nc</a><div class="gmail_default" style="font-size:small;display:inline"></div></font><div><font face="monospace, monospace"><div class="gmail_default" style="font-size:small;display:inline"></div></font><font face="monospace, monospace">ncl_filedump <a href="http://mesh_mask.nc">mesh_mask.nc</a><div class="gmail_default" style="display:inline"> -v tmask</div></font></div><div><br>Can you provide us with the file?<div class="gmail_default" style="font-size:small;display:inline"> You can use our ftp if needed:</div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline"><a href="http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP">http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP</a></div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline">Thanks,</div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small;display:inline">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 12:35 PM, Francesco Trotta <span dir="ltr"><<a href="mailto:francesco.trotta4@unibo.it" target="_blank">francesco.trotta4@unibo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear ncl-team</p>
<p> I'm try to read the variable 'tmask' from the netcdf file <a href="http://mesh_mask.nc" target="_blank">mesh_mask.nc</a> (see below)</p>
<p> but I got this error: </p>
<p><br>
</p>
<p>fatal:["NclNetCDF4.c":3759]:<wbr>NclNetCDF4: Error reading variable (tmask) from file (/scratch/surf/experiments/<wbr>fiordoSermilik_debian_test03/<wbr>data/data00/regriddata/<wbr>meshmask/<a href="http://mesh_mask.nc" target="_blank">mesh_mask.nc</a>)</p>
<p><br>
</p>
<p>What does it means? </p>
<p><br>
</p>
<p>thanks</p>
<p>Francesco <br>
</p>
<p><br>
</p>
<p>netcdf mesh_mask {<br>
dimensions:<br>
x = 256 ;<br>
y = 121 ;<br>
z = 98 ;<br>
t = UNLIMITED ; // (1 currently)<br>
variables:<br>
float nav_lon(y, x) ;<br>
float nav_lat(y, x) ;<br>
float nav_lev(z) ;<br>
double time_counter(t) ;<br>
byte tmask(t, z, y, x) ;<br>
byte umask(t, z, y, x) ;<br>
byte vmask(t, z, y, x) ;<br>
byte fmask(t, z, y, x) ;<br>
byte tmaskutil(t, y, x) ;<br>
byte umaskutil(t, y, x) ;<br>
byte vmaskutil(t, y, x) ;<br>
byte fmaskutil(t, y, x) ;<br>
float glamt(t, y, x) ;<br>
float glamu(t, y, x) ;<br>
float glamv(t, y, x) ;<br>
float glamf(t, y, x) ;<br>
float gphit(t, y, x) ;<br>
float gphiu(t, y, x) ;<br>
float gphiv(t, y, x) ;<br>
float gphif(t, y, x) ;<br>
double e1t(t, y, x) ;<br>
double e1u(t, y, x) ;<br>
double e1v(t, y, x) ;<br>
double e1f(t, y, x) ;<br>
double e2t(t, y, x) ;<br>
double e2u(t, y, x) ;<br>
double e2v(t, y, x) ;<br>
double e2f(t, y, x) ;<br>
double ff(t, y, x) ;<br>
short mbathy(t, y, x) ;<br>
short misf(t, y, x) ;<br>
float isfdraft(t, y, x) ;<br>
double e3t_0(t, z, y, x) ;<br>
double e3u_0(t, z, y, x) ;<br>
double e3v_0(t, z, y, x) ;<br>
double e3w_0(t, z, y, x) ;<br>
float gdept_0(t, z, y, x) ;<br>
float gdepu(t, z, y, x) ;<br>
float gdepv(t, z, y, x) ;<br>
float gdepw_0(t, z, y, x) ;<br>
double gdept_1d(t, z) ;<br>
double gdepw_1d(t, z) ;<br>
double e3t_1d(t, z) ;<br>
double e3w_1d(t, z) ;<br>
<br>
// global attributes:<br>
:DOMAIN_number_total = 1 ;<br>
:DOMAIN_number = 0 ;<br>
:DOMAIN_dimensions_ids = 1, 2 ;<br>
:DOMAIN_size_global = 256, 121 ;<br>
:DOMAIN_size_local = 256, 121 ;<br>
:DOMAIN_position_first = 1, 1 ;<br>
:DOMAIN_position_last = 256, 121 ;<br>
:DOMAIN_halo_size_start = 0, 0 ;<br>
:DOMAIN_halo_size_end = 0, 0 ;<br>
:DOMAIN_type = "BOX" ;<br>
}<br>
<br>
</p>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>