bufr.pm:bufrdump.pl_help

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bufr.pm:bufrdump.pl_help [2012-06-04 09:26:39]
pals
bufr.pm:bufrdump.pl_help [2022-05-31 09:29:31] (current)
Line 25: Line 25:
                       as they occur there. If using --csv possibly                       as they occur there. If using --csv possibly
                       followed by --delimiter <del>, the parameters vill                       followed by --delimiter <del>, the parameters vill
-                      be printed using the CSV (comma separated values) +                      be printed using the CSV (comma-separated values) 
-                      format, with the delimiter del (default is ',')+                      format, with the delimiter del (default is ';')
       --sort          Sort the decoded observations on station identification;       --sort          Sort the decoded observations on station identification;
                       first stations with wmonr, then stations with nationalnr,                       first stations with wmonr, then stations with nationalnr,
Line 52: Line 52:
                       Force observation type. If this option is not set,                       Force observation type. If this option is not set,
                       will make an educated guess of observation type                       will make an educated guess of observation type
-                      based on metadata in section 1 of each BUFR +                      based on metadata in section 1 of each BUFR message
-                      message.+
       --tablepath <path to BUFR tables>       --tablepath <path to BUFR tables>
                       Set path to BUFR tables (overrides ENV{BUFR_TABLES})                       Set path to BUFR tables (overrides ENV{BUFR_TABLES})
Line 71: Line 70:
     temperature to be printed for a BUFR SYNOP file, either supply     temperature to be printed for a BUFR SYNOP file, either supply
  
-      wmonr,call_sign,TA+      wmonr,nationalnr,call_sign,TA
  
     as argument to --params, or supply a <parameter file> which should look     as argument to --params, or supply a <parameter file> which should look
Line 77: Line 76:
  
       wmonr       wmonr
 +      nationalnr
       call_sign       call_sign
       TA       TA
Line 97: Line 97:
     for example start like     for example start like
  
-      wmonr,call_sign,TA +      wmonr;nationalnr;call_sign;TA 
-      01001,,-1.5 +      01001;;;-1.5 
-      ,LF5U,9.0+      ;;LF5U;9.0
  
-    You can choose another delimiter than comma by use of option --delimiter +    You can choose another delimiter than semicolon by use of option 
-    <del>, e.g. --csv --delimiter ';'+    --delimiter <del>, e.g. --csv --delimiter ','
  
     Using --filter will decode only those observations that meet at least     Using --filter will decode only those observations that meet at least
Line 108: Line 108:
     <filter file>, where the BUFR descriptor criteria should come first in     <filter file>, where the BUFR descriptor criteria should come first in
     filter file followed by a blank line, then comes the parameter criteria     filter file followed by a blank line, then comes the parameter criteria
-    which should match <param> or <param> <operator> <value> where operator +    which should match <param> or !<param> or <param> <operator> <value> 
-    is one of =, !=, <, <=, > and >=. The parameter criteria may be phrased +    where operator is one of =, !=, =~, !~, <, <=, > and >=. What follows =~ 
-    as alternatives by separating them with '|' on a single line. An example +    and !~ should be a Perl match regular expression. The parameter criteria 
-    filter file is+    may be phrased as alternatives by separating them with '|' on a single 
 +    line. An example filter file is
  
       D: 001001 I2.2       D: 001001 I2.2
Line 128: Line 129:
  
     which decodes all observations with block number 01, two other specific     which decodes all observations with block number 01, two other specific
-    wmo stations and one specific ship, being manned stations and having +    wmo stations and one specific ship, where stations should be manned and 
-    cloud cover different from 8 (but NN must be part of the message) and +    have cloud cover with a value different from 8and have temperature 
-    temperature between 5 and 9.5 degrees Celsius and containing +    between 5 and 9.5 degrees Celsiusand contain precipitation for last 24 
-    precipitation for last 24 hours. Comment lines starting with # will be +    hours. Comment lines starting with # will be ignored.
-    ignored.+
  
     Another example: the filter file (starting with a blank line!)     Another example: the filter file (starting with a blank line!)
  
-      wmonr+      call_sign =~ /^L[A-N]..$/
       obstime >= '2012-02-10 06:00:00'       obstime >= '2012-02-10 06:00:00'
-      RR_1 RR_12 RR_24 +      HW HWA PW | PWA 
-      TA < -30 TA 30+      FF > 10 FG_010 10
  
-    will print only those observations containing a wmonr (skipping ships), +    will print only those ship observations for which the 4 character 
-    and having obstime larger or equal to the datetime given, and containing +    call_sign starts with 2 letters in the interval LA-LN, and having 
-    precipitation for 1, 12 or 24 hoursand having temperature below minus +    obstime larger or equal to the datetime given, and containing wave data 
-    30 or above plus 30 degrees Celsius.+    (specifically: height or period of wavesmanually or automatically 
 +    measured), and with wind or 10 minutes gust more than 10 m/s.
  
     For convenience, when there are no BUFR descriptor criteria, you might     For convenience, when there are no BUFR descriptor criteria, you might
     provide the filter criteria on the command line. Example:     provide the filter criteria on the command line. Example:
  
-    --filter wmonr,'TA > 0','RR_12 | RR_24'+    --filter 'wmonr,TA > 0,RR_12 | RR_24, !FF'
  
     will decode only observations with wmonr, having positive temperature     will decode only observations with wmonr, having positive temperature
-    and containing precipitation for 12 or 24 hours. If (like for --param) +    and containing precipitation for 12 or 24 hours and not reporting wind. 
-    the filter list consists of one criterium only, a comma must be +    If (like for --param) the filter list consists of one criterium only, a 
-    appended.+    comma must be appended.
  
     To avoid the need of creating a filter file when observations for some     To avoid the need of creating a filter file when observations for some
  • bufr.pm/bufrdump.pl_help.1338801999.txt.gz
  • Last modified: 2022-05-31 09:23:11
  • (external edit)