[gradsusr] sdfopen with opendap file

Arlindo da Silva dasilva at alum.mit.edu
Fri Jun 17 15:52:15 EDT 2011


2011/6/17 Namba Takaya <takayanamba at hotmail.com>

>  Dear Sir
>
> I use rads 2.0.a9 under mac os X 10.6.3.
>
> I tried to open the file of noaa opendap server as follows,
>
> sdfopen
> http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf
>
> However, I can not succeed to open it and the error comes like
>
> Error: nc_open failed to open file
> http://data.nodc.noaa.gov/opendap/pathfinder/Version6.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf
> NetCDF: DAP server error
>
> Could you tell me how to solve this problem?
>
> Best Regards,
> Takaya Namba**
>
>
> The result of dncdump is
>
> bash-3.2# dncdump -h "
> http://data.nodc.noaa.gov/opendap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf"
> |less
>
> netcdf 198501.s04m1pfv50-bsst-16b { // format variant: 64bit
> dimensions:
>         lat! = 4096 ;
>         lon = 8192 ;
> variables:
>         short bsst(lat, lon) ;
>                 bsst:dsp_PixelType = 1b ;
>                 bsst:dsp_PixelSize = 2b ;
>                 bsst:dsp_Flag = 0s ;
>                 bsst:dsp_nBits = 16s ;**
> &nb sp;               bsst:dsp_LineSize = 0 ;
>                 bsst:dsp_cal_name = "Temperature" ;
>                 bsst:units = "Temp" ;
>                 bsst:dsp_cal_eqnNumber = 2s ;
>                 bsst:dsp_cal_CoeffsLength = 8s ;
>                 bsst:dsp_cal_coeffs = 0.075f, -3.f ;
> !                 bsst:scale_factor = 0.075f ;
>                 bsst:add_off = -3.f ;
>
>
>
>
This is not COARDS compliant: coordinate variables are missing. Try creating
a DDF or ctl for it. Read this section of the User's Guide:

     http://grads.iges.org/grads/gadoc/SDFdescriptorfile.html


     Arlindo



>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110617/158ff070/attachment-0003.html 


More information about the gradsusr mailing list