NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #CDH-409468]: Gempak synoptic and metar decoder input formats

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.



Hello Steve,

You should be able to run dclsfc without any addition options.  Based on your 
use of a relative path name (os/linux64/bin/dclsfs) I'm going to guess that the 
Gemenviron file has not been sourced to your shell.  If you're using tcsh/csh, 
then you need to run 

source /home/gempak/GEMPAK6.8.0/Gemenviron

for bash the equivalent is 

. /home/gempak/GEMPAK6.8.0/Gemenviron.profile

With that done, I grab a raw synoptic report, copy it to my present working 
directory, then run dclsfc like so:

dclsfc 2013060515_syn.out < 2013060515_syn.wmo

There is a delay of about 3-4 seconds, no output to the terminal, but I now see 
the newly-written file "2013060515_syn.out" in this directory (approx. 1.8 MB).

Michael James
Unidata



> Hello,
> 
> I am new to Gempak and have just installed 6.8.0-2 on a CentoOS 5.9 machine 
> to test upgrading from Gempak 5.11.1. I have found the two decoders that I 
> need (dclsfc and dcmetr) and when I try "os/linux64/bin/dclsfc -c 
> 20130528/0000 ./13051818.out < 13051818.wmo" from the command line I do not 
> get any output. I have also tried using some old stntbl and prmfil files that 
> I found, but they only cause errors.
> 
> I am hopeful that you can answer the following questions on the command line 
> input parameters.
> DECODER OPTIONS:
> -p prmfil     Set the parameter packing table
> What is the format of this file? I have looked at the .pack files in 
> $NAWIPS/gempak/tables/pack, but have not found any that explain the format. 
> What do the columns mean?
> -s stntbl     Set the station table
> What is the format of this file? I have looked at the .stn and .tbl  files in 
> $NAWIPS/gempak/tables/stns and found that the first 9 columns are: stid(8), 
> stnm(6), name(32), st(2), co(2), lat(5), lon(6), elv(5), pri(2). I have also 
> found tables the have a different format. What are the columns needed for 
> dclsfc and dcmetr? -S stntb2 Set the second station table
> Is this the same format as the stntbl above? Is it needed? What are the 
> defaults?
> -a iadstn     Set the number of additional stations
> What is the default? -m maxtim        Set the maximum number of times
> What is the default? -e PARM=value    Set the environment variable PARM to 
> value
> What is the default? -w iwndht        Cutoff height for dropsonde 
> "close-to-surface" winds
> What is the default?
> 
> I could not find this information anywhere in your documentation. If you 
> could point me to where it is located I would greatly appreciate it. Also, 
> how would you find out if a new station has been added (one not listed in 
> your stntbl file)? Would the data still be output for the station if it is 
> not in the file?
> Thanks you,
> Steve
> 
> -------------------------
> Steven Eslinger
> ZedX Inc.
> 
> 369 Rolling Ridge Drive
> Bellefonte, PA 16823
> (814)-357-8490
> 
> 
> 
> 

Ticket Details
===================
Ticket ID: CDH-409468
Department: Support GEMPAK
Priority: High
Status: Open