[Met_help] [rt.rap.ucar.edu #81606] History for question on syntax for gen_vx_mask input file?

Minna Win via RT met_help at ucar.edu
Tue Aug 15 13:58:27 MDT 2017


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hi,

I can't find any documentation for the syntax for the input file used with
gen_vx_mask, other than the poly name with pairs of data.  My mask is small:
npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0

but, I get the error:
[opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
/opt/MET6/met6.0/bin/gen_vx_mask
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
/opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc -v 2
DEBUG 1: Input File:
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
DEBUG 1: Mask File:
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
ERROR  :
ERROR  : MaskPoly::load() -> masking polyline files consist of a string for
the name followed by pairs of latitude and longitude values. The polyline
name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0") cannot
contain embedded whitespace!
ERROR  :

I just need to know the proper way to set up the input file.

Thanks!

Roz

-- 
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: question on syntax for gen_vx_mask input file?
From: Minna Win
Time: Tue Aug 15 07:23:23 2017

Hi Rosalyn,

It appears that you need to see a sample of a poly file format.  The
poly
files need a header followed by the lat,lon pairs.  Here is an example
of a
poly file used by MET:


EAST
47.21184 -98.23244
47.11518 -97.12586
46.36584 -97.27562
45.62014 -97.41983
45.51431 -96.35903
44.77478 -96.51689
44.03891 -96.66912
43.30675 -96.81602
42.57834 -96.95787
41.85373 -97.09491
41.13296 -97.22739


I hope you find this helpful.  Please let us know if you need further
assistance.


Regards,
Minna

---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax:   302-497-8401


On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
<met_help at ucar.edu> wrote:

>
> Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
>        Queue: met_help
>      Subject: question on syntax for gen_vx_mask input file?
>        Owner: Nobody
>   Requestors: rosalyn.maccracken at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
>
>
> Hi,
>
> I can't find any documentation for the syntax for the input file
used with
> gen_vx_mask, other than the poly name with pairs of data.  My mask
is
> small:
> npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
>
> but, I get the error:
> [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> /opt/MET6/met6.0/bin/gen_vx_mask
>
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
> /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> /opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc -v 2
> DEBUG 1: Input File:
>
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
> DEBUG 1: Mask File:
> /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> ERROR  :
> ERROR  : MaskPoly::load() -> masking polyline files consist of a
string for
> the name followed by pairs of latitude and longitude values. The
polyline
> name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0")
cannot
> contain embedded whitespace!
> ERROR  :
>
> I just need to know the proper way to set up the input file.
>
> Thanks!
>
> Roz
>
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551
> rosalyn.maccracken at noaa.gov
>
>

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Rosalyn MacCracken - NOAA Affiliate
Time: Tue Aug 15 07:29:26 2017

Oh, so, the poly file name is a single line at the top, and there is
no
space in between the lat/lon pairs?  Or, is that a space...hard to
tell
from the email.

So, that is:
Lat1 Lon1
Lat2 Lon2
Lat3 Lon3
etc
correct?  Not all on one line, right?

Roz

On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT <met_help at ucar.edu>
wrote:

> Hi Rosalyn,
>
> It appears that you need to see a sample of a poly file format.  The
poly
> files need a header followed by the lat,lon pairs.  Here is an
example of a
> poly file used by MET:
>
>
> EAST
> 47.21184 -98.23244
> 47.11518 -97.12586
> 46.36584 -97.27562
> 45.62014 -97.41983
> 45.51431 -96.35903
> 44.77478 -96.51689
> 44.03891 -96.66912
> 43.30675 -96.81602
> 42.57834 -96.95787
> 41.85373 -97.09491
> 41.13296 -97.22739
>
>
> I hope you find this helpful.  Please let us know if you need
further
> assistance.
>
>
> Regards,
> Minna
>
> ---------------
> Minna Win
> NCAR
> Research Applications Lab
> Phone: 303-497-8423
> Fax:   302-497-8401
>
>
> On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
> <met_help at ucar.edu> wrote:
>
> >
> > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> > Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> >        Queue: met_help
> >      Subject: question on syntax for gen_vx_mask input file?
> >        Owner: Nobody
> >   Requestors: rosalyn.maccracken at noaa.gov
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> >
> >
> > Hi,
> >
> > I can't find any documentation for the syntax for the input file
used
> with
> > gen_vx_mask, other than the poly name with pairs of data.  My mask
is
> > small:
> > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> >
> > but, I get the error:
> > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> > /opt/MET6/met6.0/bin/gen_vx_mask
> >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
> > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > /opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc -v 2
> > DEBUG 1: Input File:
> >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.f000
> > DEBUG 1: Mask File:
> > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> > ERROR  :
> > ERROR  : MaskPoly::load() -> masking polyline files consist of a
string
> for
> > the name followed by pairs of latitude and longitude values. The
polyline
> > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0")
cannot
> > contain embedded whitespace!
> > ERROR  :
> >
> > I just need to know the proper way to set up the input file.
> >
> > Thanks!
> >
> > Roz
> >
> > --
> > Rosalyn MacCracken
> > Support Scientist
> >
> > Ocean Applilcations Branch
> > NOAA/NWS Ocean Prediction Center
> > NCWCP
> > 5830 University Research Ct
> > College Park, MD  20740-3818
> >
> > (p) 301-683-1551
> > rosalyn.maccracken at noaa.gov
> >
> >
>
>


--
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Minna Win
Time: Tue Aug 15 07:32:23 2017

Hi Roz,

Yes, my apologies for not indicating that there is a whitespace
between the
lat-lon values, with each lat-lon pair to a line.


Regards,
Minna

---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax:   302-497-8401


On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
<met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
>
> Oh, so, the poly file name is a single line at the top, and there is
no
> space in between the lat/lon pairs?  Or, is that a space...hard to
tell
> from the email.
>
> So, that is:
> Lat1 Lon1
> Lat2 Lon2
> Lat3 Lon3
> etc
> correct?  Not all on one line, right?
>
> Roz
>
> On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT
<met_help at ucar.edu>
> wrote:
>
> > Hi Rosalyn,
> >
> > It appears that you need to see a sample of a poly file format.
The poly
> > files need a header followed by the lat,lon pairs.  Here is an
example
> of a
> > poly file used by MET:
> >
> >
> > EAST
> > 47.21184 -98.23244
> > 47.11518 -97.12586
> > 46.36584 -97.27562
> > 45.62014 -97.41983
> > 45.51431 -96.35903
> > 44.77478 -96.51689
> > 44.03891 -96.66912
> > 43.30675 -96.81602
> > 42.57834 -96.95787
> > 41.85373 -97.09491
> > 41.13296 -97.22739
> >
> >
> > I hope you find this helpful.  Please let us know if you need
further
> > assistance.
> >
> >
> > Regards,
> > Minna
> >
> > ---------------
> > Minna Win
> > NCAR
> > Research Applications Lab
> > Phone: 303-497-8423
> > Fax:   302-497-8401
> >
> >
> > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA
Affiliate via
> RT
> > <met_help at ucar.edu> wrote:
> >
> > >
> > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> > > Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> > >        Queue: met_help
> > >      Subject: question on syntax for gen_vx_mask input file?
> > >        Owner: Nobody
> > >   Requestors: rosalyn.maccracken at noaa.gov
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606
> >
> > >
> > >
> > > Hi,
> > >
> > > I can't find any documentation for the syntax for the input file
used
> > with
> > > gen_vx_mask, other than the poly name with pairs of data.  My
mask is
> > > small:
> > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> > >
> > > but, I get the error:
> > > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> > > /opt/MET6/met6.0/bin/gen_vx_mask
> > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
> f000
> > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc -v
2
> > > DEBUG 1: Input File:
> > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
> f000
> > > DEBUG 1: Mask File:
> > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> > > ERROR  :
> > > ERROR  : MaskPoly::load() -> masking polyline files consist of a
string
> > for
> > > the name followed by pairs of latitude and longitude values. The
> polyline
> > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0")
cannot
> > > contain embedded whitespace!
> > > ERROR  :
> > >
> > > I just need to know the proper way to set up the input file.
> > >
> > > Thanks!
> > >
> > > Roz
> > >
> > > --
> > > Rosalyn MacCracken
> > > Support Scientist
> > >
> > > Ocean Applilcations Branch
> > > NOAA/NWS Ocean Prediction Center
> > > NCWCP
> > > 5830 University Research Ct
> > > College Park, MD  20740-3818
> > >
> > > (p) 301-683-1551
> > > rosalyn.maccracken at noaa.gov
> > >
> > >
> >
> >
>
>
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551
> rosalyn.maccracken at noaa.gov
>
>

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Rosalyn MacCracken - NOAA Affiliate
Time: Tue Aug 15 07:59:34 2017

Great.  I'll try that, and let you know if I have success.  So, don't
close
the ticket yet.

Roz

On Tue, Aug 15, 2017 at 9:32 AM, Minna Win via RT <met_help at ucar.edu>
wrote:

> Hi Roz,
>
> Yes, my apologies for not indicating that there is a whitespace
between the
> lat-lon values, with each lat-lon pair to a line.
>
>
> Regards,
> Minna
>
> ---------------
> Minna Win
> NCAR
> Research Applications Lab
> Phone: 303-497-8423
> Fax:   302-497-8401
>
>
> On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
> <met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> >
> > Oh, so, the poly file name is a single line at the top, and there
is no
> > space in between the lat/lon pairs?  Or, is that a space...hard to
tell
> > from the email.
> >
> > So, that is:
> > Lat1 Lon1
> > Lat2 Lon2
> > Lat3 Lon3
> > etc
> > correct?  Not all on one line, right?
> >
> > Roz
> >
> > On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT
<met_help at ucar.edu>
> > wrote:
> >
> > > Hi Rosalyn,
> > >
> > > It appears that you need to see a sample of a poly file format.
The
> poly
> > > files need a header followed by the lat,lon pairs.  Here is an
example
> > of a
> > > poly file used by MET:
> > >
> > >
> > > EAST
> > > 47.21184 -98.23244
> > > 47.11518 -97.12586
> > > 46.36584 -97.27562
> > > 45.62014 -97.41983
> > > 45.51431 -96.35903
> > > 44.77478 -96.51689
> > > 44.03891 -96.66912
> > > 43.30675 -96.81602
> > > 42.57834 -96.95787
> > > 41.85373 -97.09491
> > > 41.13296 -97.22739
> > >
> > >
> > > I hope you find this helpful.  Please let us know if you need
further
> > > assistance.
> > >
> > >
> > > Regards,
> > > Minna
> > >
> > > ---------------
> > > Minna Win
> > > NCAR
> > > Research Applications Lab
> > > Phone: 303-497-8423
> > > Fax:   302-497-8401
> > >
> > >
> > > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA
Affiliate
> via
> > RT
> > > <met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> > > > Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> > > >        Queue: met_help
> > > >      Subject: question on syntax for gen_vx_mask input file?
> > > >        Owner: Nobody
> > > >   Requestors: rosalyn.maccracken at noaa.gov
> > > >       Status: new
> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=81606
> > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I can't find any documentation for the syntax for the input
file used
> > > with
> > > > gen_vx_mask, other than the poly name with pairs of data.  My
mask is
> > > > small:
> > > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> > > >
> > > > but, I get the error:
> > > > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> > > > /opt/MET6/met6.0/bin/gen_vx_mask
> > > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
> > f000
> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc
-v 2
> > > > DEBUG 1: Input File:
> > > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
> > f000
> > > > DEBUG 1: Mask File:
> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> > > > ERROR  :
> > > > ERROR  : MaskPoly::load() -> masking polyline files consist of
a
> string
> > > for
> > > > the name followed by pairs of latitude and longitude values.
The
> > polyline
> > > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0
70.0,115.0")
> cannot
> > > > contain embedded whitespace!
> > > > ERROR  :
> > > >
> > > > I just need to know the proper way to set up the input file.
> > > >
> > > > Thanks!
> > > >
> > > > Roz
> > > >
> > > > --
> > > > Rosalyn MacCracken
> > > > Support Scientist
> > > >
> > > > Ocean Applilcations Branch
> > > > NOAA/NWS Ocean Prediction Center
> > > > NCWCP
> > > > 5830 University Research Ct
> > > > College Park, MD  20740-3818
> > > >
> > > > (p) 301-683-1551
> > > > rosalyn.maccracken at noaa.gov
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Rosalyn MacCracken
> > Support Scientist
> >
> > Ocean Applilcations Branch
> > NOAA/NWS Ocean Prediction Center
> > NCWCP
> > 5830 University Research Ct
> > College Park, MD  20740-3818
> >
> > (p) 301-683-1551
> > rosalyn.maccracken at noaa.gov
> >
> >
>
>


--
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Rosalyn MacCracken - NOAA Affiliate
Time: Tue Aug 15 11:02:16 2017

Hi Minna,

I think that I generated the mask correctly.  I don't have the ncview
utility to view that the region I defined is correct.  Is there
another way
to display my mask file?

Roz

On Tue, Aug 15, 2017 at 9:59 AM, Rosalyn MacCracken - NOAA Affiliate <
rosalyn.maccracken at noaa.gov> wrote:

> Great.  I'll try that, and let you know if I have success.  So,
don't
> close the ticket yet.
>
> Roz
>
> On Tue, Aug 15, 2017 at 9:32 AM, Minna Win via RT
<met_help at ucar.edu>
> wrote:
>
>> Hi Roz,
>>
>> Yes, my apologies for not indicating that there is a whitespace
between
>> the
>> lat-lon values, with each lat-lon pair to a line.
>>
>>
>> Regards,
>> Minna
>>
>> ---------------
>> Minna Win
>> NCAR
>> Research Applications Lab
>> Phone: 303-497-8423
>> Fax:   302-497-8401
>>
>>
>> On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA
Affiliate via
>> RT
>> <met_help at ucar.edu> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
>> >
>> > Oh, so, the poly file name is a single line at the top, and there
is no
>> > space in between the lat/lon pairs?  Or, is that a space...hard
to tell
>> > from the email.
>> >
>> > So, that is:
>> > Lat1 Lon1
>> > Lat2 Lon2
>> > Lat3 Lon3
>> > etc
>> > correct?  Not all on one line, right?
>> >
>> > Roz
>> >
>> > On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > > Hi Rosalyn,
>> > >
>> > > It appears that you need to see a sample of a poly file format.
The
>> poly
>> > > files need a header followed by the lat,lon pairs.  Here is an
example
>> > of a
>> > > poly file used by MET:
>> > >
>> > >
>> > > EAST
>> > > 47.21184 -98.23244
>> > > 47.11518 -97.12586
>> > > 46.36584 -97.27562
>> > > 45.62014 -97.41983
>> > > 45.51431 -96.35903
>> > > 44.77478 -96.51689
>> > > 44.03891 -96.66912
>> > > 43.30675 -96.81602
>> > > 42.57834 -96.95787
>> > > 41.85373 -97.09491
>> > > 41.13296 -97.22739
>> > >
>> > >
>> > > I hope you find this helpful.  Please let us know if you need
further
>> > > assistance.
>> > >
>> > >
>> > > Regards,
>> > > Minna
>> > >
>> > > ---------------
>> > > Minna Win
>> > > NCAR
>> > > Research Applications Lab
>> > > Phone: 303-497-8423 <(303)%20497-8423>
>> > > Fax:   302-497-8401 <(302)%20497-8401>
>> > >
>> > >
>> > > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA
Affiliate
>> via
>> > RT
>> > > <met_help at ucar.edu> wrote:
>> > >
>> > > >
>> > > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
>> > > > Transaction: Ticket created by rosalyn.maccracken at noaa.gov
>> > > >        Queue: met_help
>> > > >      Subject: question on syntax for gen_vx_mask input file?
>> > > >        Owner: Nobody
>> > > >   Requestors: rosalyn.maccracken at noaa.gov
>> > > >       Status: new
>> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=81606
>> > >
>> > > >
>> > > >
>> > > > Hi,
>> > > >
>> > > > I can't find any documentation for the syntax for the input
file
>> used
>> > > with
>> > > > gen_vx_mask, other than the poly name with pairs of data.  My
mask
>> is
>> > > > small:
>> > > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
>> > > >
>> > > > but, I get the error:
>> > > > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
>> > > > /opt/MET6/met6.0/bin/gen_vx_mask
>> > > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
>> > f000
>> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
>> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc
-v 2
>> > > > DEBUG 1: Input File:
>> > > >
/common/data/model/com/gfs/prod/gfs.2017080900/gfs.t00z.pgrb2.0p25.
>> > f000
>> > > > DEBUG 1: Mask File:
>> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
>> > > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
>> > > > ERROR  :
>> > > > ERROR  : MaskPoly::load() -> masking polyline files consist
of a
>> string
>> > > for
>> > > > the name followed by pairs of latitude and longitude values.
The
>> > polyline
>> > > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0
70.0,115.0")
>> cannot
>> > > > contain embedded whitespace!
>> > > > ERROR  :
>> > > >
>> > > > I just need to know the proper way to set up the input file.
>> > > >
>> > > > Thanks!
>> > > >
>> > > > Roz
>> > > >
>> > > > --
>> > > > Rosalyn MacCracken
>> > > > Support Scientist
>> > > >
>> > > > Ocean Applilcations Branch
>> > > > NOAA/NWS Ocean Prediction Center
>> > > > NCWCP
>> > > > 5830 University Research Ct
>> > > > College Park, MD  20740-3818
>> > > >
>> > > > (p) 301-683-1551 <(301)%20683-1551>
>> > > > rosalyn.maccracken at noaa.gov
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>> > --
>> > Rosalyn MacCracken
>> > Support Scientist
>> >
>> > Ocean Applilcations Branch
>> > NOAA/NWS Ocean Prediction Center
>> > NCWCP
>> > 5830 University Research Ct
>> > College Park, MD  20740-3818
>> >
>> > (p) 301-683-1551
>> > rosalyn.maccracken at noaa.gov
>> >
>> >
>>
>>
>
>
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551 <(301)%20683-1551>
> rosalyn.maccracken at noaa.gov
>



--
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Minna Win
Time: Tue Aug 15 11:52:57 2017

Hi Roz,

You can use plot_data_plane to generate a plot in Postscript, which
you can
then view in any Postscript viewer such as ghostview.  Here's how you
can
generate a plot:
<your-MET-bin>/plot_data_plane \
<your gridded data file> \
<output file name>.ps \
'name="your variable"; level="level of interest";'

These are the required arguments for plot_data_plane.

so for example, if I had a NetCDF file with variable APCP_18 and I was
interested in pressure level 0 mb, I would do the following:

<my-MET-bin>/plot_data_plane \
nam_2012040900 <%28201%29%20204-0900>_F018_APCP18.nc \
nam_F018_APCP18.ps \
'name="APCP18"; level="P0";'

This will generate the plot for APCP18 at the specified level with the
name
nam_F018_APCP18.ps  If you want to add a title, change the color, etc.
there are options you can use.  Please refer to the MET User Guide on
page
290-291 for more information on these options:
http://www.dtcenter.org/met/users/docs/users_guide/MET_Users_Guide_v6.0.pdf


I hope that helps.  Please let us know if you have any other
questions.

Regards,
Minna

---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax:   302-497-8401


On Tue, Aug 15, 2017 at 5:02 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
<met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
>
> Hi Minna,
>
> I think that I generated the mask correctly.  I don't have the
ncview
> utility to view that the region I defined is correct.  Is there
another way
> to display my mask file?
>
> Roz
>
> On Tue, Aug 15, 2017 at 9:59 AM, Rosalyn MacCracken - NOAA Affiliate
<
> rosalyn.maccracken at noaa.gov> wrote:
>
> > Great.  I'll try that, and let you know if I have success.  So,
don't
> > close the ticket yet.
> >
> > Roz
> >
> > On Tue, Aug 15, 2017 at 9:32 AM, Minna Win via RT
<met_help at ucar.edu>
> > wrote:
> >
> >> Hi Roz,
> >>
> >> Yes, my apologies for not indicating that there is a whitespace
between
> >> the
> >> lat-lon values, with each lat-lon pair to a line.
> >>
> >>
> >> Regards,
> >> Minna
> >>
> >> ---------------
> >> Minna Win
> >> NCAR
> >> Research Applications Lab
> >> Phone: 303-497-8423
> >> Fax:   302-497-8401
> >>
> >>
> >> On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA
Affiliate via
> >> RT
> >> <met_help at ucar.edu> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> >> >
> >> > Oh, so, the poly file name is a single line at the top, and
there is
> no
> >> > space in between the lat/lon pairs?  Or, is that a space...hard
to
> tell
> >> > from the email.
> >> >
> >> > So, that is:
> >> > Lat1 Lon1
> >> > Lat2 Lon2
> >> > Lat3 Lon3
> >> > etc
> >> > correct?  Not all on one line, right?
> >> >
> >> > Roz
> >> >
> >> > On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT
<met_help at ucar.edu>
> >> > wrote:
> >> >
> >> > > Hi Rosalyn,
> >> > >
> >> > > It appears that you need to see a sample of a poly file
format.  The
> >> poly
> >> > > files need a header followed by the lat,lon pairs.  Here is
an
> example
> >> > of a
> >> > > poly file used by MET:
> >> > >
> >> > >
> >> > > EAST
> >> > > 47.21184 -98.23244
> >> > > 47.11518 -97.12586
> >> > > 46.36584 -97.27562
> >> > > 45.62014 -97.41983
> >> > > 45.51431 -96.35903
> >> > > 44.77478 -96.51689
> >> > > 44.03891 -96.66912
> >> > > 43.30675 -96.81602
> >> > > 42.57834 -96.95787
> >> > > 41.85373 -97.09491
> >> > > 41.13296 -97.22739
> >> > >
> >> > >
> >> > > I hope you find this helpful.  Please let us know if you need
> further
> >> > > assistance.
> >> > >
> >> > >
> >> > > Regards,
> >> > > Minna
> >> > >
> >> > > ---------------
> >> > > Minna Win
> >> > > NCAR
> >> > > Research Applications Lab
> >> > > Phone: 303-497-8423 <(303)%20497-8423>
> >> > > Fax:   302-497-8401 <(302)%20497-8401>
> >> > >
> >> > >
> >> > > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA
Affiliate
> >> via
> >> > RT
> >> > > <met_help at ucar.edu> wrote:
> >> > >
> >> > > >
> >> > > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> >> > > > Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> >> > > >        Queue: met_help
> >> > > >      Subject: question on syntax for gen_vx_mask input
file?
> >> > > >        Owner: Nobody
> >> > > >   Requestors: rosalyn.maccracken at noaa.gov
> >> > > >       Status: new
> >> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=81606
> >> > >
> >> > > >
> >> > > >
> >> > > > Hi,
> >> > > >
> >> > > > I can't find any documentation for the syntax for the input
file
> >> used
> >> > > with
> >> > > > gen_vx_mask, other than the poly name with pairs of data.
My mask
> >> is
> >> > > > small:
> >> > > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> >> > > >
> >> > > > but, I get the error:
> >> > > > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> >> > > > /opt/MET6/met6.0/bin/gen_vx_mask
> >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> /gfs.t00z.pgrb2.0p25.
> >> > f000
> >> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc -v
> 2
> >> > > > DEBUG 1: Input File:
> >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> /gfs.t00z.pgrb2.0p25.
> >> > f000
> >> > > > DEBUG 1: Mask File:
> >> > > > /opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> >> > > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> >> > > > ERROR  :
> >> > > > ERROR  : MaskPoly::load() -> masking polyline files consist
of a
> >> string
> >> > > for
> >> > > > the name followed by pairs of latitude and longitude
values. The
> >> > polyline
> >> > > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0
70.0,115.0")
> >> cannot
> >> > > > contain embedded whitespace!
> >> > > > ERROR  :
> >> > > >
> >> > > > I just need to know the proper way to set up the input
file.
> >> > > >
> >> > > > Thanks!
> >> > > >
> >> > > > Roz
> >> > > >
> >> > > > --
> >> > > > Rosalyn MacCracken
> >> > > > Support Scientist
> >> > > >
> >> > > > Ocean Applilcations Branch
> >> > > > NOAA/NWS Ocean Prediction Center
> >> > > > NCWCP
> >> > > > 5830 University Research Ct
> >> > > > College Park, MD  20740-3818
> >> > > >
> >> > > > (p) 301-683-1551 <(301)%20683-1551>
> >> > > > rosalyn.maccracken at noaa.gov
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Rosalyn MacCracken
> >> > Support Scientist
> >> >
> >> > Ocean Applilcations Branch
> >> > NOAA/NWS Ocean Prediction Center
> >> > NCWCP
> >> > 5830 University Research Ct
> >> > College Park, MD  20740-3818
> >> >
> >> > (p) 301-683-1551
> >> > rosalyn.maccracken at noaa.gov
> >> >
> >> >
> >>
> >>
> >
> >
> > --
> > Rosalyn MacCracken
> > Support Scientist
> >
> > Ocean Applilcations Branch
> > NOAA/NWS Ocean Prediction Center
> > NCWCP
> > 5830 University Research Ct
> > College Park, MD  20740-3818
> >
> > (p) 301-683-1551 <(301)%20683-1551>
> > rosalyn.maccracken at noaa.gov
> >
>
>
>
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551
> rosalyn.maccracken at noaa.gov
>
>

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Rosalyn MacCracken - NOAA Affiliate
Time: Tue Aug 15 12:16:23 2017

Hi Minna,

Thanks for letting me know about plot_data_plane.  I actually
remembered
that I could easily view the netCDF file with grads.  I had to move
the
file to a different machine, but, I was able to view it, correct my
mistakes with the *.poly file, and create my mask files.  So, I
believe I'm
set now.  I think you can close the ticket now, since i was successful
in
making my masks.

Thanks for your help!

Roz

On Tue, Aug 15, 2017 at 1:52 PM, Minna Win via RT <met_help at ucar.edu>
wrote:

> Hi Roz,
>
> You can use plot_data_plane to generate a plot in Postscript, which
you can
> then view in any Postscript viewer such as ghostview.  Here's how
you can
> generate a plot:
> <your-MET-bin>/plot_data_plane \
> <your gridded data file> \
> <output file name>.ps \
> 'name="your variable"; level="level of interest";'
>
> These are the required arguments for plot_data_plane.
>
> so for example, if I had a NetCDF file with variable APCP_18 and I
was
> interested in pressure level 0 mb, I would do the following:
>
> <my-MET-bin>/plot_data_plane \
> nam_2012040900 <%28201%29%20204-0900>_F018_APCP18.nc \
> nam_F018_APCP18.ps \
> 'name="APCP18"; level="P0";'
>
> This will generate the plot for APCP18 at the specified level with
the name
> nam_F018_APCP18.ps  If you want to add a title, change the color,
etc.
> there are options you can use.  Please refer to the MET User Guide
on page
> 290-291 for more information on these options:
> http://www.dtcenter.org/met/users/docs/users_guide/MET_
> Users_Guide_v6.0.pdf
>
>
> I hope that helps.  Please let us know if you have any other
questions.
>
> Regards,
> Minna
>
> ---------------
> Minna Win
> NCAR
> Research Applications Lab
> Phone: 303-497-8423
> Fax:   302-497-8401
>
>
> On Tue, Aug 15, 2017 at 5:02 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
> <met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> >
> > Hi Minna,
> >
> > I think that I generated the mask correctly.  I don't have the
ncview
> > utility to view that the region I defined is correct.  Is there
another
> way
> > to display my mask file?
> >
> > Roz
> >
> > On Tue, Aug 15, 2017 at 9:59 AM, Rosalyn MacCracken - NOAA
Affiliate <
> > rosalyn.maccracken at noaa.gov> wrote:
> >
> > > Great.  I'll try that, and let you know if I have success.  So,
don't
> > > close the ticket yet.
> > >
> > > Roz
> > >
> > > On Tue, Aug 15, 2017 at 9:32 AM, Minna Win via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > >> Hi Roz,
> > >>
> > >> Yes, my apologies for not indicating that there is a whitespace
> between
> > >> the
> > >> lat-lon values, with each lat-lon pair to a line.
> > >>
> > >>
> > >> Regards,
> > >> Minna
> > >>
> > >> ---------------
> > >> Minna Win
> > >> NCAR
> > >> Research Applications Lab
> > >> Phone: 303-497-8423
> > >> Fax:   302-497-8401
> > >>
> > >>
> > >> On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA
Affiliate
> via
> > >> RT
> > >> <met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606
>
> > >> >
> > >> > Oh, so, the poly file name is a single line at the top, and
there is
> > no
> > >> > space in between the lat/lon pairs?  Or, is that a
space...hard to
> > tell
> > >> > from the email.
> > >> >
> > >> > So, that is:
> > >> > Lat1 Lon1
> > >> > Lat2 Lon2
> > >> > Lat3 Lon3
> > >> > etc
> > >> > correct?  Not all on one line, right?
> > >> >
> > >> > Roz
> > >> >
> > >> > On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT <
> met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> > > Hi Rosalyn,
> > >> > >
> > >> > > It appears that you need to see a sample of a poly file
format.
> The
> > >> poly
> > >> > > files need a header followed by the lat,lon pairs.  Here is
an
> > example
> > >> > of a
> > >> > > poly file used by MET:
> > >> > >
> > >> > >
> > >> > > EAST
> > >> > > 47.21184 -98.23244
> > >> > > 47.11518 -97.12586
> > >> > > 46.36584 -97.27562
> > >> > > 45.62014 -97.41983
> > >> > > 45.51431 -96.35903
> > >> > > 44.77478 -96.51689
> > >> > > 44.03891 -96.66912
> > >> > > 43.30675 -96.81602
> > >> > > 42.57834 -96.95787
> > >> > > 41.85373 -97.09491
> > >> > > 41.13296 -97.22739
> > >> > >
> > >> > >
> > >> > > I hope you find this helpful.  Please let us know if you
need
> > further
> > >> > > assistance.
> > >> > >
> > >> > >
> > >> > > Regards,
> > >> > > Minna
> > >> > >
> > >> > > ---------------
> > >> > > Minna Win
> > >> > > NCAR
> > >> > > Research Applications Lab
> > >> > > Phone: 303-497-8423 <(303)%20497-8423>
> > >> > > Fax:   302-497-8401 <(302)%20497-8401>
> > >> > >
> > >> > >
> > >> > > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken - NOAA
> Affiliate
> > >> via
> > >> > RT
> > >> > > <met_help at ucar.edu> wrote:
> > >> > >
> > >> > > >
> > >> > > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> > >> > > > Transaction: Ticket created by
rosalyn.maccracken at noaa.gov
> > >> > > >        Queue: met_help
> > >> > > >      Subject: question on syntax for gen_vx_mask input
file?
> > >> > > >        Owner: Nobody
> > >> > > >   Requestors: rosalyn.maccracken at noaa.gov
> > >> > > >       Status: new
> > >> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=81606
> > >> > >
> > >> > > >
> > >> > > >
> > >> > > > Hi,
> > >> > > >
> > >> > > > I can't find any documentation for the syntax for the
input file
> > >> used
> > >> > > with
> > >> > > > gen_vx_mask, other than the poly name with pairs of data.
My
> mask
> > >> is
> > >> > > > small:
> > >> > > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> > >> > > >
> > >> > > > but, I get the error:
> > >> > > > [opc_test at vm-lnx7-opctest2: ~/all_opc/tables/met_verif]>
> > >> > > > /opt/MET6/met6.0/bin/gen_vx_mask
> > >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> > /gfs.t00z.pgrb2.0p25.
> > >> > f000
> > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc
> -v
> > 2
> > >> > > > DEBUG 1: Input File:
> > >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> > /gfs.t00z.pgrb2.0p25.
> > >> > f000
> > >> > > > DEBUG 1: Mask File:
> > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > >> > > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> > >> > > > ERROR  :
> > >> > > > ERROR  : MaskPoly::load() -> masking polyline files
consist of a
> > >> string
> > >> > > for
> > >> > > > the name followed by pairs of latitude and longitude
values. The
> > >> > polyline
> > >> > > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0
70.0,115.0")
> > >> cannot
> > >> > > > contain embedded whitespace!
> > >> > > > ERROR  :
> > >> > > >
> > >> > > > I just need to know the proper way to set up the input
file.
> > >> > > >
> > >> > > > Thanks!
> > >> > > >
> > >> > > > Roz
> > >> > > >
> > >> > > > --
> > >> > > > Rosalyn MacCracken
> > >> > > > Support Scientist
> > >> > > >
> > >> > > > Ocean Applilcations Branch
> > >> > > > NOAA/NWS Ocean Prediction Center
> > >> > > > NCWCP
> > >> > > > 5830 University Research Ct
> > >> > > > College Park, MD  20740-3818
> > >> > > >
> > >> > > > (p) 301-683-1551 <(301)%20683-1551>
> > >> > > > rosalyn.maccracken at noaa.gov
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> > Rosalyn MacCracken
> > >> > Support Scientist
> > >> >
> > >> > Ocean Applilcations Branch
> > >> > NOAA/NWS Ocean Prediction Center
> > >> > NCWCP
> > >> > 5830 University Research Ct
> > >> > College Park, MD  20740-3818
> > >> >
> > >> > (p) 301-683-1551
> > >> > rosalyn.maccracken at noaa.gov
> > >> >
> > >> >
> > >>
> > >>
> > >
> > >
> > > --
> > > Rosalyn MacCracken
> > > Support Scientist
> > >
> > > Ocean Applilcations Branch
> > > NOAA/NWS Ocean Prediction Center
> > > NCWCP
> > > 5830 University Research Ct
> > > College Park, MD  20740-3818
> > >
> > > (p) 301-683-1551 <(301)%20683-1551>
> > > rosalyn.maccracken at noaa.gov
> > >
> >
> >
> >
> > --
> > Rosalyn MacCracken
> > Support Scientist
> >
> > Ocean Applilcations Branch
> > NOAA/NWS Ocean Prediction Center
> > NCWCP
> > 5830 University Research Ct
> > College Park, MD  20740-3818
> >
> > (p) 301-683-1551
> > rosalyn.maccracken at noaa.gov
> >
> >
>
>


--
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Minna Win
Time: Tue Aug 15 13:57:54 2017

Hi Roz,

I'm glad that worked for, thanks for letting us know the outcome.  I
will
close this ticket.  Please don't hesitate to submit a Help request if
you
have any other MET issues or questions.

Regards,
Minna

---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax:   302-497-8401


On Tue, Aug 15, 2017 at 6:16 PM, Rosalyn MacCracken - NOAA Affiliate
via RT
<met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
>
> Hi Minna,
>
> Thanks for letting me know about plot_data_plane.  I actually
remembered
> that I could easily view the netCDF file with grads.  I had to move
the
> file to a different machine, but, I was able to view it, correct my
> mistakes with the *.poly file, and create my mask files.  So, I
believe I'm
> set now.  I think you can close the ticket now, since i was
successful in
> making my masks.
>
> Thanks for your help!
>
> Roz
>
> On Tue, Aug 15, 2017 at 1:52 PM, Minna Win via RT
<met_help at ucar.edu>
> wrote:
>
> > Hi Roz,
> >
> > You can use plot_data_plane to generate a plot in Postscript,
which you
> can
> > then view in any Postscript viewer such as ghostview.  Here's how
you can
> > generate a plot:
> > <your-MET-bin>/plot_data_plane \
> > <your gridded data file> \
> > <output file name>.ps \
> > 'name="your variable"; level="level of interest";'
> >
> > These are the required arguments for plot_data_plane.
> >
> > so for example, if I had a NetCDF file with variable APCP_18 and I
was
> > interested in pressure level 0 mb, I would do the following:
> >
> > <my-MET-bin>/plot_data_plane \
> > nam_2012040900 <%28201%29%20204-0900>_F018_APCP18.nc \
> > nam_F018_APCP18.ps \
> > 'name="APCP18"; level="P0";'
> >
> > This will generate the plot for APCP18 at the specified level with
the
> name
> > nam_F018_APCP18.ps  If you want to add a title, change the color,
etc.
> > there are options you can use.  Please refer to the MET User Guide
on
> page
> > 290-291 for more information on these options:
> > http://www.dtcenter.org/met/users/docs/users_guide/MET_
> > Users_Guide_v6.0.pdf
> >
> >
> > I hope that helps.  Please let us know if you have any other
questions.
> >
> > Regards,
> > Minna
> >
> > ---------------
> > Minna Win
> > NCAR
> > Research Applications Lab
> > Phone: 303-497-8423
> > Fax:   302-497-8401
> >
> >
> > On Tue, Aug 15, 2017 at 5:02 PM, Rosalyn MacCracken - NOAA
Affiliate via
> RT
> > <met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> > >
> > > Hi Minna,
> > >
> > > I think that I generated the mask correctly.  I don't have the
ncview
> > > utility to view that the region I defined is correct.  Is there
another
> > way
> > > to display my mask file?
> > >
> > > Roz
> > >
> > > On Tue, Aug 15, 2017 at 9:59 AM, Rosalyn MacCracken - NOAA
Affiliate <
> > > rosalyn.maccracken at noaa.gov> wrote:
> > >
> > > > Great.  I'll try that, and let you know if I have success.
So, don't
> > > > close the ticket yet.
> > > >
> > > > Roz
> > > >
> > > > On Tue, Aug 15, 2017 at 9:32 AM, Minna Win via RT
<met_help at ucar.edu
> >
> > > > wrote:
> > > >
> > > >> Hi Roz,
> > > >>
> > > >> Yes, my apologies for not indicating that there is a
whitespace
> > between
> > > >> the
> > > >> lat-lon values, with each lat-lon pair to a line.
> > > >>
> > > >>
> > > >> Regards,
> > > >> Minna
> > > >>
> > > >> ---------------
> > > >> Minna Win
> > > >> NCAR
> > > >> Research Applications Lab
> > > >> Phone: 303-497-8423
> > > >> Fax:   302-497-8401
> > > >>
> > > >>
> > > >> On Tue, Aug 15, 2017 at 1:29 PM, Rosalyn MacCracken - NOAA
Affiliate
> > via
> > > >> RT
> > > >> <met_help at ucar.edu> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81606 >
> > > >> >
> > > >> > Oh, so, the poly file name is a single line at the top, and
there
> is
> > > no
> > > >> > space in between the lat/lon pairs?  Or, is that a
space...hard to
> > > tell
> > > >> > from the email.
> > > >> >
> > > >> > So, that is:
> > > >> > Lat1 Lon1
> > > >> > Lat2 Lon2
> > > >> > Lat3 Lon3
> > > >> > etc
> > > >> > correct?  Not all on one line, right?
> > > >> >
> > > >> > Roz
> > > >> >
> > > >> > On Tue, Aug 15, 2017 at 9:23 AM, Minna Win via RT <
> > met_help at ucar.edu>
> > > >> > wrote:
> > > >> >
> > > >> > > Hi Rosalyn,
> > > >> > >
> > > >> > > It appears that you need to see a sample of a poly file
format.
> > The
> > > >> poly
> > > >> > > files need a header followed by the lat,lon pairs.  Here
is an
> > > example
> > > >> > of a
> > > >> > > poly file used by MET:
> > > >> > >
> > > >> > >
> > > >> > > EAST
> > > >> > > 47.21184 -98.23244
> > > >> > > 47.11518 -97.12586
> > > >> > > 46.36584 -97.27562
> > > >> > > 45.62014 -97.41983
> > > >> > > 45.51431 -96.35903
> > > >> > > 44.77478 -96.51689
> > > >> > > 44.03891 -96.66912
> > > >> > > 43.30675 -96.81602
> > > >> > > 42.57834 -96.95787
> > > >> > > 41.85373 -97.09491
> > > >> > > 41.13296 -97.22739
> > > >> > >
> > > >> > >
> > > >> > > I hope you find this helpful.  Please let us know if you
need
> > > further
> > > >> > > assistance.
> > > >> > >
> > > >> > >
> > > >> > > Regards,
> > > >> > > Minna
> > > >> > >
> > > >> > > ---------------
> > > >> > > Minna Win
> > > >> > > NCAR
> > > >> > > Research Applications Lab
> > > >> > > Phone: 303-497-8423 <(303)%20497-8423>
> > > >> > > Fax:   302-497-8401 <(302)%20497-8401>
> > > >> > >
> > > >> > >
> > > >> > > On Mon, Aug 14, 2017 at 8:15 PM, Rosalyn MacCracken -
NOAA
> > Affiliate
> > > >> via
> > > >> > RT
> > > >> > > <met_help at ucar.edu> wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > Mon Aug 14 14:15:14 2017: Request 81606 was acted upon.
> > > >> > > > Transaction: Ticket created by
rosalyn.maccracken at noaa.gov
> > > >> > > >        Queue: met_help
> > > >> > > >      Subject: question on syntax for gen_vx_mask input
file?
> > > >> > > >        Owner: Nobody
> > > >> > > >   Requestors: rosalyn.maccracken at noaa.gov
> > > >> > > >       Status: new
> > > >> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=81606
> > > >> > >
> > > >> > > >
> > > >> > > >
> > > >> > > > Hi,
> > > >> > > >
> > > >> > > > I can't find any documentation for the syntax for the
input
> file
> > > >> used
> > > >> > > with
> > > >> > > > gen_vx_mask, other than the poly name with pairs of
data.  My
> > mask
> > > >> is
> > > >> > > > small:
> > > >> > > > npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0 70.0,115.0
> > > >> > > >
> > > >> > > > but, I get the error:
> > > >> > > > [opc_test at vm-lnx7-opctest2:
~/all_opc/tables/met_verif]>
> > > >> > > > /opt/MET6/met6.0/bin/gen_vx_mask
> > > >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> > > /gfs.t00z.pgrb2.0p25.
> > > >> > f000
> > > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac_mask.nc
> > -v
> > > 2
> > > >> > > > DEBUG 1: Input File:
> > > >> > > > /common/data/model/com/gfs/prod/gfs.2017080900
> > > /gfs.t00z.pgrb2.0p25.
> > > >> > f000
> > > >> > > > DEBUG 1: Mask File:
> > > >> > > >
/opc_test/home/opc_test/all_opc/tables/met_verif/npac.poly
> > > >> > > > DEBUG 2: Parsed Data Grid:    LatLon (1440 x 721)
> > > >> > > > ERROR  :
> > > >> > > > ERROR  : MaskPoly::load() -> masking polyline files
consist
> of a
> > > >> string
> > > >> > > for
> > > >> > > > the name followed by pairs of latitude and longitude
values.
> The
> > > >> > polyline
> > > >> > > > name ("npac.poly 15.0,-135.0 15.0,115.0 70.0,-135.0
> 70.0,115.0")
> > > >> cannot
> > > >> > > > contain embedded whitespace!
> > > >> > > > ERROR  :
> > > >> > > >
> > > >> > > > I just need to know the proper way to set up the input
file.
> > > >> > > >
> > > >> > > > Thanks!
> > > >> > > >
> > > >> > > > Roz
> > > >> > > >
> > > >> > > > --
> > > >> > > > Rosalyn MacCracken
> > > >> > > > Support Scientist
> > > >> > > >
> > > >> > > > Ocean Applilcations Branch
> > > >> > > > NOAA/NWS Ocean Prediction Center
> > > >> > > > NCWCP
> > > >> > > > 5830 University Research Ct
> > > >> > > > College Park, MD  20740-3818
> > > >> > > >
> > > >> > > > (p) 301-683-1551 <(301)%20683-1551>
> > > >> > > > rosalyn.maccracken at noaa.gov
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Rosalyn MacCracken
> > > >> > Support Scientist
> > > >> >
> > > >> > Ocean Applilcations Branch
> > > >> > NOAA/NWS Ocean Prediction Center
> > > >> > NCWCP
> > > >> > 5830 University Research Ct
> > > >> > College Park, MD  20740-3818
> > > >> >
> > > >> > (p) 301-683-1551
> > > >> > rosalyn.maccracken at noaa.gov
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Rosalyn MacCracken
> > > > Support Scientist
> > > >
> > > > Ocean Applilcations Branch
> > > > NOAA/NWS Ocean Prediction Center
> > > > NCWCP
> > > > 5830 University Research Ct
> > > > College Park, MD  20740-3818
> > > >
> > > > (p) 301-683-1551 <(301)%20683-1551>
> > > > rosalyn.maccracken at noaa.gov
> > > >
> > >
> > >
> > >
> > > --
> > > Rosalyn MacCracken
> > > Support Scientist
> > >
> > > Ocean Applilcations Branch
> > > NOAA/NWS Ocean Prediction Center
> > > NCWCP
> > > 5830 University Research Ct
> > > College Park, MD  20740-3818
> > >
> > > (p) 301-683-1551
> > > rosalyn.maccracken at noaa.gov
> > >
> > >
> >
> >
>
>
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551
> rosalyn.maccracken at noaa.gov
>
>

------------------------------------------------
Subject: question on syntax for gen_vx_mask input file?
From: Minna Win
Time: Tue Aug 15 13:58:26 2017

Closing ticket- issue resolved.

------------------------------------------------


More information about the Met_help mailing list