[gradsusr] gradsusr Digest, Vol 42, Issue 30
Zilore Mumba
zmumba at gmail.com
Tue Aug 27 02:37:02 EDT 2013
Hello Gradsusers,
I hope someone can find time to explain t me a few things on panel plots.
In the panles_demo.gs (snippet below),I donot understand the following:
function main(args):
1. for four plots on a page I loop through p=1 to p=4, why do we display t
( i want to display what I have in my file;
2. what is the global variable defined by _vpg.p?
3. How do I put a title corresponding to the graphic validity time, on each
plot?
Help will be appreciated.
Zilore Mumba
rc = gsfallow("on")
if (args='')
say 'Two arguments are required: the # of rows and # of columns'
return
else
nrows = subwrd(args,1)
ncols = subwrd(args,2)
endif
'use wrfout_d01_2013-07-27_00.ctl'
'reset'
panels(args)
p = 1
ptot = nrows * ncols
'set mproj scaled'
* Loop through each panel and draw a plot
while (p <= ptot)
_vpg.p
'set t 'p
'set grads off'
'd t'
p = p + 1
endwhile
On Mon, Aug 26, 2013 at 9:57 PM, <gradsusr-request at gradsusr.org> wrote:
> Send gradsusr mailing list submissions to
> gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
> gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
> gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
> 1. Saving result on a text file (Eduardo Floriano)
> 2. Re: Grads/DODS - Access Denied (Erik D. Kabela)
> 3. Re: Grads/DODS - Access Denied (Wesley Ebisuzaki - NOAA Federal)
> 4. Re: Grads/DODS - Access Denied [SEC=UNCLASSIFIED] (Ken Kato)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Aug 2013 13:35:44 -0300
> From: Eduardo Floriano <eduardofloriano at outlook.com>
> Subject: [gradsusr] Saving result on a text file
> To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
> Message-ID: <BLU171-W8431AC2A0F30DDFA991D3BAE490 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> Im trying to use Grads to save some information on a text file for future
> reference...
> I have some files .bin, and a .ctl to read them all,
> When i open this ctl on grads, i can set the time from the first day to
> the last (set t 1 last), and the grads plots the result on the screen, and
> displays on the prompt the following string(for example): "Contouring: 0 to
> 45 interval 5"
> i'd like to save only those string "Countouring:..." on a text file, i
> tried to save using the fwrite, but he saves the plot in binary format, and
> what i need is only the text result in the prompt.
> i have a lot of binary files and i need check them all to see if they are
> all within the range, so i pretend to make a script to save all the text
> result on a text file to read later.
>
> Sorry for my bad english, and thanks for your time.
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20130826/7c0e2d09/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 26 Aug 2013 12:59:15 -0400
> From: "Erik D. Kabela" <ekabela at gmail.com>
> Subject: Re: [gradsusr] Grads/DODS - Access Denied
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <CAJc29FxyDU=qG8JwsWrvSrja0JmNOrwBiFXt=3=
> 2QQF3NXgJ2A at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Wesley: I am noticing another error and it has occurred for both the
> GFS and RAP data (or at least the latest attempts to grab the data). The
> error (specifically for the GFS) is:
>
> Error: nc_open failed to open file
> http://nomads.ncep.noaa.gov/dods/gfs_hd/gfs_hd20130826/gfs_hd_12z
> NetCDF: Malformed or inaccessible DAP DDS
> gadsdf: Couldn't ingest SDF metadata
>
> Again, the same sort of error occurred for the RAP data. NAM appears to be
> running normally.
>
> Any help you can provide would be great!
> Thanks!
> Erik
>
>
> On Mon, Aug 26, 2013 at 11:07 AM, Wesley Ebisuzaki - NOAA Federal <
> wesley.ebisuzaki at noaa.gov> wrote:
>
> > Erik,
> >
> > If your problem is with http://nomads.ncep.noaa.gov, then the servers
> > home page says,
> >
> > "Due to unfortunate server failures on 7/5/2013 NCEP had to place
> > customers onto a new NOMADS server that has yet to be optimized. We
> realize
> > that users have been impacted by this in numerous ways. As we spend the
> > next few weeks tuning the server it will be very helpful if you notify us
> > of any issues that are not within your normal tolerance. Please include
> the
> > syntax and errors you are seeing to *ncep.pmb.dataflow at noaa.gov"
> > *
> > It's easier for dataflow to fix the problem when they know about it.
> >
> > Wesley
> >
> >
> >
> >
> > On Mon, Aug 26, 2013 at 10:07 AM, Erik D. Kabela <ekabela at gmail.com
> >wrote:
> >
> >> Hello All: For about the past 3-4 days my GrADS scripts have been
> >> failing to grab data from the DODS server at NCEP. The message I
> receive
> >> (for example) is:
> >>
> >> 403 Forbidden
> >> You don't have permission to access /dods/rap/rap20130826/rap_12z
> >> sdfdeflev: nc_get_vara_double failed to read coordinate axis values
> >>
> >> I'm using GrADS v2.0.a9. I get a similar error when trying to access
> GFS
> >> data.
> >>
> >> Any help would be appreciated!
> >>
> >> Thanks!
> >> Erik Kabela
> >>
> >> _______________________________________________
> >> 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/20130826/6a0e93c5/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Mon, 26 Aug 2013 14:27:41 -0400
> From: Wesley Ebisuzaki - NOAA Federal <wesley.ebisuzaki at noaa.gov>
> Subject: Re: [gradsusr] Grads/DODS - Access Denied
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <
> CAMHOGenS40sBDqVt8b_WGQXGbxeUP8isw7x-AnKvHXRgznpi2w at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Erik,
>
> I am not involved with the nomads.ncep.noaa.gov server except as a
> user. Clarissa said that people
> who accessed GDS too frequently got an access denied. My guess is that IP
> addresses that accessed
> the GDS server too many times in one minute (my guess) were denied service
> for a short period time (5 minutes?).
> Your NAM download script may be fine but GFS and RAP scripts are accessing
> the data too many times. My suggestions
> are to combine downloads and add some sleep commands into your script.
>
> You might consider using grib-filter.
>
> Wesley
>
>
>
>
>
>
>
> On Mon, Aug 26, 2013 at 12:59 PM, Erik D. Kabela <ekabela at gmail.com>
> wrote:
>
> > Hi Wesley: I am noticing another error and it has occurred for both the
> > GFS and RAP data (or at least the latest attempts to grab the data). The
> > error (specifically for the GFS) is:
> >
> > Error: nc_open failed to open file
> > http://nomads.ncep.noaa.gov/dods/gfs_hd/gfs_hd20130826/gfs_hd_12z
> > NetCDF: Malformed or inaccessible DAP DDS
> > gadsdf: Couldn't ingest SDF metadata
> >
> > Again, the same sort of error occurred for the RAP data. NAM appears to
> > be running normally.
> >
> > Any help you can provide would be great!
> > Thanks!
> > Erik
> >
> >
> > On Mon, Aug 26, 2013 at 11:07 AM, Wesley Ebisuzaki - NOAA Federal <
> > wesley.ebisuzaki at noaa.gov> wrote:
> >
> >> Erik,
> >>
> >> If your problem is with http://nomads.ncep.noaa.gov, then the servers
> >> home page says,
> >>
> >> "Due to unfortunate server failures on 7/5/2013 NCEP had to place
> >> customers onto a new NOMADS server that has yet to be optimized. We
> realize
> >> that users have been impacted by this in numerous ways. As we spend the
> >> next few weeks tuning the server it will be very helpful if you notify
> us
> >> of any issues that are not within your normal tolerance. Please include
> the
> >> syntax and errors you are seeing to *ncep.pmb.dataflow at noaa.gov"
> >> *
> >> It's easier for dataflow to fix the problem when they know about it.
> >>
> >> Wesley
> >>
> >>
> >>
> >>
> >> On Mon, Aug 26, 2013 at 10:07 AM, Erik D. Kabela <ekabela at gmail.com
> >wrote:
> >>
> >>> Hello All: For about the past 3-4 days my GrADS scripts have been
> >>> failing to grab data from the DODS server at NCEP. The message I
> receive
> >>> (for example) is:
> >>>
> >>> 403 Forbidden
> >>> You don't have permission to access /dods/rap/rap20130826/rap_12z
> >>> sdfdeflev: nc_get_vara_double failed to read coordinate axis values
> >>>
> >>> I'm using GrADS v2.0.a9. I get a similar error when trying to access
> >>> GFS data.
> >>>
> >>> Any help would be appreciated!
> >>>
> >>> Thanks!
> >>> Erik Kabela
> >>>
> >>> _______________________________________________
> >>> 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/20130826/8d290311/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Tue, 27 Aug 2013 05:57:00 +1000
> From: Ken Kato <K.Kato at bom.gov.au>
> Subject: Re: [gradsusr] Grads/DODS - Access Denied [SEC=UNCLASSIFIED]
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> <
> E6CC5A2604A98F49A3F0901433A07A1F01C26796C139 at BOM-VMBX-HO.bom.gov.au>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Wesley and all,
>
> Just FYI, I too have been experiencing the same problem with the same
> error message as Erik since last Friday (and intermittently since all the
> NOMADS issues began a few months ago). I only access the GFS and global
> ensemble data about once a day at the most and the problem still occurs,
> even using different computers with different IP addresses. It also doesn't
> affect all variables, just certain ones such as RHPRS. I've already posted
> this info to the ncep.pmb.dataflow at noaa.gov<mailto:
> ncep.pmb.dataflow at noaa.gov> list.
>
> Ken.
>
> ________________________________
> From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
> Behalf Of Wesley Ebisuzaki - NOAA Federal [wesley.ebisuzaki at noaa.gov]
> Sent: Tuesday, 27 August 2013 4:27 AM
> To: GrADS Users Forum
> Subject: Re: [gradsusr] Grads/DODS - Access Denied
>
> Erik,
>
> I am not involved with the nomads.ncep.noaa.gov<
> http://nomads.ncep.noaa.gov> server except as a user. Clarissa said that
> people
> who accessed GDS too frequently got an access denied. My guess is that
> IP addresses that accessed
> the GDS server too many times in one minute (my guess) were denied service
> for a short period time (5 minutes?).
> Your NAM download script may be fine but GFS and RAP scripts are accessing
> the data too many times. My suggestions
> are to combine downloads and add some sleep commands into your script.
>
> You might consider using grib-filter.
>
> Wesley
>
>
>
>
>
>
>
> On Mon, Aug 26, 2013 at 12:59 PM, Erik D. Kabela <ekabela at gmail.com
> <mailto:ekabela at gmail.com>> wrote:
> Hi Wesley: I am noticing another error and it has occurred for both the
> GFS and RAP data (or at least the latest attempts to grab the data). The
> error (specifically for the GFS) is:
>
> Error: nc_open failed to open file
> http://nomads.ncep.noaa.gov/dods/gfs_hd/gfs_hd20130826/gfs_hd_12z
> NetCDF: Malformed or inaccessible DAP DDS
> gadsdf: Couldn't ingest SDF metadata
>
> Again, the same sort of error occurred for the RAP data. NAM appears to
> be running normally.
>
> Any help you can provide would be great!
> Thanks!
> Erik
>
>
> On Mon, Aug 26, 2013 at 11:07 AM, Wesley Ebisuzaki - NOAA Federal <
> wesley.ebisuzaki at noaa.gov<mailto:wesley.ebisuzaki at noaa.gov>> wrote:
> Erik,
>
> If your problem is with http://nomads.ncep.noaa.gov, then the servers
> home page says,
>
> "Due to unfortunate server failures on 7/5/2013 NCEP had to place
> customers onto a new NOMADS server that has yet to be optimized. We realize
> that users have been impacted by this in numerous ways. As we spend the
> next few weeks tuning the server it will be very helpful if you notify us
> of any issues that are not within your normal tolerance. Please include the
> syntax and errors you are seeing to ncep.pmb.dataflow at noaa.gov<mailto:
> ncep.pmb.dataflow at noaa.gov>"
>
> It's easier for dataflow to fix the problem when they know about it.
>
> Wesley
>
>
>
>
> On Mon, Aug 26, 2013 at 10:07 AM, Erik D. Kabela <ekabela at gmail.com
> <mailto:ekabela at gmail.com>> wrote:
> Hello All: For about the past 3-4 days my GrADS scripts have been failing
> to grab data from the DODS server at NCEP. The message I receive (for
> example) is:
>
> 403 Forbidden
> You don't have permission to access /dods/rap/rap20130826/rap_12z
> sdfdeflev: nc_get_vara_double failed to read coordinate axis values
>
> I'm using GrADS v2.0.a9. I get a similar error when trying to access GFS
> data.
>
> Any help would be appreciated!
>
> Thanks!
> Erik Kabela
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20130827/1fc13dd6/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 42, Issue 30
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130827/0006dc4a/attachment-0003.html
More information about the gradsusr
mailing list