[gradsusr] Problem with GDS 2.0

Zhong Liu Zhong.Liu-1 at nasa.gov
Wed Mar 23 15:03:40 EDT 2011


Hi, Jennifer,

Thank you for the quick reply.

I just tested it using GrADS 2.0 and it is still not working right,

ga-> reinit
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
<2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010} 

Scanning self-describing file:  
http://localhost/dods/_expr_{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
syntax error
context: Error { code = 0; message = "Oops! The server encountered an 
unexpected error while serving the this request.Please report this error 
at http://www.iges.org/grads/gdsand include the following debug 
information:java.lang.NumberFormatException: For input string: "255.4^" 
at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) 
at java.lang.Integer.parseInt(Integer.java:458) at 
java.lang.Integer.valueOf(Integer.java:554) at 
org.iges.grads.server.GradsGridExtracter.load(GradsGridExtracter.java:215) 
at org.iges.grads.server.GradsExtracter.parse(GradsExtracter.java:80) at 
org.iges.grads.server.GradsDODSModule.extract(GradsDODSModule.java:420) 
at 
org.iges.grads.server.GradsDODSModule.loadDDS(GradsDODSModule.java:355) 
at 
org.iges.grads.server.GradsDODSModule.writeDDS(GradsDODSModule.java:159) 
at org.iges.grads.server.GradsTool.writeDDS(GradsTool.java:168) at 
org.iges.anagram.service.DDSService.handle(DDSService.java:66) at 
org.iges.anagram.filter.DispatchFilter.doFilter(DispatchFilter.java:60) 
at org.iges.anagram.filter.Filter.handle(Filter.java:83) at 
org.iges.anagram.filter.Filter.handle(Filter.java:87) at 
org.iges.anagram.filter.Filter.handle(Filter.java:87) at 
org.iges.anagram.filter.AnalysisFilter.doFilter(AnalysisFilter.java:67) 
at org.iges.anagram.filter.Filter.handle(Filter.java:83) at 
org.iges.anagram.AnagramServlet.doGet(AnagramServlet.java:212) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) 
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) 
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) 
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) 
at java.lang.Thread.run(Thread.java:662)";};
Error: nc_open failed to open file 
http://localhost/dods/_expr_{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
NetCDF: DAP server error
gadsdf: Couldn't ingest SDF metadata.

The full URL case:

ga-> reinit
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
<1Z10mar2010)}{-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}
Error: nc_open failed to open 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}
NetCDF: I/O failure
gadsdf: Couldn't ingest SDF metadata.


Thanks again.

-Zhong

On 3/23/2011 2:06 PM, Jennifer Adams wrote:
>
> 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 
> <http://iges.org/grads/gds/patched_subset.gs>. 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 <mailto: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 <mailto:jma at cola.iges.org>
>
>
>


-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110323/612b1e38/attachment-0003.html 


More information about the gradsusr mailing list