This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Massoud, re: > Thanks for your creating a new ticket for me in regards to > converting data to ASCII format. No worries. > In the meantime, I sent > out an email to SSEC requesting for the McIDAS package. Very good. Please be aware that you (your lab) will have to join the McIDAS Users Group (MUG) in order to get McIDAS from SSEC, and this is not free. > Quick question. How can I edit the last line of this > pattern/action example, so I can only collect radar data > for 1km/n0r instead of 2km/ntl and 4km/ntp? > > # png compressed 1km radar GINI format > FNEXRAD ^rad/NEXRCOMP/(...)/(...)_(........)_(....) > FILE -close data/gempak/images/sat/NEXRCOMP/\1/\2/\2_\3_\4 Actually, the part of the pattern/action to edit is the regular expression. The easiest way to see what to do is: - use the LDM 'notifyme' utility to list out the FNEXRAD products you are receiving and look at the headers - create a regular expression that matches the header of the product(s) you want to process - test your regular expression using the '-p' flag on 'notifyme' - once you have a regular expression that selectes the product(s) you are interested in, use it as a replacement for an existing pattern in your pqact.conf file (or create a new action) Here is an example of me running 'notifyme' to an upstream host that is receiving all FNEXRAD products: 1) use 'notifyme' to list out the FNEXRAD headers: $ notifyme -vxl- -f FNEXRAD -h oliver.unidata.ucar.edu -o 3600 Jul 04 22:53:47 notifyme[3507] NOTE: Starting Up: oliver.unidata.ucar.edu: 20070704215347.373 TS_ENDT {{FNEXRAD, ".*"}} Jul 04 22:53:47 notifyme[3507] NOTE: LDM-5 desired product-class: 20070704215347.373 TS_ENDT {{FNEXRAD, ".*"}} Jul 04 22:53:47 notifyme[3507] INFO: Resolving oliver.unidata.ucar.edu to 128.117.156.17 took 0.02282 seconds Jul 04 22:53:47 DEBUG: NOTIFYME(oliver.unidata.ucar.edu) returns OK Jul 04 22:53:47 notifyme[3507] NOTE: NOTIFYME(oliver.unidata.ucar.edu): OK Jul 04 22:53:48 notifyme[3507] INFO: ee528c43ec805e72f15921204ab5b349 1682239 20070704221501.253 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2211 Jul 04 22:53:48 notifyme[3507] INFO: 06fb3dbc81e26b4727d181ab3292e699 118489 20070704221502.022 FNEXRAD 000 rad/NEXRCOMP/4km/ntp_20070704_2212 Jul 04 22:53:49 notifyme[3507] INFO: f0bd774a63a06d2fa1bfddb85619ec75 305962 20070704221639.173 FNEXRAD 000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042213/F000/N0R/sfc! 000000 Jul 04 22:53:49 notifyme[3507] INFO: 59622b36a8fdae5746904a2c0270cfc4 3907787 20070704221639.572 FNEXRAD 000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042213F000/N0R/0 - NONE! 000000 Jul 04 22:53:49 notifyme[3507] INFO: d4946f09df9007221802be4af30b8c64 85772 20070704221645.627 FNEXRAD 000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2213 Jul 04 22:53:49 notifyme[3507] INFO: 9313781bbc7881e764facff3026388d7 182937 20070704221701.929 FNEXRAD 000 rad/NEXRCOMP/2km/n1p_20070704_2214 Jul 04 22:53:50 notifyme[3507] INFO: 68c47ff4562987c3577d5ebc44aecd74 1674647 20070704222001.653 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2216 Jul 04 22:53:50 notifyme[3507] INFO: ac0e10d8175622851bb90508a174f92d 119381 20070704222001.919 FNEXRAD 000 rad/NEXRCOMP/4km/ntp_20070704_2218 Jul 04 22:53:50 notifyme[3507] INFO: f56aa1b607fb0b5e1a0cbad9ac499a74 269630 20070704222057.139 FNEXRAD 001 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042213/F000/NET/sfc! 000001 Jul 04 22:53:50 notifyme[3507] INFO: 38e692787f829619d67d0df2ade281e5 183375 20070704222301.198 FNEXRAD 000 rad/NEXRCOMP/2km/n1p_20070704_2220 Jul 04 22:53:51 notifyme[3507] INFO: 275146fc469db26627424ceace2ff48a 305962 20070704222435.937 FNEXRAD 000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042219/F000/N0R/sfc! 000000 Jul 04 22:53:51 notifyme[3507] INFO: 79962cb24c67b55de9436bdf256cfdab 269630 20070704222435.969 FNEXRAD 001 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042219/F000/NET/sfc! 000001 Jul 04 22:53:51 notifyme[3507] INFO: fe09cdb6ac2fd9d0cbecea0c1b8cd2e0 3904149 20070704222436.487 FNEXRAD 000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042219F000/N0R/0 - NONE! 000000 Jul 04 22:53:51 notifyme[3507] INFO: 613677e16cb78a108b6d34d7e14a7a57 85755 20070704222440.076 FNEXRAD 000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2219 Jul 04 22:53:52 notifyme[3507] INFO: 69fb5a9284f7a72fb55fd4aaa28749e2 1672339 20070704222509.553 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2221 Jul 04 22:53:52 notifyme[3507] INFO: 5ec54f91d714095faa65a606835a3099 119664 20070704222512.452 FNEXRAD 000 rad/NEXRCOMP/4km/ntp_20070704_2223 Jul 04 22:53:52 notifyme[3507] INFO: 41444aaf0bfb691c5e15818fb6656b0c 182472 20070704222801.123 FNEXRAD 000 rad/NEXRCOMP/2km/n1p_20070704_2226 Jul 04 22:53:53 notifyme[3507] INFO: 67994ab5ec81dba628b3474f5a72bcd6 305962 20070704222821.479 FNEXRAD 000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042224/F000/N0R/sfc! 000000 Jul 04 22:53:53 notifyme[3507] INFO: 025e7bc3ba90fcf97d2f8d386c01f333 3895614 20070704222821.594 FNEXRAD 000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042224F000/N0R/0 - NONE! 000000 Jul 04 22:53:53 notifyme[3507] INFO: 6e9b2eccd849078ab6ce93af1215a939 85148 20070704222824.429 FNEXRAD 000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2224 Jul 04 22:53:53 notifyme[3507] INFO: cc25b3847c7ec93495734a93c56790d3 1664925 20070704223001.207 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2226 Jul 04 22:53:54 notifyme[3507] INFO: 5f0fe352a313254eddeb05dfd69a37d5 120034 20070704223101.339 FNEXRAD 000 rad/NEXRCOMP/4km/ntp_20070704_2228 Jul 04 22:53:54 notifyme[3507] INFO: f5b08f4d566d87331da5497a0681c41a 269630 20070704223248.675 FNEXRAD 001 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042224/F000/NET/sfc! 000001 Jul 04 22:53:54 notifyme[3507] INFO: 7b0da1883138e0d9b2dfe981939eb873 3886439 20070704223248.742 FNEXRAD 000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042230F000/N0R/0 - NONE! 000000 Jul 04 22:53:55 notifyme[3507] INFO: bd33828cb103fa343d5f94ad5b0c8b5d 183123 20070704223400.629 FNEXRAD 000 rad/NEXRCOMP/2km/n1p_20070704_2231 Jul 04 22:53:55 notifyme[3507] INFO: ca6e66ccc9272080e717f60117e4c293 1664437 20070704223603.438 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2231 Jul 04 22:53:56 notifyme[3507] INFO: 82174849e3712c56d3c294dd7f4a9007 121227 20070704223604.004 FNEXRAD 000 rad/NEXRCOMP/4km/ntp_20070704_2234 Jul 04 22:53:56 notifyme[3507] INFO: 7261a034e396d2794df448d4b57eb7d4 305962 20070704223647.368 FNEXRAD 000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042230/F000/N0R/sfc! 000000 Jul 04 22:53:56 notifyme[3507] INFO: 5e2e6cad291c2ba342cef43434c62cfd 269630 20070704223647.410 FNEXRAD 001 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042230/F000/NET/sfc! 000001 Jul 04 22:53:56 notifyme[3507] INFO: 2d8ab39b2f3b903707d10f8aa56604ba 85237 20070704223652.474 FNEXRAD 000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2230 Jul 04 22:53:56 notifyme[3507] NOTE: exiting The product header portion of each line is: rad/NEXRCOMP/1km/n0r_20070704_2211 rad/NEXRCOMP/4km/ntp_20070704_2212 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042213/F000/N0R/sfc! 000000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042213F000/N0R/0 - NONE! 000000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2213 rad/NEXRCOMP/2km/n1p_20070704_2214 rad/NEXRCOMP/1km/n0r_20070704_2216 rad/NEXRCOMP/4km/ntp_20070704_2218 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042213/F000/NET/sfc! 000001 rad/NEXRCOMP/2km/n1p_20070704_2220 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042219/F000/N0R/sfc! 000000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042219/F000/NET/sfc! 000001 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042219F000/N0R/0 - NONE! 000000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2219 rad/NEXRCOMP/1km/n0r_20070704_2221 rad/NEXRCOMP/4km/ntp_20070704_2223 rad/NEXRCOMP/2km/n1p_20070704_2226 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042224/F000/N0R/sfc! 000000 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042224F000/N0R/0 - NONE! 000000 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2224 rad/NEXRCOMP/1km/n0r_20070704_2226 rad/NEXRCOMP/4km/ntp_20070704_2228 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042224/F000/NET/sfc! 000001 radar_mosaic_nathr !grib2/unidata/UPC_255/#000/200707042230F000/N0R/0 - NONE! 000000 rad/NEXRCOMP/2km/n1p_20070704_2231 rad/NEXRCOMP/1km/n0r_20070704_2231 rad/NEXRCOMP/4km/ntp_20070704_2234 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042230/F000/N0R/sfc! 000000 radar_mosaic_national !grib/unidata/UPC_1/#255/200707042230/F000/NET/sfc! 000001 pnga2area Q5 RL 300 RADAR BREF 6km 20070704 2230 Of these, the headers for the non-AREA composite images are: rad/NEXRCOMP/1km/n0r_20070704_2211 rad/NEXRCOMP/4km/ntp_20070704_2212 rad/NEXRCOMP/2km/n1p_20070704_2214 rad/NEXRCOMP/1km/n0r_20070704_2216 rad/NEXRCOMP/4km/ntp_20070704_2218 rad/NEXRCOMP/2km/n1p_20070704_2220 rad/NEXRCOMP/1km/n0r_20070704_2221 rad/NEXRCOMP/4km/ntp_20070704_2223 rad/NEXRCOMP/2km/n1p_20070704_2226 rad/NEXRCOMP/1km/n0r_20070704_2226 rad/NEXRCOMP/4km/ntp_20070704_2228 rad/NEXRCOMP/2km/n1p_20070704_2231 rad/NEXRCOMP/1km/n0r_20070704_2231 rad/NEXRCOMP/4km/ntp_20070704_2234 2) the pattern action you have currently is: # png compressed 1km radar GINI format FNEXRAD ^rad/NEXRCOMP/(...)/(...)_(........)_(....) FILE -close data/gempak/images/sat/NEXRCOMP/\1/\2/\2_\3_\4 Take a look at the pattern specified in comparison to the product headers: ^rad/NEXRCOMP/(...)/(...)_(........)_(....) rad/NEXRCOMP/1km/n0r_20070704_2211 rad/NEXRCOMP/4km/ntp_20070704_2212 rad/NEXRCOMP/2km/n1p_20070704_2214 The portion of the pattern that matches the product resolution is the first '(...)'. So, if instead of specifying the pattern as '(...), you use '(1km)', your revised pattern will be: ^rad/NEXRCOMP/(1km)/(...)_(........)_(....) 3) to verify that this pattern will select only the products you are interested in, use 'notifyme' again this tiime specifying a pattern: $ notifyme -vxl- -f FNEXRAD -h oliver.unidata.ucar.edu -o 3600 -p '^rad/NEXRCOMP/(1km)/(...)_(........)_(....)' Jul 04 23:02:54 notifyme[3525] NOTE: Starting Up: oliver.unidata.ucar.edu: 20070704220254.975 TS_ENDT {{FNEXRAD, "^rad/NEXRCOMP/(1km)/(...)_(........)_(....)"}} Jul 04 23:02:54 notifyme[3525] NOTE: LDM-5 desired product-class: 20070704220254.975 TS_ENDT {{FNEXRAD, "^rad/NEXRCOMP/(1km)/(...)_(........)_(....)"}} Jul 04 23:02:55 notifyme[3525] INFO: Resolving oliver.unidata.ucar.edu to 128.117.156.17 took 0.104489 seconds Jul 04 23:02:55 DEBUG: NOTIFYME(oliver.unidata.ucar.edu) returns OK Jul 04 23:02:55 notifyme[3525] NOTE: NOTIFYME(oliver.unidata.ucar.edu): OK Jul 04 23:02:56 notifyme[3525] INFO: cc25b3847c7ec93495734a93c56790d3 1664925 20070704223001.207 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2226 Jul 04 23:02:57 notifyme[3525] INFO: ca6e66ccc9272080e717f60117e4c293 1664437 20070704223603.438 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2231 Jul 04 23:02:58 notifyme[3525] INFO: a2e18ba4c556700ef0d72a2e0373837f 1662152 20070704224102.073 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2237 Jul 04 23:02:59 notifyme[3525] INFO: 8fbeecaffc29df0a5232dd90ebcf6852 1654994 20070704224603.122 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2242 Jul 04 23:03:00 notifyme[3525] INFO: 7dcb221c1c1a153a242201e313255011 1644425 20070704225101.375 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2247 Jul 04 23:03:02 notifyme[3525] INFO: 97a4d70469b186d0cfe46fc7e75d16f8 1620783 20070704225602.206 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2252 Jul 04 23:03:04 notifyme[3525] INFO: c5118ca12eacef581cf2811d2e3de3a5 1613038 20070704230144.224 FNEXRAD 000 rad/NEXRCOMP/1km/n0r_20070704_2257 Jul 04 23:03:08 notifyme[3525] NOTE: exiting Notice that the only products listed are the 1km n0r compsites, the ones you want. 4) modify your pqact.conf pattern to be: # png compressed 1km radar GINI format FNEXRAD ^rad/NEXRCOMP/(1km)/(...)_(........)_(....) FILE -close data/gempak/images/sat/NEXRCOMP/\1/\2/\2_\3_\4 5) run 'ldmadmin pqactcheck' to verify that you did not make any typos 6) as soon as 'ldmadmin pqactcheck' shows no errors, send a HUP signal to pqact: ldmadmin pqactHUP And you are done. Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: VJN-743814 Department: Support IDD Priority: Normal Status: Closed