<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, Jennifer,<br>
<br>
Thank you for the quick reply.<br>
<br>
I just tested it using GrADS 2.0 and it is still not working right,<br>
<br>
ga-> reinit<br>
No hardcopy metafile open<br>
All files closed; all defined objects released;<br>
All GrADS attributes have been reinitialized<br>
<2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
<br>
Scanning self-describing file:
<a class="moz-txt-link-freetext" href="http://localhost/dods/_expr_">http://localhost/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
syntax error<br>
context: Error { code = 0; message = "Oops! The server encountered
an unexpected error while serving the this request.Please report
this error at <a class="moz-txt-link-freetext" href="http://www.iges.org/grads/gdsand">http://www.iges.org/grads/gdsand</a> 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)";};<br>
Error: nc_open failed to open file
<a class="moz-txt-link-freetext" href="http://localhost/dods/_expr_">http://localhost/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
NetCDF: DAP server error<br>
gadsdf: Couldn't ingest SDF metadata.<br>
<br>
The full URL case:<br>
<br>
ga-> reinit<br>
No hardcopy metafile open<br>
All files closed; all defined objects released;<br>
All GrADS attributes have been reinitialized<br>
<1Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}
<br>
Scanning self-describing file:
<a class="moz-txt-link-freetext" href="http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_">http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
Error: nc_open failed to open file
<a class="moz-txt-link-freetext" href="http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_">http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
NetCDF: I/O failure<br>
gadsdf: Couldn't ingest SDF metadata.<br>
<br>
<br>
Thanks again.<br>
<br>
-Zhong<br>
<br>
On 3/23/2011 2:06 PM, Jennifer Adams wrote:
<blockquote
cite="mid:E0D175BE-C888-43DF-A67B-8F419D8347DE@COLA.IGES.ORG"
type="cite"><br>
<div>
<div>On Mar 23, 2011, at 1:58 PM, Zhong Liu wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hi, all,<br>
<br>
I have a script that works well with GDS 1.2.9, but it
doesn't work at all<br>
with GDS 2.0. I am using 1.9b4 to run the script. Do I need
to use GrADS 2.0 to run<br>
this script? </div>
</blockquote>
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: </div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family:
Arial,Helvetica,sans-serif; font-size: 13px;"><span
class="style1" style="color: rgb(153, 0, 0);"><strong><em>Important
Note for GDS Administrators (June 2009)</em></strong>:</span> 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 <a
moz-do-not-send="true"
href="http://iges.org/grads/gds/patched_subset.gs">here</a>.
Updating the subset.gs script does not require a
reinstallation or even a reload of your GDS.</span></div>
<div><span class="Apple-style-span" style="font-family:
Arial,Helvetica,sans-serif; font-size: 13px;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-family:
Arial,Helvetica,sans-serif; font-size: 13px;"><span
class="Apple-style-span" style="font-family: Helvetica;
font-size: medium;">--Jennifer</span></span></div>
<div><br>
<blockquote type="cite">
<div>It seems GDS 2.0 doesn't recognize the script.<br>
<br>
GDS 2.0:<br>
ga-> sdfopen <a moz-do-not-send="true"
href="http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_">http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
Scanning self-describing file: <a moz-do-not-send="true"
href="http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_">http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
nc_open failure:<br>
Unknown error 1002<br>
<a moz-do-not-send="true"
href="http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_">http://discppstemp.gdaac.eosdis.nasa.gov/dods/_expr_</a>{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.<br>
<br>
Couldn't ingest SDF metadata.<br>
If this was an HDF-SDS file, try gradshdf.<br>
<br>
GDS 1.2.9:<br>
<br>
ga-> sdfopen <a moz-do-not-send="true"
href="http://disc2.nascom.nasa.gov/dods/_expr_">http://disc2.nascom.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar20<br>
10)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
Scanning self-describing file: <a moz-do-not-send="true"
href="http://disc2.nascom.nasa.gov/dods/_expr_">http://disc2.nascom.nasa.gov/dods/_expr_</a>{3B42RT}{sum(r*3,time=00Z01mar2010,time=21Z10mar2010)}{-126.00:-62.38,22.70:50.00,0:0,00Z01mar2010:00Z01mar2010}<br>
SDF file <a moz-do-not-send="true"
href="http://disc2.nascom.nasa.gov/dods/_expr_">http://disc2.nascom.nasa.gov/dods/_expr_</a>{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<br>
LON set to -126.125 -62.375<br>
LAT set to 22.625 50.125<br>
LEV set to 0 0<br>
Time values set: 2010:3:1:0 2010:3:1:0<br>
ga-> set gxout shaded<br>
ga-> d result<br>
Contouring: 0 to 220 interval 20<br>
<br>
Any help will be appreciated.<br>
<br>
Thanks.<br>
<br>
-Zhong<br>
<br>
-- <br>
Zhong Liu, Ph.D.<br>
<a moz-do-not-send="true" href="mailto:Zhong.Liu-1@nasa.gov">Zhong.Liu-1@nasa.gov</a><br>
George Mason University and<br>
NASA Goddard Earth Sciences Data and<br>
Information Services Center<br>
NASA/GSFC, Code 610.2<br>
Greenbelt. MD. 20771 U.S.A.<br>
(301) 614-5764 (voice)<br>
(301) 614-5268 (fax)<br>
<a class="moz-txt-link-freetext" href="http://disc.gsfc.nasa.gov">http://disc.gsfc.nasa.gov</a><br>
<a class="moz-txt-link-freetext" href="http://disc2.nascom.nasa.gov/Giovanni/tovas/">http://disc2.nascom.nasa.gov/Giovanni/tovas/</a><br>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml">http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml</a><br>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml">http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml</a><br>
<br>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"> <span class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color:
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; text-indent: 0px;
text-transform: none; orphans: 2; white-space: normal; widows:
2; word-spacing: 0px;">
<div style="word-wrap: break-word;"><span
class="Apple-style-span" style="border-collapse: separate;
border-spacing: 0px; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; text-indent: 0px;
text-transform: none; orphans: 2; white-space: normal;
widows: 2; word-spacing: 0px;"><span
class="Apple-style-span" style="border-collapse:
separate; border-spacing: 0px; color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
text-indent: 0px; text-transform: none; orphans: 2;
white-space: normal; widows: 2; word-spacing: 0px;">
<div>--</div>
<div>Jennifer M. Adams</div>
<div>IGES/COLA</div>
<div>4041 Powder Mill Road, Suite 302</div>
<div>Calverton, MD 20705</div>
<div><a moz-do-not-send="true"
href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div>
<div><br class="khtml-block-placeholder">
</div>
<br class="Apple-interchange-newline">
</span></span></div>
</span> </div>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Zhong Liu, Ph.D.
<a class="moz-txt-link-abbreviated" href="mailto:Zhong.Liu-1@nasa.gov">Zhong.Liu-1@nasa.gov</a>
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)
<a class="moz-txt-link-freetext" href="http://disc.gsfc.nasa.gov">http://disc.gsfc.nasa.gov</a>
<a class="moz-txt-link-freetext" href="http://disc2.nascom.nasa.gov/Giovanni/tovas/">http://disc2.nascom.nasa.gov/Giovanni/tovas/</a>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml">http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml</a>
<a class="moz-txt-link-freetext" href="http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml">http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml</a></pre>
</body>
</html>