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 Gilbert, re: > I am attempting to capture just the 1 hour forecast CONDUIT grids > for the RUC model. I have this: > > CONDUIT data/nccf/com/(f01.*) !(.*)! > # FILE hrs/ruc/(\1:yyyy)(\1:mm)(\1:dd).conduit > FILE hrs/ruc/\17.conduit > > And I want to save the files as > > hrs/ruc/20111119.conduit > > I have looked into the file naming convention found here: > > http://www.unidata.ucar.edu/data/conduit/ldm_idd/index.html > > And I thought it would work, but nothing is saving. Any hints > that you can give me? First, your pattern will not match any products in CONDUIT. As an example, consider the output from 'notifyme': <as 'ldm'> notifyme -vl- -f CONDUIT -h idd.unidata.ucar.edu -p data/nccf/com/f01 Nov 21 19:49:15 notifyme[22754] NOTE: Starting Up: idd.unidata.ucar.edu: 20111121184915.383 TS_ENDT {{CONDUIT, "data/nccf/com/f01"}} Nov 21 19:49:15 notifyme[22754] NOTE: LDM-5 desired product-class: 20111121184915.383 TS_ENDT {{CONDUIT, "data/nccf/com/f01"}} Nov 21 19:49:15 notifyme[22754] INFO: Resolving idd.unidata.ucar.edu to 128.117.140.3 took 0.000486 seconds Nov 21 19:49:15 notifyme[22754] NOTE: NOTIFYME(idd.unidata.ucar.edu): OK ^CNov 21 19:49:18 notifyme[22754] NOTE: exiting (I killed the 'notifyme' invocation after verifying that the pattern doesn't match anything.) What do the Product IDs actually look like? Use 'notifyme' to find out: notifyme -vl- -f CONDUIT -o 3600 -h idd.unidata.ucar.edu -p data/nccf/com Nov 21 19:47:38 notifyme[22635] NOTE: Starting Up: idd.unidata.ucar.edu: 20111121184738.517 TS_ENDT {{CONDUIT, "data/nccf/com"}} Nov 21 19:47:38 notifyme[22635] NOTE: LDM-5 desired product-class: 20111121184738.517 TS_ENDT {{CONDUIT, "data/nccf/com"}} Nov 21 19:47:38 notifyme[22635] INFO: Resolving idd.unidata.ucar.edu to 128.117.140.3 took 0.000483 seconds Nov 21 19:47:38 notifyme[22635] NOTE: NOTIFYME(idd.unidata.ucar.edu): OK Nov 21 19:47:39 notifyme[22635] INFO: 9837 20111121184808.868 CONDUIT 001 data/nccf/com/ruc/prod/ruc2a.20111121/ruc2.t18z.pgrbf05.grib2 !grib2/ncep/RUC2/#000/201111211800F005/HGHT/975 hPa PRES! 000001 Nov 21 19:47:39 notifyme[22635] INFO: 8428 20111121184808.869 CONDUIT 008 data/nccf/com/ruc/prod/ruc2a.20111121/ruc2.t18z.pgrbf05.grib2 !grib2/ncep/RUC2/#000/201111211800F005/HGHT/800 hPa PRES! 000008 Nov 21 19:47:39 notifyme[22635] INFO: 8288 20111121184808.870 CONDUIT 011 data/nccf/com/ruc/prod/ruc2a.20111121/ruc2.t18z.pgrbf05.grib2 !grib2/ncep/RUC2/#000/201111211800F005/HGHT/725 hPa PRES! 000011 Nov 21 19:47:39 notifyme[22635] INFO: 8437 20111121184808.870 CONDUIT 018 data/nccf/com/ruc/prod/ruc2a.20111121/ruc2.t18z.pgrbf05.grib2 !grib2/ncep/RUC2/#000/201111211800F005/HGHT/550 hPa PRES! 000018 Nov 21 19:47:39 notifyme[22635] INFO: 8696 20111121184808.871 CONDUIT 021 data/nccf/com/ruc/prod/ruc2a.20111121/ruc2.t18z.pgrbf05.grib2 !grib2/ncep/RUC2/#000/201111211800F005/HGHT/475 hPa PRES! 000021 ... You can see from this listing that the next thing after data/nccf/com/ is the model name. The forecast hour appears in the portion within '!'s formatted like: CCYYMMDDHHMMF... -> 201111211800F005 Comment: - the following pattern might be more like what you want: CONDUIT data/nccf/com/ruc/.*(20......)..F(...) FILE hrs/ruc/\1.conduit NB: this action will write ALL fields matching the pattern into the same file. I recommend using this example pattern in 'notifyme' invocations until you match just the products you want. 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: WOW-227720 Department: Support IDD Priority: Normal Status: Closed