[gradsusr] Skip some stations when plotting station data

Jennifer M Adams jadams21 at gmu.edu
Thu Dec 31 17:15:35 EST 2015


The C programs referred to in this email are in ftp://cola.gmu.edu/pub/jma/metar_decoding/. The metar data that is behind our GDS (http://monsoondata.org:9090/dods/stn/metar<http://monsoondata.org:9090/dods/stn/metar/past48'>) already has the ‘filt’ variable in there.
—Jennifer


On Dec 30, 2015, at 11:51 PM, Rabah Hachelaf <r.hachelaf at gmail.com<mailto:r.hachelaf at gmail.com>> wrote:

Hello,

I would like to skip a number of stations data when plot it with grads.I find the message below describing a trick used in COLA, i am wondering if this method still valid

or is there another one.

Thanks.

Rabah


Jennifer Adams jma at cola.iges.org <mailto:gradsusr%40gradsusr.org?Subject=Re:%20%5Bgradsusr%5D%20Skip%20stations%20when%20plotting%20station%20data&In-Reply-To=%3C0AADE852-4D26-4343-8C14-D4A89670CA21%40cola.iges.org%3E>
Thu Jan 20 10:16:09 EST 2011


  *   Previous message: [gradsusr] Skip stations when plotting station data<http://gradsusr.org/pipermail/gradsusr/2011-January/029182.html>
  *   Next message: [gradsusr] How to set time attribute in sdfwrite<http://gradsusr.org/pipermail/gradsusr/2011-January/029187.html>
  *   Messages sorted by: [ date ]<http://gradsusr.org/pipermail/gradsusr/2011-January/date.html#29192> [ thread ]<http://gradsusr.org/pipermail/gradsusr/2011-January/thread.html#29192> [ subject ]<http://gradsusr.org/pipermail/gradsusr/2011-January/subject.html#29192> [ author ]<http://gradsusr.org/pipermail/gradsusr/2011-January/author.html#29192>

________________________________

Brian Doty has solved this problem with a C program that creates a
'filt' variable for the surface metars. The code does the following:
1) Assigns priorities to each report that are based on a combination
of the number of variables available and the intensity of precipitation
2) Filters out observations at a particular radius: first pass based
on priority, subsequent passes based on proximity to other obs.
3) All the obs are then written out with an extra data variable,
called 'filt', that you can use when drawing. The filt variable ranges
between 1 and 6.

For example,
'open  http://monsoondata.org:9090/dods/stn/metar/past48'
'set gxout stnmark'
'set lat 25 50'
'set lon -125 -65'
'd maskout(ts,filt-4)'   ;* draws fewer obs
'd maskout(ts,filt-2);   ;* draws more obs

We use Brian's code operationally at COLA (for the real time metars
behind our GDS) but cannot support it beyond that. Please write to me
offline if you would like a copy.
--Jennifer

--


_______________________________________________
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/20151231/22afc3a7/attachment.html 


More information about the gradsusr mailing list