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

Re: 20011123: GEMPAK: Using buoy/ship/metar and altm/pmsl for analysis



Christian,

A slip up on my instructions.

Create the surface file with both PMSL and ALTI in sfcfil (normally, as you
mentioned, ship files don't have ALTI in them). Probably the best thing to do
is use your standard metar table, and allow room for the extra ship stations in
TIMSTN. Then use sfmod to merge the metar and ship files into the single file.
You should then be able to create the barnes analysis of PANY (using either
PMSL or ALTM as available).

Steve Chiswell
Unidata User Support

On Sat, 8 Dec 2001, Christian Page wrote:

> 
> Hi Steve,
> 
> Thank you very much for the code, it is very much appreciated.
> I tested it, everything when fine for the compilation, but when running it I 
> get
> only one error:
> 
> When trying, in sfmod, to include buoy data, I get that PANY is not 
> computable.
> I tried to find why but failed, since I don't know much about the structure of
> the code. Was there another modification needed?
> 
> Thanks a lot again,
> 
> Christian Page
> UQAM
> 
> On Fri, 7 Dec 2001, Steve Chiswell wrote:
> 
> >
> >
> > Christian,
> >
> > The easiest way to do this is probably to create a function that
> > returns PMSL if it exists, or ALMT if that exists and PMSL doesn't.
> >
> > I've attatched 4 files (GEMPAK 5.6.e.1):
> > $GEMPAK/source/gemlib/pr/prpany.f
> > $GEMPAK/source/gemlib/pc/pcfunc.f
> > $GEMTBL/parms/pcconv.tbl
> > $GEMPAK/source/gemlib/pr/Makefile
> >
> > The first file creates a function called PR_PANY which will accepts the
> > 2 parameters ALTM and PMSL and returns PMSL if it exists, otherwise,
> > ALTM if it exists, or -9999.00 if neither exist.
> >
> > The Makefile has the addition of this prpany function included in it. If you
> > aren't running 5.6.e.1, then instead of using this makefile, just add
> > the $(ALIB)/(prpany.o) target to the list of your current Makefile.
> >
> > The pcfunc.f routine adds the call for PR_PANY if that is the requested 
> > routine.
> > Again, if your aren't running 5.6.e.1, then just make the appropriate
> > additin to  your current file (that way you don't have to worry about any
> > other functions that mmight be in 5.6.e.1 that you don't have.
> >
> > Lastly, the pcconv.tbl tells the package to use the PR_PANY ( ALTM, PMSL )
> > if you specify PANY as a parameter.
> >
> >
> > Then, just rebuild the pr library, the pc library, and your programs with:
> >
> > cd $GEMPAK/source/gemlib/pr
> > make all
> > make clean
> >
> > cd $GEMPAK/source/gemlib/pc
> > make all
> > make clean
> >
> > cd $GEMPAK/source/programs
> > make clean
> > make all
> > make install
> > make clean
> >
> > Now, if you specify SFPARM=PANY, you should get whichever pressure exists.
> >
> > To create a barnes analysis of both METAR and SHIP data,
> > you would create a new surface file with a SFPRMF=PANY and
> > use SFMOD to copy the data from each file to a single file. Then
> > do the Barnes analysis.
> >
> > Steve Chiswell
> > Unidata User Support
> >
> >
> >
> >
> > The first file creates a function called PR
> >
> > On Fri, 7 Dec 2001, Unidata Support wrote:
> >
> > > Christian Page <address@hidden>
> > > >From: Christian Page <address@hidden>
> > > >Organization: UCAR/Unidata
> > > >Keywords: 200111231327.fANDRmN17503
> > >
> > > >
> > > >Hi,
> > > >
> > > >I have a problem. Ship and buoy data report pmsl and not altm. In 
> > > >Europe, meta
> > > > r
> > > >surface reports only report altm. How can I generate a Barnes analysis 
> > > >of mean
> > > >sea-level pressure using buoy/ship and metar surface data since altm 
> > > >doesn't
> > > >cover all the data, and neither pmsl do?
> > > >
> > > >Thanks,
> > > >
> > > >Christian Page
> > > >UQAM
> > > >
> > >
> > > Christian,
> > >
> > >
> > >
> >
>