<br><br><div class="gmail_quote">2011/6/17 Namba Takaya <span dir="ltr">&lt;<a href="mailto:takayanamba@hotmail.com">takayanamba@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div><div dir="ltr">
<span style="font-size:12pt">Dear Sir</span><div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">I use rads 2.0.a9 under mac os X 10.6.3.</span></div><div><span style="font-size:12pt"> </span></div>
<div><span style="font-size:12pt">I tried to open the file of noaa opendap server as follows,</span></div><div><span style="font-size:12pt"><br></span></div><div><div><span style="font-size:12pt">sdfopen <a href="http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf" target="_blank">http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf</a></span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">However, I can not succeed to open it and the error comes like</span></div><div><span style="font-size:12pt"><br></span></div><div><div>
<span style="font-size:12pt">Error: nc_open failed to open file <a href="http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf" target="_blank">http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf</a></span></div>
<div><span style="font-size:12pt">NetCDF: DAP server error</span></div><div><span style="font-size:12pt"><br></span></div><div><font size="4"><span style="font-size:16px">Could you tell me how to solve this problem?</span></font></div>
<div><font size="4"><span style="font-size:16px"><br></span></font></div><div><font size="4"><span style="font-size:16px">Best Regards,</span></font></div><div><font size="4"><span style="font-size:16px">Takaya Namba<u></u></span></font></div>
<div><font size="4"><span style="font-size:16px"><br></span></font></div><div><font size="4"><span style="font-size:16px"><br></span></font></div><div><span style="font-size:12pt">The result of dncdump is</span></div><div>
<span style="font-size:12pt"><br></span></div><div><div><span style="font-size:12pt">bash-3.2# dncdump -h &quot;<a href="http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf" target="_blank">http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf</a>&quot; |less</span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">netcdf 198501.s04m1pfv50-bsst-16b { // format variant: 64bit </span></div><div><span style="font-size:12pt">dimensions:</span></div><div>
<span style="font-size:12pt">        lat!
  = 4096 ;</span></div><div><span style="font-size:12pt">        lon = 8192 ;</span></div><div><span style="font-size:12pt">variables:</span></div><div><span style="font-size:12pt">        short bsst(lat, lon) ;</span></div>
<div><span style="font-size:12pt">                bsst:dsp_PixelType = 1b ;</span></div><div><span style="font-size:12pt">                bsst:dsp_PixelSize = 2b ;</span></div><div><span style="font-size:12pt">                bsst:dsp_Flag = 0s ;</span></div>
<div><span style="font-size:12pt">                bsst:dsp_nBits = 16s ;</span><u></u><div><span style="font-size:12pt">&amp;nb

sp;               bsst:dsp_LineSize = 0 ;</span></div><div><span style="font-size:12pt">                bsst:dsp_cal_name = &quot;Temperature&quot; ;</span></div><div><span style="font-size:12pt">                bsst:units = &quot;Temp&quot; ;</span></div>
<div><span style="font-size:12pt">                bsst:dsp_cal_eqnNumber = 2s ;</span></div><div><span style="font-size:12pt">                bsst:dsp_cal_CoeffsLength = 8s ;</span></div><div><span style="font-size:12pt">                bsst:dsp_cal_coeffs = 0.075f, -3.f ;</span></div>
<div><span style="font-size:12pt">!
                 bsst:scale_factor = 0.075f ;</span></div><div><span style="font-size:12pt">                bsst:add_off = -3.f ;</span></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div>
</blockquote><div><br></div><div>This is not COARDS compliant: coordinate variables are missing. Try creating a DDF or ctl for it. Read this section of the User&#39;s Guide:</div><div><br></div><div>     <a href="http://grads.iges.org/grads/gadoc/SDFdescriptorfile.html">http://grads.iges.org/grads/gadoc/SDFdescriptorfile.html</a></div>
<div><br></div><div><br></div><div>     Arlindo</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"><div><div><div><div>
<div></div><div><br></div></div><div><br></div></div></div>                                               </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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>