[gradsusr] Problem accessing NCEP (NOMADS) GrADS-DODS server (from a web server)

Joe Moore joe at wxjoe.com
Thu Sep 15 22:33:11 EDT 2011


Steve,

The identical script was running fine on my local machine. However, I
discovered that port 9090 is blocked at my web host. (Bluehost - it's a
cheap host... when I initially signed up for the hosting I didn't even think
I'd be running GrADS on it!) Turns out I can unblock a port IF I lease a
dedicated IP address (they only charge $2.50/month, so I'm OK with that for
now.)

I know this probably doesn't apply to most government, academic and business
users of GrADS, but it's worth a shot: Are there any other users running
GrADS on an affordable web host? My budget is little (since this is purely a
personal project) but I'd be interested to see if anyone recommends any
other hosting companies.

Thanks,
Joe

On Wed, Sep 14, 2011 at 9:10 AM, Stephen McMillan <smcmillan at planalytics.com
> wrote:

> Joe,
>
> I realize this is 12 hours later, but I just now successfully opened the
> same dataset.  Here's the command output:
>
> Grid Analysis and Display System (GrADS) Version 2.0.a7.oga.3
> Copyright (c) 1988-2008 by Brian Doty and the
> Institute for Global Environment and Society (IGES)
> GrADS comes with ABSOLUTELY NO WARRANTY
> See file COPYRIGHT for more information
>
> Config: v2.0.a7.oga.3 little-endian readline printim grib2 netcdf hdf4-sds
> hdf5
> opendap-grids,stn athena geotiff
> Issue 'q config' command for more information.
> Loading User Defined Extensions table </bin/gex/udxt> ... ok.
> GX Package Initialization: Size = 11 8.5
> <ncep.noaa.gov:9090/dods/rtma2p5/rtma2p520110913/rtma2p5_anl_23z
> Scanning self-describing file:
> http://nomads.ncep.noaa.gov:9090/dods/rtma2p5/rt
> ma2p520110913/rtma2p5_anl_23z
> SDF file
> http://nomads.ncep.noaa.gov:9090/dods/rtma2p5/rtma2p520110913/rtma2p5_a
>  nl_23z is open as file 1
> LON set to -130.103 -60.9033
> LAT set to 20.192 52.7926
> LEV set to 0 0
> Time values set: 2011:9:13:23 2011:9:13:23
> E set to 1 1
> ____________________
>
> As you can see above, I'm using a slightly earlier opengrads version.  I
> plotted one of the variables--no problem.  However, when I tried to open a
> file that I know would not exist (e.g., today's 23Z data), I got a response
> somewhat similar to yours.
>
> Stephen McMillan
>
>
> On Tue, Sep 13, 2011 at 9:20 PM, Joe Moore <joe at wxjoe.com> wrote:
>
>> All,
>>
>> I'm having a problem using the GrADS Data Server (GrADS-DODS) from NCEP
>> (NOMADS). I am using the sdfopen command to access the dataset (RTMA 2.5km).
>> When I run the script locally on my Ubuntu machine, everything works great!
>> However, when I transfered the script to my web host I get an error.
>>
>> Here's the line from my script:
>> 'sdfopen
>> http://nomads.ncep.noaa.gov:9090/dods/rtma2p5/rtma2p5'dapdate'/rtma2p5_anl_'currhr'z
>> '
>> (where dapdate=YYYYMMDD and currhr=HH - yes, I've double checked to make
>> sure the data exists.)
>>
>> Here's the output:
>> ...
>> Running in Batch mode
>> No hardcopy metafile open
>> All files closed; all defined objects released;
>> All GrADS attributes have been reinitialized
>> Error: nc_open failed to open file
>> http://nomads.ncep.noaa.gov:9090/dods/rtma2p5/rtma2p520110913/rtma2p5_anl_23z
>> NetCDF: I/O failure
>> gadsdf: Couldn't ingest SDF metadata.
>> ...
>>
>> I've tried searching the web and this (excellent) mailing list assistance
>> but I can't seem to figure out what's going wrong. I suspect it may have
>> something to do with my web host. (I use Bluehost- I know they're a somewhat
>> subpar host, but I'm just a student experimenting with different things!)
>>
>> Here's what uname -a gives on my web server:
>> Linux box566.bluehost.com 2.6.32-46.1.BHsmp #1 SMP Tue Sep 6 12:18:02 MDT
>> 2011 x86_64 x86_64 x86_64 GNU/Linux
>>
>> If there's other tests I can run to probe the issue, let me know. Also, is
>> this the best way to use the GrADS-DODS server? Should I just download the
>> grib2 locally instead?
>>
>> I was planning to download the grib2 locally, but when I discovered the
>> GrADS-DODS server I found out that this might not be necessary. I plan to
>> run this script hourly, so please advise as to which method would be best.
>>
>> Thanks a lot!
>>
>> -Joe Moore
>>
>> The script in question:
>> http://pastebin.com/MDQ9vk3y
>>
>> My GrADS config on my web server:
>> Config: v2.0.a9.oga.1 little-endian readline printim grib2 netcdf hdf4-sds
>> hdf5 opendap-grids,stn athena geotiff shapefile
>> Grid Analysis and Display System (GrADS) Version 2.0.a9.oga.1
>> Copyright (c) 1988-2010 by Brian Doty and the
>> Institute for Global Environment and Society (IGES)
>> This program is distributed WITHOUT ANY WARRANTY
>> See file COPYRIGHT for more information.
>>
>> Built Mon Oct  4 14:16:26 EDT 2010 for i686-pc-linux-gnu
>>
>> This version of GrADS has been configured with the following options:
>>   o Built on a LITTLE ENDIAN machine
>>   o Athena Widget GUI ENABLED
>>   o Command line editing ENABLED
>>       http://tiswww.case.edu/php/chet/readline/rltop.html
>>   o printim command for image output ENABLED
>>       http://www.zlib.net
>>       http://www.libpng.org/pub/png/libpng.html
>>       http://www.libgd.org/Main_Page
>>   o GRIB2 interface ENABLED
>>       http://www.ijg.org
>>       http://www.ece.uvic.ca/~mdadams/jasper
>>       http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
>>       g2clib-1.1.8
>>   o NetCDF interface ENABLED
>>       http://www.unidata.ucar.edu/software/netcdf
>>       netcdf 4.1.1 of Jul 10 2010 23:36:25 $
>>   o OPeNDAP gridded data interface ENABLED
>>   o OPeNDAP station data interface ENABLED
>>       http://iges.org/grads/gadoc/supplibs.html
>>       libgadap 2.0.oga.1
>>   o HDF4 and HDF5 interfaces ENABLED
>>       http://hdfgroup.org
>>       HDF 4.2r3
>>       HDF5 1.8.4
>>   o GeoTIFF and KML/TIFF output ENABLED
>>       http://www.libtiff.org
>>       http://geotiff.osgeo.org
>>   o KML contour output ENABLED
>>   o Shapefile interface ENABLED
>>       http://shapelib.maptools.org
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
> ***************************************************
> The information contained in this e-mail message
> is intended only for the use of the recipient(s)
> named above and may contain information that is
> privileged, confidential, and/or proprietary.
> If you are not the intended recipient, you may not
> review, copy or distribute this message. If you have
> received this communication in error, please notify
> the sender immediately by e-mail, and delete the original message.
> ***************************************************
>
>
>
> _______________________________________________
> 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/20110915/6024c099/attachment-0003.html 


More information about the gradsusr mailing list