[gradsusr] Problem with GDS 2.0
Jennifer Adams
jma at COLA.IGES.ORG
Wed Mar 23 14:06:26 EDT 2011
On Mar 23, 2011, at 1:58 PM, Zhong Liu wrote:
> Hi, all,
>
> I have a script that works well with GDS 1.2.9, but it doesn't work
> at all
> with GDS 2.0. I am using 1.9b4 to run the script. Do I need to use
> GrADS 2.0 to run
> this script?
Yes. GDS 2.0 needs GrADS 2.0 -- this is because of ensemble dimension
handling. Also please note this caveat from the GDS web page:
Important Note for GDS Administrators (June 2009): A recent release of
GrADS (version 2.0.a6) implemented some necessary changes related to
the handling of undefined values. These changes can affect the GDS. If
you are administering a GDS version 2.0 with GrADS 2.0.a6 or higher
behind it, then a 1-line patch is needed for the file $GDSHOME/scripts/
subset.gs. The patched version is here. Updating the subset.gs script
does not require a reinstallation or even a reload of your GDS.
--Jennifer
> It seems GDS 2.0 doesn't recognize the script.
>
> GDS 2.0:
> ga-> sdfopen http://discppstemp.gdaac.eosdis.nasa.gov/dods/
> _expr_{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}
> {-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
> Scanning self-describing file: http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_
> {3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}
> {-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
> nc_open failure:
> Unknown error 1002
> http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_{3B42RT}
> {sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}
> {-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010} does not
> exist or is not a netCDF file.
>
> Couldn't ingest SDF metadata.
> If this was an HDF-SDS file, try gradshdf.
>
> GDS 1.2.9:
>
> ga-> sdfopen http://disc2.nascom.nasa.gov/dods/_expr_{3B42RT}
> {sum(r*3,time=00Z01mar2010,time=21Z10mar20
> 10)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
> Scanning self-describing file: http://disc2.nascom.nasa.gov/dods/_expr_
> {3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}
> {-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
> SDF file http://disc2.nascom.nasa.gov/dods/_expr_{3B42RT}
> {sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}
> {-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010} is open
> as file 1
> LON set to -126.125 -62.375
> LAT set to 22.625 50.125
> LEV set to 0 0
> Time values set: 2010:3:1:0 2010:3:1:0
> ga-> set gxout shaded
> ga-> d result
> Contouring: 0 to 220 interval 20
>
> Any help will be appreciated.
>
> Thanks.
>
> -Zhong
>
> --
> Zhong Liu, Ph.D.
> Zhong.Liu-1 at nasa.gov
> George Mason University and
> NASA Goddard Earth Sciences Data and
> Information Services Center
> NASA/GSFC, Code 610.2
> Greenbelt. MD. 20771 U.S.A.
> (301) 614-5764 (voice)
> (301) 614-5268 (fax)
> http://disc.gsfc.nasa.gov
> http://disc2.nascom.nasa.gov/Giovanni/tovas/
> http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml
> http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml
>
--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110323/91aa7541/attachment-0003.html
More information about the gradsusr
mailing list