<div dir="ltr">Thank very much i will follow the instructions.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 13, 2015 at 2:54 AM, James T. Potemra <span dir="ltr"><<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Martin,<br>
<br>
I think the problem is with the dimension "evn". You can confirm
this by writing a <br>
descriptor file (see
<a href="http://www.iges.org/grads/gadoc/SDFdescriptorfile.html" target="_blank">http://www.iges.org/grads/gadoc/SDFdescriptorfile.html</a>). <br>
<br>
Since you only have two, you might try writing these as two separate
variables (e.g., <br>
EOF1 and EOF2, rather than EOF(1,lat,lon) and EOF(2,lat,lon)).
Second, I'm not sure <br>
you can mix variables that are functions of time (EOF_TS) and those
that are not (EOF). <br>
Again, you might be able to fake this with levels; GrADS can handle
variables with <br>
different number of vertical levels, but I don't think it can handle
variables with different <br>
number of times.<br>
<br>
Jim<div><div class="h5"><br>
<br>
<div>On 8/11/15 11:26 PM, Martin Addi wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thanks for the advice.Below is the meta data and
have also attached the file.<br>
<br>
netcdf EOF {<br>
dimensions:<br>
evn = 2 ;<br>
lat = 44 ;<br>
lon = 46 ;<br>
time = 49 ;<br>
variables:<br>
double EOF(evn, lat, lon) ;<br>
EOF:eval_transpose = 7753.36745873359, 4131.29121507285
;<br>
EOF:eval = 279121.228514409, 148726.483742623 ;<br>
EOF:pcvar = 19.72755f, 10.5116f ;<br>
EOF:matrix = "covariance" ;<br>
EOF:method = "transpose" ;<br>
EOF:_FillValue = 9.96920996838687e+36 ;<br>
EOF:long_name = "EOF: Wgt: MAM: precipitation" ;<br>
int evn(evn) ;<br>
evn:long_name = "eigenvalue number" ;<br>
evn:units = ;<br>
double lat(lat) ;<br>
lat:units = "degrees_north" ;<br>
lat:long_name = "latitude" ;<br>
double lon(lon) ;<br>
lon:units = "degrees_east" ;<br>
lon:long_name = "longitude" ;<br>
double EOF_TS(evn, time) ;<br>
EOF_TS:ts_mean = -5361.91594760721, -88.5917578848278 ;<br>
EOF_TS:matrix = "covariance" ;<br>
EOF_TS:_FillValue = 9.96920996838687e+36 ;<br>
EOF_TS:long_name = "EOF: Amplitude: Wgt: MAM:
precipitation" ;<br>
double time(time) ;<br>
time:long_name = "time" ;<br>
time:units = "days since 1900-1-1" ;<br>
time:calendar = "gregorian" ;<br>
<br>
// global attributes:<br>
:title = "EOF of precipitation" ;<br>
data:<br>
<br>
evn = 1, 2 ;<br>
<br>
lat = -11.75, -11.25, -10.75, -10.25, -9.75, -9.25, -8.75,
-8.25, -7.75, <br>
-7.25, -6.75, -6.25, -5.75, -5.25, -4.75, -4.25, -3.75,
-3.25, -2.75, <br>
-2.25, -1.75, -1.25, -0.75, -0.25, 0.25, 0.75, 1.25, 1.75,
2.25, 2.75, <br>
3.25, 3.75, 4.25, 4.75, 5.25, 5.75, 6.25, 6.75, 7.25, 7.75,
8.25, 8.75, <br>
9.25, 9.75 ;<br>
<br>
lon = 7.25, 7.75, 8.25, 8.75, 9.25, 9.75, 10.25, 10.75, 11.25,
11.75, 12.25, <br>
12.75, 13.25, 13.75, 14.25, 14.75, 15.25, 15.75, 16.25,
16.75, 17.25, <br>
17.75, 18.25, 18.75, 19.25, 19.75, 20.25, 20.75, 21.25,
21.75, 22.25, <br>
22.75, 23.25, 23.75, 24.25, 24.75, 25.25, 25.75, 26.25,
26.75, 27.25, <br>
27.75, 28.25, 28.75, 29.25, 29.75 ;<br>
<br>
time = 22020, 22385, 22750, 23115, 23481, 23846, 24211, 24576,
24942, 25307, <br>
25672, 26037, 26403, 26768, 27133, 27498, 27864, 28229,
28594, 28959, <br>
29325, 29690, 30055, 30420, 30786, 31151, 31516, 31881,
32247, 32612, <br>
32977, 33342, 33708, 34073, 34438, 34803, 35169, 35534,
35899, 36264, <br>
36630, 36995, 37360, 37725, 38091, 38456, 38821, 39186,
39552 ;<br>
}<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 12, 2015 at 9:22 AM, Martin
Addi <span dir="ltr"><<a href="mailto:addimartin32@gmail.com" target="_blank">addimartin32@gmail.com</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">Thanks for the advice.Below is the meta data
and have also attached the file.<br>
netcdf EOF {<br>
dimensions:<br>
evn = 2 ;<br>
lat = 44 ;<br>
lon = 46 ;<br>
time = 588 ;<br>
variables:<br>
double EOF(evn, lat, lon) ;<br>
EOF:eval_transpose = 2839081.44665023,
744764.87934487 ;<br>
EOF:eval = 8517244.33995068, 2234294.63803461 ;<br>
EOF:pcvar = 60.47348f, 15.86377f ;<br>
EOF:matrix = "covariance" ;<br>
EOF:method = "transpose" ;<br>
EOF:_FillValue = 9.96920996838687e+36 ;<br>
EOF:long_name = "EOF: Wgt: precipitation" ;<br>
int evn(evn) ;<br>
evn:long_name = "eigenvalue number" ;<br>
evn:units = ;<br>
double lat(lat) ;<br>
lat:units = "degrees_north" ;<br>
lat:long_name = "latitude" ;<br>
double lon(lon) ;<br>
lon:units = "degrees_east" ;<br>
lon:long_name = "longitude" ;<br>
double EOF_TS(evn, time) ;<br>
EOF_TS:ts_mean = 124.04653929397,
-4574.92777594637 ;<br>
EOF_TS:matrix = "covariance" ;<br>
EOF_TS:_FillValue = 9.96920996838687e+36 ;<br>
EOF_TS:long_name = "EOF: Amplitude: Wgt:
precipitation" ;<br>
double time(time) ;<br>
time:calendar = "gregorian" ;<br>
time:units = "days since 1900-1-1" ;<br>
time:long_name = "time" ;<br>
<br>
// global attributes:<br>
:title = "EOF of precipitation" ;<br>
data:<br>
<br>
evn = 1, 2 ;<br>
<br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 12, 2015 at 6:02
AM, Kishore Ragi <span dir="ltr"><<a href="mailto:kishoreragi@gmail.com" target="_blank"></a><a href="mailto:kishoreragi@gmail.com" target="_blank">kishoreragi@gmail.com</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">
<div>Nobody can help you if you don't give
metadata of your file so get metadata using
ncdump and paste it here in the forum. Maybe,
somebody can help you ....<br>
<br>
</div>
Regards,<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><font size="4"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)"><font size="2">Kishore
Ragi,</font><br>
<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">PhD
student in
climate
science,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">National
Institute of
Technology,
Rourkela,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">India-
769008<br>
</span></b></span></font></div>
<div dir="ltr"><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">Phone:
+91-8908671881<br>
<br>
<a href="http://www.researchgate.net/profile/Kishore_Ragi" target="_blank"></a><a href="http://www.researchgate.net/profile/Kishore_Ragi" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
<br>
<a href="https://in.linkedin.com/in/kishoreragi" target="_blank"></a><a href="https://in.linkedin.com/in/kishoreragi" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
<br>
<a href="http://kishoreragi.webnode.com/" target="_blank"></a><a href="http://kishoreragi.webnode.com/" target="_blank">http://kishoreragi.webnode.com/</a></span></b></span></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<br>
<div class="gmail_quote">On Wed, Aug 12,
2015 at 11:02 AM, Martin Addi <span dir="ltr"><<a href="mailto:addimartin32@gmail.com" target="_blank">addimartin32@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">ncdump can open the file
but i want to do my plots and further
analysis in GrADS.</p>
<div>
<div>
<div class="gmail_quote">On 12 Aug
2015 05:02, "Adv" <<a href="mailto:advita6@gmail.com" target="_blank"></a><a href="mailto:advita6@gmail.com" target="_blank">advita6@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Hi,<br>
</div>
Please try to open nc file
using the ncdump command.<br>
</div>
Goodluck<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On
Tue, Aug 11, 2015 at 10:34
PM, Martin Addi <span dir="ltr"><<a href="mailto:addimartin32@gmail.com" target="_blank"></a><a href="mailto:addimartin32@gmail.com" target="_blank">addimartin32@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hello,<br>
I used ncl to do an eof
analysis and wrote the
output to .nc file to
display in GrADS but
when i called the file
in GrADS i had this
message "gadsdf:SDF file
does not have any
non-coordinate
variables". How can i
solve this to
sucessfully open and
display my output in
GrADS.<br>
Thank you.</p>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>