Dear Jeff and all,<div><br></div><div>My file has 7 variables in 4 dimensions. the ncdump -h file is as below</div><div><br></div><div>dimensions:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lat = 64 ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>lon = 128 ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lev = 15 ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>time = UNLIMITED ; // (366 currently)</div>
<div>variables:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float lat(lat) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:units = "degrees_north" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>float lon(lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:units = "degrees_east" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double lev(lev) ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>lev:axis = "Z" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lev:long_name = "pressure" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lev:standard_name = "pressure" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>lev:units = "hPa" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double time(time) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:calendar = "proleptic_gregorian" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>time:units = "days since 1996-01-01 00:00:00" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:base_date = 1996, 1, 1, 0 ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>float t(time, lev, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>t:long_name = "air_temperature" ;</div><div>
<span class="Apple-tab-span" style="white-space:pre">                </span>t:standard_name = "air_temperature" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>t:units = "K" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>t:code = 130 ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>t:grid_type = "gaussian" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float u(time, lev, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>u:long_name = "eastward_wind" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>u:standard_name = "eastward_wind" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>u:units = "m s-1" ;</div><div>
<span class="Apple-tab-span" style="white-space:pre">                </span>u:code = 131 ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>u:grid_type = "gaussian" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float v(time, lev, lat, lon) ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>v:long_name = "northward_wind" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>v:standard_name = "northward_wind" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>v:units = "m s-1" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>v:code = 132 ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>v:grid_type = "gaussian" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>float q(time, lev, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>q:long_name = "specific_humidity" ;</div><div>
<span class="Apple-tab-span" style="white-space:pre">                </span>q:standard_name = "specific_humidity" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>q:units = "1" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>q:code = 133 ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>q:grid_type = "gaussian" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float ps(time, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ps:long_name = "surface_air_pressure" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>ps:standard_name = "surface_air_pressure" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ps:code = 134 ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ps:grid_type = "gaussian" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>ps:units = "Pa" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float w(time, lev, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>w:long_name = "vertical_air_velocity" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>w:standard_name = "vertical_air_velocity" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>w:units = "Pa s-1" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>w:code = 135 ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>w:grid_type = "gaussian" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float z(time, lev, lat, lon) ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>z:long_name = "geopotential_height" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>z:standard_name = "geopotential_height" ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>z:units = "m" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>z:code = 156 ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>z:grid_type = "gaussian" ;</div>
<div><br></div><div>Could you please provide me a fortran code for the above variables as you have given clues to write the code? I am quite new to writing a fortran code. </div><div><br></div><div>Thank you,</div><div><br>
</div><div>Sincerely,</div><div><br></div><div>Kishore </div><div><br></div><div> <br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 4:53 AM, chinh ta huu <span dir="ltr"><<a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@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>Hi Babu</div><div> </div><div>+ You can consult to attached file</div><div>Good luck</div><div> </div><div>Chinh<br>
</div><div>Office: 84-43-824-4917</div><div>Email: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a></div>
<div>Website: <a href="http://vn.myblog.yahoo.com/chinhth2005/" target="_blank">http://vn.myblog.yahoo.com/chinhth2005/</a></div><div>Website: <a href="http://bestknowledge-chinhth.blogspot.com/" target="_blank">http://bestknowledge-chinhth.blogspot.com/</a></div>
<div>Website: <a href="http://anhcuoidep.vn" target="_blank">http://anhcuoidep.vn</a></div><br>
<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>