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

Re: 19990625: code for GRIB to .gem for GARP use




John,

You can ftp the file to where you downloaded the distribution from:
ftp.unidata.ucar.edu

use the gbuddy login you were given and cd to the incoming directory.

If you are in a csh, try running the command:
source /home/gempak...../Gemenviron

Gemenviron is in the top directory of the Gempak tree- wherever it is on
your system. Once you have sourced the file, that should add the $GEMEXE
directory to your path and define a bunch of other table directories which
all the Gempak programs use. If Gempak can't find those tables, it is
very clueless.

The Gemenviron file defines the location of NAWIPS near the top
of the file. If your sysadmin had set up gempak, then this location
should be correct- otherwise you will need to edit the file.

Steve Chiswell
Unidata User Support


 On Fri, 25 Jun 1999, John Knox wrote:

> Dear Steve,
> 
> Thanks for the comments.  Our former sysadmin set us up in 
> a way that does seem to do Gemenviron, but I can't find a 
> place where "source Gemenviron" is actually stated.  We've 
> in .bash but we type "csh" and so far I can't determine 
> what that does exactly--clearly it puts us in a c-shell, 
> but I can't find what that command does exactly.  I'd guess 
> that we're not all hooked up Gemenviron-wise, given the 
> problem with getting nagrib to run outside of its directory.
> 
> Where exactly do you want me to ftp to [full address]?  
> I'll send you a GRIB file and the commands we used.
> 
> Thanks for your help, and again, sorry to be so slow about 
> these things!
> 
> John
> 
> On Fri, 25 Jun 1999 15:08:53 -0600 Steve Chiswell 
> <address@hidden> wrote:
> 
> > John,
> > 
> > Your environment should be configured so that your csh sources the 
> > $NAWIPS/Gemenviron file. This will add the location of the
> > nawips executable into your path. You should not need to
> > run within the $GEMEXE directory...and you may not have write
> > permission in that directory to create the output file.
> > If your environment does not find the nagrib program unless you are in the
> > GEMEXE directory, then it sounds like you have not sourced Gemenviron
> > into your working environment.
> > 
> > It would be of help to me to see your input commands to nagrib
> > and if possible, could you ftp sample of your grib file into
> > ~gbuddy/incoming 
> > 
> > To make garp see your gempak grid file, the resultant file will need to
> > be located in the directory pointed to by $HDS, and the
> > $GARPHOME/config/Garp_defaults file will need matching entries for
> > modellabels and modelkeys (eg strings that will be identify the data set
> > in the Garp model menu, and corresponding key string to match
> > when searching the $HDS directory). That is, Garp uses the modelkeys
> > list to identify files which match the patterns in the comma separated
> > list, and associates them with the model pull down menu lable which
> > uses the string in the corresponding entry in modellabels.
> > 
> > Steve Chiswell
> > Unidata User Support
> > 
> > 
> > 
> > On Fri, 25 Jun 1999, John Knox wrote:
> > 
> > > Dear Steve,
> > > 
> > > Thanks for the information... I'm new to GEMPAK, not a 
> > > computer wizard, and our systems person graduated (not to 
> > > be replaced) in May.  [Welcome to a small school.]
> > > 
> > > Quick follow-up questions:
> > > 
> > > 1) Am I right that to get NAGRIB working, you simply go to 
> > > the directory it's in and type "nagrib"?
> > > 2) We tried this and put in all the commands Bob Creasey 
> > > suggested plus the table command you suggested, but it gave 
> > > a [NAGRIB -12] error and didn't read anything or write 
> > > anything.  I thought this might be an error in specifying 
> > > where the GRIB data resides, but I placed the GRIB file in 
> > > the same directory as nagrib without any improvement.  
> > > What's wrong?
> > > 3) Assuming this hurdle can be overcome and the .gem files 
> > > are written, then one more question: how will GARP know 
> > > that this data is there?  Will I see "NCEP" or whatever 
> > > displayed as a choice on the top left of the GUI?
> > > 
> > > Thanks for your help, and sorry to be such a novice.
> > > 
> > > John
> > > 
> > > On Fri, 25 Jun 1999 12:50:33 -0600 Steve Chiswell 
> > > <address@hidden> wrote:
> > > 
> > > > John,
> > > > 
> > > > nagrib and dcgrib are both used for converting Grid format
> > > > data into gempak files. I provided a ncarncep reanalysis
> > > > parameter conversion table for mapping the grib parameters 
> > > > to gempak parameters (ncar/ncep reanalysis does not use the same
> > > > table as the ncep operational models). The table ncarncep1.tbl
> > > > should be located in the $GEMTBL/grid directory - you can
> > > > specify for nagrib to use this table by setting:
> > > > gbtbls = ncarncep1.tbl
> > > > 
> > > > Steve Chiswell
> > > > Unidata User Support
> > > > address@hidden
> > > > 
> > > > On Fri, 25 Jun 1999, John Knox wrote:
> > > > 
> > > > > 
> > > > > I have some data files in GRIB format from the NCEP 
> > > > > Reanalysis project that I would like to be able to view 
> > > > > using GEMPAK/GARP.  Does anyone have software that can 
> > > > > convert GRIB to .gem format?
> > > > > 
> > > > > Thanks!
> > > > > 
> > > > > John
> > > > > 
> > > > > ------------------------------------------------
> > > > > Dr. John A. Knox
> > > > > Assistant Professor of Geography and Meteorology
> > > > > Room 15, Mueller Hall
> > > > > Valparaiso University
> > > > > Valparaiso, IN 46383
> > > > > E-mail: address@hidden
> > > > > Office Phone: 219-464-6003
> > > > > 
> > > > > 
> > > > 
> > > 
> > > ------------------------------------------------
> > > Dr. John A. Knox
> > > Assistant Professor of Geography and Meteorology
> > > Room 15, Mueller Hall
> > > Valparaiso University
> > > Valparaiso, IN 46383
> > > E-mail: address@hidden
> > > Office Phone: 219-464-6003
> > > 
> > > 
> > 
> 
> ------------------------------------------------
> Dr. John A. Knox
> Assistant Professor of Geography and Meteorology
> Room 15, Mueller Hall
> Valparaiso University
> Valparaiso, IN 46383
> E-mail: address@hidden
> Office Phone: 219-464-6003
> 
>