[gradsusr] GrADS help with NOMADS server

Jeff Chabot jsc219 at gmail.com
Thu Jun 3 10:45:31 EDT 2021


Hi Wesley,

I have emailed the nomads help desk.  Once I hear back from them, I will
let you know.

Thanks,

Jeff

On Thu, Jun 3, 2021 at 8:10 AM Wesley Ebisuzaki - NOAA Federal <
wesley.ebisuzaki at noaa.gov> wrote:

> Jeff,
>
> I get the same error when trying
>
>     sdfopen
> https://nomads.ncep.noaa.gov/dods/gfs_0p25/gfs20210603/gfs_0p25_00z
>
> from grads.  When I open
>
>    https://nomads.ncep.noaa.gov/dods/gfs_0p25/gfs20210603/gfs_0p25_00z
>
> from the browser,  I get
>
> GrADS Data Server - info for /gfs_0p25/gfs20210603/gfs_0p25_00z : dds
> <http://nomads.ncep.noaa.gov:80/dods/gfs_0p25/gfs20210603/gfs_0p25_00z.dds>
>   das
> <http://nomads.ncep.noaa.gov:80/dods/gfs_0p25/gfs20210603/gfs_0p25_00z.das>
> ------------------------------
>
> *OPeNDAP/DODS Data URL:*
> http://nomads.ncep.noaa.gov:80/dods/gfs_0p25/gfs20210603/gfs_0p25_00z
> *Description:*
> GFS 0.25 deg starting from 00Z03jun2021, downloaded Jun 03 04:38 UTC
> *Documentation:* (none provided)
> *Longitude:*
> 0.00000000000°E to 359.75000000000°E
>  (1440 points, avg. res. 0.25°)
> *Latitude:*
> -90.00000000000°N to 90.00000000000°N
>  (721 points, avg. res. 0.25°)
> *Altitude:*
> 1000.00000000000 to 0.01000000000
>  (41 points, avg. res. 25.0)
> *Time:*
> 00Z03JUN2021 to 00Z13JUN2021
>  (81 points, avg. res. 0.125 days)
> *Variables:*
> *(total of 215)*
> ...
>
> This shows that (1) the file is available, and (2) I am not being blocked
> by the server.
> The EMC person who would look at this problem has retired, so you should
> ask
> the nomads help desk.
>
>   https://nomads.ncep.noaa.gov/txt_descriptions/Help_Desk_doc.shtml
>
> Wesley
>
>
> On Thu, Jun 3, 2021 at 4:09 AM M.Mahakur <mmahakur at tropmet.res.in> wrote:
>
>> Probably file(s) not available.
>> Error.."nc_open failed to open file ...."!
>>
>> ------------------------------
>> *From: *"Jeff Chabot" <jsc219 at gmail.com>
>> *To: *"GrADS Users Forum" <gradsusr at gradsusr.org>
>> *Sent: *Thursday, June 3, 2021 11:56:52 AM
>> *Subject: *[gradsusr] GrADS help with NOMADS server
>>
>> I am running into two GrADS issues using sdfopen and NOMADS from NCEP.
>>
>> Issue 1:
>>
>> I am using GrADS to run some models for my website and just recently I
>> have been running into this error:
>>
>> syntax error, unexpected WORD_STRING, expecting WORD_WORD
>> context: Error { code = 0; message =
>> "/gfs_0p25/gfs20210603/gfs_0p25_00z is not an available dataset"^;};
>>
>> I am using the following sdfopen command:
>>
>> sdfopen
>> https://nomads.ncep.noaa.gov/dods/gfs_0p25/gfs20210603/gfs_0p25_00z
>>
>> I have been using that format for years, but just the past few days I
>> have been receiving these errors.
>>
>> Issue 2:
>>
>> I believe that I am hitting the 120 connections limit despite adding
>> code to adjust for this limit:
>>
>> I am now getting this error after defining one variable:
>>
>> define precip = apcpsfc/25.4
>>
>> gancgrid error: nc_get_vara_double failed; NetCDF: Malformed or
>> inaccessible DAP DATADDS
>> Data Request Error:  Error for variable 'apcpsfc'
>>   Error ocurred at column 1
>> DEFINE error:  Invalid expression.
>> gancgrid error: nc_get_vara_double failed; NetCDF: Malformed or
>> inaccessible DAP DATADDS
>> Data Request Error:  Error for variable 'apcpsfc'
>>   Error ocurred at column 1
>> DEFINE error:  Invalid expression.
>>
>> I added a 60 second sleep command between variables to account for
>> your April 20th changes and things worked for a while, and now the
>> above error has returned.
>>
>> GrADS code added:
>> say 'Sleep for 60 secs to Prevent Hitting 120 connection limit'
>> '!sleep 60'
>> say 'Continue Processing'
>>
>> Any ideas or suggestions on these issues?  I had things working after
>> the April 20 NOMADS change, but since June, I have had these errors
>> and my code has stopped working.
>>
>> P.S. Does anyone have sample code to check to see if sdfopen or define
>> commands will work and if not tell GrADS to quit so it doesn't waste
>> time creating blank maps?
>>
>> Thanks again,
>>
>>
>> Jeff
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20210603/87dc8354/attachment-0001.html>


More information about the gradsusr mailing list