<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 Jim<div><br></div><div>Thank you for your advise. </div><div><br></div><div>When I tried to access your SeaWiFS data I am requested to put the Nama and Passward like</div><div>To view this page, you must log in to area “iprc_only” on apdrc.soest.hawaii.edu:80.</div><div>Do I need to register or is it allowed for certain people?</div><div><br></div><div>Best Regards,</div><div>Takaya Namba</div><div><br></div><div><br><div>> Date: Mon, 20 Jun 2011 09:57:48 -1000<br>> From: jimp@hawaii.edu<br>> To: gradsusr@gradsusr.org<br>> Subject: Re: [gradsusr] xdfopen via opendap (developed from re Re: sdfopen with opendap file)<br>> <br>> Takaya:<br>> <br>> I don't think that the template option works with data via OPeNDAP, only on<br>> local files. The data provider needs to aggregate the data on the server<br>> side<br>> of things. Otherwise, you will have to write your script to loop through<br>> all the<br>> files.<br>> <br>> You are also welcome to get the Pathfinder SST from our site,<br>> http://apdrc.soest.hawaii.edu.<br>> The exact URL is:<br>> <br>> http://apdrc.soest.hawaii.edu:80/dods/public_data/satellite_product/AVHRR/avhrr_mon<br>> <br>> for the monthly values (and these are aggregated).<br>> <br>> Jim<br>> <br>> Namba Takaya wrote:<br>> > Dear Sir<br>> ><br>> > I tried to read the HDF file of pathfinder monthly sst via opendap<br>> ><br>> > Fortunately I could read the sst data by xdfopen and data descriptor<br>> > file(bsst.ctl) as bellow,<br>> > Then I tried to develop using % of DSET in the data descriptor file.<br>> > Then I have a problem explained below and could you tell me how to<br>> > solve the problem?<br>> ><br>> > Best Regards, Takaya Namba<br>> ><br>> > bsst.ctl (data descriptor file)<br>> ><br>> > DSET<br>> > http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b
.hdf<br>> > options yrev<br>> > ***DSET<br>> > http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf<br>> > TITLE This is a sample<br>> > UNDEF 99999.0<br>> > YDEF lat 4096 LINEAR -90 0.043945<br>> > XDEF lon 8192 LINEAR -180 0.043945<br>> > ***TDEF time 1 linear 00:00z1! 5JAN1985 1mo<br>> > VARS 1:<br>> > bsst=>bsst 1 99 surface temperature<br>> > ENDVARS<br>> ><br>> ><br>> > However, I would like to use<br>> > DSET<br>> > http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf<br>> > instead of<br>> > DSET<br>> > http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf.<br>> > Because I would like to do all the thirty years from jan 1988 to 2009.<br>> ><br>> > I added the line in the bsst.ctl<br>> > TDEF time 1 linear 00:00z15JAN1985 1mo<br>> > and then<br>> > grads -cl batch-opendap.gs.<br>> ><br>> > However, the error comes like below,<br>> ><br>> > Error: nc_open failed to open file<br>> > http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/%y4/%y4%m2.s04m1pfv50-bsst-16b.hdf<br>> > NetCDF: DAP server error<br>> > gadsdf: Couldn't i! ngest SDF metadata.<br>> > SDF Descriptor file bsst.ctl was not suc cessfully opened & parsed.<br>> ><br>> > I understand that I could not replace /%y4/%y4%m2 with /1985/198501 by<br>> > the data descriptor file.<br>> > Could you tell me how can I replace by the proper descriptor file as I<br>> > expected?<br>> ><br>> > (batch-opendap.gs grads script file)<br>> > 'set gxout shaded'<br>> > 'xdfopen bsst.ctl'<br>> > 'q file'<br>> > say result<br>> > 'set lat 10 50'<br>> > 'set lon 120 170'<br>> > 'set T 1'<br>> > 'set Z 1'<br>> > 'd bsst'<br>>
; > 'cbar'<br>> > 'quit'<br>> ><br>> ><br>> > dncdump -h<br>> > "http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf"<br>> ><br>> > is as below,<br>> ><br>> > netcdf 198501.s04m1pfv50-bsst-16b { // format variant: 64bit<br>> > dimensions:<br>> > lat = 4096 ;<br>> > &n! bsp; lon = 8192 ;<br>> > variables:<br>> > short bsst(lat, lon) ;<br>> > bsst:dsp_PixelType = 1b ;<br>> > bsst:dsp_PixelSize = 2b ;<br>> > bsst:dsp_Flag = 0s ;<br>> > bsst:dsp_nBits = 16s ;<br>> > bsst:dsp_LineSize = 0 ;<br>> > bsst:dsp_cal_name = "Temperature" ;<br>> > bsst:units = "Temp" ;<br>> > bsst:dsp_cal_eqnNumber = 2s ;<br>> > bsst:dsp_cal_CoeffsLeng! th = 8s ;<br>> > &n bsp; bsst:dsp_cal_coeffs = 0.075f, -3.f ;<br>> > bsst:scale_factor = 0.075f ;<br>> > bsst:add_off = -3.f ;<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div>                                            </div></body>
</html>