<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:メイリオ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Dear Sir&nbsp;<div><br></div><div>I tried to read the HDF file of &nbsp;pathfinder monthly sst via opendap&nbsp;</div><div><br></div><div>Fortunately I could read the sst data by xdfopen and data descriptor file(bsst.ctl) as bellow,</div><div>Then I tried to develop using % of DSET in the data descriptor file.</div><div>Then I have a problem explained below and could you tell me how to solve the problem?</div><div><br></div><div>Best Regards, Takaya Namba</div><div><br></div><div>bsst.ctl (data descriptor file)</div><div><br></div><div><div>DSET &nbsp;http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf</div><div>options yrev</div><div>***DSET &nbsp;http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf</div><div>TITLE This is a sample</div><div>UNDEF 99999.0</div><div>YDEF lat 4096 LINEAR -90 0.043945</div><div>XDEF lon 8192 LINEAR -180 0.043945</div><div>***TDEF time 1 linear 00:00z15JAN1985 1mo</div><div>VARS 1:</div><div>bsst=&gt;bsst 1 99 surface temperature</div><div>ENDVARS</div><div><br></div><div><br></div><div>However, I would like to use&nbsp;</div><div>DSET &nbsp;http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf</div><div>instead of&nbsp;</div><div>DSET &nbsp;http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf.</div><div>Because I would like to do all the thirty years from jan 1988 to 2009.</div><div><br></div><div>I added the line in the bsst.ctl</div><div>TDEF time 1 linear 00:00z15JAN1985 1mo&nbsp;</div><div>and then&nbsp;</div><div>grads -cl batch-opendap.gs.</div><div><br></div><div>However, the error comes like below,</div><div><div><br></div><div>Error: nc_open failed to open file http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf</div><div>NetCDF: DAP server error</div><div>gadsdf: Couldn't ingest SDF metadata.</div><div>SDF Descriptor file bsst.ctl was not suc
cessfully opened &amp; parsed.</div></div><div><br></div><div>I understand that I could not replace&nbsp;/%y4/%y4%m2 &nbsp;with /1985/198501 by the data descriptor file.</div><div>Could you tell me how can I replace &nbsp;by the proper descriptor file as I expected?</div><div><br></div><div>(batch-opendap.gs &nbsp;grads script file)</div><div>'set gxout shaded'</div><div><div>'xdfopen bsst.ctl'</div><div>'q file'</div><div>say result</div><div>'set lat 10 50'</div><div>'set lon 120 170'</div><div>'set T 1'</div><div>'set Z 1'</div><div><div>'d bsst'</div><div>'cbar'</div><div>'quit'</div></div><div><br></div><div><div><br></div><div><div>dncdump -h "http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf"&nbsp;</div><div>is as below,</div><div><br></div></div><div>netcdf 198501.s04m1pfv50-bsst-16b { // format variant: 64bit&nbsp;</div><div>dimensions:</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;lat = 4096 ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;lon = 8192 ;</div><div>variables:</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;short bsst(lat, lon) ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_PixelType = 1b ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_PixelSize = 2b ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_Flag = 0s ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_nBits = 16s ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_LineSize = 0 ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_cal_name = "Temperature" ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:units = "Temp" ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_cal_eqnNumber = 2s ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:dsp_cal_CoeffsLength = 8s ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n
bsp; &nbsp;bsst:dsp_cal_coeffs = 0.075f, -3.f ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:scale_factor = 0.075f ;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bsst:add_off = -3.f ;</div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>                                               </div></body>
</html>