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

20040210: GARP case studies



Hi Patrick,

How are you storing the data?

Are you using a different dir tree than the real-time data?

If so you may want to use a script that launches GARP (NTL) to read from
the case study directory.

I have attached a copy of ntl.case for your use...

Let me know if this helps or if we can help further.

Cheers,


Jeff
---------------------------------------------------------------------
Jeff Weber                                    address@hidden        :
Unidata Program Center                        PH:303-497-8676        :
University Corp for Atmospheric Research      3300 Mitchell Ln       :
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000  :
---------------------------------------------------------------------

On Tue, 10 Feb 2004, Unidata Support wrote:

>
> ------- Forwarded Message
>
> >To: "Unidata Support" <address@hidden>
> >From: "Market, Patrick S." <address@hidden>
> >Subject: A case study question
> >Organization: UCAR/Unidata
> >Keywords: 200402101520.i1AFKGp1011560
>
> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01C3EFE9.602F222B
> Content-Type: text/plain;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Hello.
>
> I am trying to set up a case study from 1997 in GARP,  I seem to be able
> to connect to satellite imagery and model output, but I am unable to get
> GARP to "see" the surface or upperair files.  I have not altered my
> current Garp_defaults or config.tbl files, opting instead to rework a
> copy of the Gemenviron and rename all of the pertinent files to the
> current naming convection.  I have check and rechecked each of these
> surface and upperair files, to no avail.
>
> Advice?
>
> Pat
>
> Dr. Patrick S. Market
> Dept. of Soil, Environ. & Atmospheric Sci.
> University of Missouri-Columbia
> Columbia, MO  65211
> Voice: 573-882-1496
>
>
> ------_=_NextPart_001_01C3EFE9.602F222B
> Content-Type: text/html;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Dus-ascii">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 6.5.6944.0">
> <TITLE>A case study question</TITLE>
> </HEAD>
> <BODY>
> <!-- Converted from text/rtf format -->
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Hello.</FONT></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond">I =
> am trying to set up a case study from 1997 in GARP,&nbsp; I seem to be =
> able to connect to satellite imagery and model output, but I am unable =
> to get GAR</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond">P</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond"> to</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Garamond">&#8220;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond">see</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">&#8221;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond"> the surface or upperair =
> files.&nbsp; I have not altered my current =
> Garp_defaults</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Garamond">or =
> config.tbl</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Garamond">file</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">s</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond">, opting instead to =
> rework a copy of the</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Garamond">G</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">emenviron and rename all of the</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Garamond">pertinent</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Garamond">files to the current naming convection.&nbsp; I have =
> check and rechecked</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond"> each of these surface =
> and upperair files, to no avail.</FONT></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Advice?</FONT></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Pat</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"></SPAN><A NAME=3D""><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Garamond">Dr. Patrick S. =
> Market</FONT></SPAN></A><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Dept. of Soil, Environ. &amp; Atmospheric =
> Sci.</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">University of Missouri-Columbia</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Columbia, MO&nbsp; 65211</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Garamond">Voice: 573-882-1496</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
>
> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"></SPAN></P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C3EFE9.602F222B--
>
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
> --
>
> ------- End of Forwarded Message
>
#!/bin/csh  -f
#----------------------------------------------------------------
#
# ntl.case
#
# This script initializes the NAWIPS environment for viewing
# case study data (rather than real-time data).  
#
# Usage:
#      ntl.case  PATH 
#
# where PATH is the path to the top level of the case study data 
# directory tree (for example :/usr1/metdat/11mar93)
#
# Log:
# COMET         ??      Original version of script called ntl.csh
# P.Bruehl      11/95   New version
#----------------------------------------------------------------

# Check for argument

if ( $#argv != 1 ) then
 echo " "
 echo "You must specify the PATH to the top level of the data directory tree" 
 echo "Example ntl.csl /usr1/metdat/11mar93"
 echo " "
 exit
endif

# Check if there is another copy of NTL running.

rm -f ntl.file
/bin/ps -ef | grep ntl | grep -v ntl_reader | grep -v grep | grep -v ntl.case  
> ntl.file

if ( -e ntl.file) set ntlproc = `cat ntl.file`
if ( $#ntlproc != 0 ) then
 echo " "
 echo "WARNING! Another copy of NTL is running on your system.  You may not" 
 echo "run two copies of NTL on the same display device (HP monitor)." 
 echo -n "Do you want to continue? (y or n)"
 set resp = $<
 if ( $resp == "y" | $resp == "Y" ) then
   echo "Warning, NTL may not start up" 
   echo " "
 else   
   echo "OK. Please exit from first copy of NTL before running ntl.case again"
   echo " "
   exit
 endif
 rm ntl.file
endif 

# Start initialization of NTL

echo " "
echo "Initializing NTL for Case Study Data located in $1"

# Set top level data directory
setenv METDAT $1
setenv NADATA $METDAT

shift

# Set underlying data environment variables based on $METDAT

# Model data 
setenv MODEL            $METDAT/gempak/grids

# Satellite data
setenv SAT              $METDAT/images/sat
setenv NASAT            $METDAT/images/sat
setenv NIDS             $METDAT/images/nexrad

# Observational data 
setenv NALDM            $METDAT/gempak
setenv NALDMSN          $METDAT/gempak/upperair
setenv SAO_GEM_DATA     $METDAT/gempak/surface
setenv TEXT_DATA        $METDAT/weather

# Insert GEMPAK variables here...
setenv GEMDATA          $METDAT/gempak

# Ntrans meta files
setenv  NTRANS_META     $METDAT/meta

# Afos emulator
setenv AFOS_DATA        $METDAT/raw/afos


# Re-set the NWX_TABLES directory to point at the tables/
# subdirectory in the NWX data directory (if it exists).

if ( -d $TEXT_DATA/tables )  then
        setenv NWX_TABLES $TEXT_DATA/tables
endif

# Start up NTL in the background
ntl $* &