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.
Nancy, dcuair is used to decode the WMO format (TTAA, TTBB, PPBB, etc) sounding data such as the bulletins in the IDD. SNEDIT is used to import data of the format that snlist outputs. If you put your ascii data into that SNLIST style, then snedit can be used. The snlist output for your time is shown at the bottom of my reply. For general reference you can download the data from FSL's web site and decode with dcuair. Go to: http://raob.fsl.noaa.gov/ Select the FAA604 (WMO/GTS format) Then wrap the supplied bulletins with AFOS or WMO product delimeters such as: ZCZC TTAAII CCCC DDHHNN TUSMANTUS 72274 TTAA 73121 72274 99925 25457 13004 00083 ///// ///// 92787 25457 13004 85535 25464 06514 70212 14463 13010 50594 07956 16024 40764 15970 11509 30974 31563 09527 25100 42361 07022 20247 54357 06031 15426 65956 11027 10668 69958 07517 88121 71556 13010 77999 NNNN ZCZC TTAAII CCCC DDHHNN TUSSGLTUS 72274 TTBB 7312/ 72274 00925 25457 11894 26263 22869 24261 33799 23665 44686 13262 55608 04228 66512 07306 77467 11545 88452 11122 99418 16106 11411 17145 22406 15165 33378 18974 44352 23164 55309 30567 66305 30761 77286 34561 88267 39346 99174 61556 11117 71956 22110 68757 PPBB 73120 72274 90034 13004 12511 10512 90567 05514 04011 03508 9089/ 05507 08507 91123 13011 12011 12013 9146/ 13518 15522 92025 16524 19013 12009 926// 11511 93015 10526 10528 08022 937// 06024 94267 06034 08528 12026 950// 15015 NNNN Decode the above "infile" with dcuair like: cat infile | dcuair -c 030723/1200 -d - YYYYMMDD_upa.gem After decoding, you should have snlist output such as: SNPARM = PRES;TEMP;DWPT;DRCT;SPED;HGHT STID = TUS STNM = 72274 TIME = 030723/1200 SLAT = 32.11 SLON = -110.93 SELV = 779.0 STIM = 1200 PRES TEMP DWPT DRCT SPED HGHT 925.00 25.40 18.40 130.00 2.06 779.00 1000.00 -9999.00 -9999.00 -9999.00 -9999.00 83.00 911.17 25.75 16.10 125.00 5.66 914.00 894.00 26.20 13.20 113.84 5.95 1084.45 880.64 25.14 13.20 105.00 6.18 1219.00 869.00 24.20 13.20 85.54 6.58 1337.82 851.05 25.33 11.50 55.00 7.21 1524.00 850.00 25.40 11.40 65.00 7.21 1535.00 821.93 24.42 9.88 40.00 5.66 1829.00 799.00 23.60 8.60 35.95 4.41 2076.68 793.68 23.14 8.24 35.00 4.12 2134.00 766.06 20.67 6.31 55.00 3.60 2438.00 739.32 18.20 4.37 85.00 3.60 2743.00 700.00 14.40 1.40 130.00 5.15 3212.00 688.40 13.41 1.23 130.00 5.66 3353.00 686.00 13.20 1.20 129.05 5.66 3382.46 663.57 10.72 1.26 120.00 5.66 3658.00 639.68 7.99 1.32 120.00 6.69 3962.00 616.57 5.24 1.38 135.00 9.27 4267.00 608.00 4.20 1.40 138.69 9.65 4383.08 571.53 0.06 -1.95 155.00 11.33 4877.00 512.00 -7.30 -7.90 159.11 12.18 5755.11 500.00 -7.90 -13.90 160.00 12.36 5940.00 489.98 -8.97 -14.52 165.00 12.36 6096.00 467.00 -11.50 -16.00 180.12 8.93 6465.92 452.58 -11.12 -13.41 190.00 6.69 6706.00 452.00 -11.10 -13.30 189.25 6.67 6715.89 418.00 -16.10 -16.70 143.96 5.33 7309.41 411.00 -17.10 -21.60 134.17 5.05 7436.06 406.00 -15.10 -30.10 127.08 4.84 7527.97 401.06 -15.76 -34.86 120.00 4.63 7620.00 400.00 -15.90 -35.90 115.00 4.63 7640.00 385.07 -17.92 -40.61 115.00 5.66 7925.00 378.00 -18.90 -42.90 113.89 6.52 8063.78 352.00 -23.10 -37.10 109.61 9.82 8590.11 325.99 -27.46 -43.23 105.00 13.38 9144.00 312.50 -29.86 -46.60 105.00 14.41 9449.00 309.00 -30.50 -47.50 102.24 14.27 9530.25 305.00 -30.70 -41.70 99.05 14.11 9622.81 300.00 -31.50 -44.50 95.00 13.90 9740.00 286.00 -34.50 -45.50 89.63 12.98 10076.28 267.00 -39.30 -43.90 81.91 11.66 10552.13 262.49 -40.08 -46.33 80.00 11.33 10668.00 250.00 -42.30 -53.30 70.00 11.33 11000.00 239.67 -44.57 -54.81 60.00 12.36 11278.00 200.00 -54.30 -61.30 60.00 15.96 12470.00 189.75 -57.02 -63.64 60.00 17.50 12802.00 174.00 -61.50 -67.50 71.04 16.13 13348.73 155.95 -64.75 -70.75 85.00 14.41 14021.00 150.00 -65.90 -71.90 110.00 13.90 14260.00 148.36 -66.19 -72.19 120.00 13.38 14326.00 127.35 -70.17 -76.17 150.00 7.72 15240.00 121.00 -71.50 -77.50 130.00 5.15 15546.28 117.00 -71.90 -77.90 120.30 5.78 15744.58 110.00 -68.70 -75.70 102.50 6.95 16111.05 100.00 -69.90 -77.90 75.00 8.75 16680.00 Steve Chiswell Unidata User Support On Wed, 2004-10-27 at 13:10, Nancy Selover wrote: > I have searched the archives and the manual and I'm confused about how > to create a Gempak format sounding file. I have the ASCII format > sounding file for 1 station, and I need to convert it to Gempak format > so I can open it in NSHARP. It's in the standard format with the > first line as a header with the time, day month and year and the > second line has the station IDs and lat, long and elevation. All the > lines after that have a pressure level, height, temp, dew point, wind > direction and wind speed in knots. When I try to run the decoder: > > "dcuair -c 030723/1300 -b 1 20030723_upa.gem < 20030723.txt" > > I specify the "current" time as 1 hour after the sounding and tell it > to decode 1 hour prior to the current time. The dcuair.log file I get > says: > > 041027/1125[DC 3] Starting up. Version 5.7.3 > 041027/1125[DC -9] End of input data file. > 041027/1125[DC 5] Normal termination. > 041027/1125[DC 2] Number of bulletins read and processed: 0 > 041027/1125[DC 6] Shutting down. > > Or, should I be using SNCFIL instead of decoding ??? > > The file is a single 12 Z sounding for Tucson. In the alternative, > does anyone have the decoded upperair files for July 23, 2003. The > 12Z is the only sounding I really need. > > Thank you, > Nancy > > > > Nancy J. Selover > Asst. State Climatologist > Office of Climatology tel: 480-965-0580 > Arizona State University fax: 480-965-1473 > Tempe, AZ 85287-1508 e-mail: address@hidden > >