[Met_help] [rt.rap.ucar.edu #95910] History for lack in date_list (date_range_list) understanding
Tatiana Burek via RT
met_help at ucar.edu
Tue Oct 13 12:17:56 MDT 2020
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Good morning,
I thought that I understood how to use the date_list as a shorthand option
for constructing the dates that should be grouped. I'm in the process of
using a python script that I wrote to change my independent variable from
fcst_valid_beg to fcst_lead. The construct of the xml looks exactly the
way I had imagined it. I also group the following into fix fields:
fcst_init_beg, fcst_valid_beg, and vx_mask. In metviewer the result would
look something like this (attachments 1 for plot and 2 for its xml file).
When I try to reproduce this result I get something like this (see
attachments 3 for plot and 4 for xml). The only differences in the xml are
how I set the date. You can see that in attachment 4 I use date_list for
both fcst_valid_beg and fcst_init_beg. I then use idates and vdates in the
fix fields below. Despite doing this, I get the plot that you see in
attachment 3, which I don't understand.
--
Edward Strobach
EMC/NCEP/NWS/
IMSG Contractor
Cubicle#: 2029
301-683-3717
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: lack in date_list (date_range_list) understanding
From: Tatiana Burek
Time: Tue Jul 14 09:07:02 2020
Hi Edward
I see a couple errors in your not_working.xml file
- for idates you have <inc> commented out. It should be uncommented:
<date_list name="idates">
<start>2020-07-09 06:00:00</start>
<end>2020-07-11 12:00:00</end>
<inc>21600</inc>
<format>yyyy-MM-dd HH:mm:ss</format>
</date_list>
- you need to add <set> elements to plot_fix :
<field equalize="false" name="fcst_valid_beg">
<set name="fcst_valid_beg_1">
<date_list name="vdates"/>
</set>
</field>
<field equalize="false" name="fcst_init_beg">
<set name="fcst_init_beg_1">
<date_list name="idates"/>
</set>
</field>
Give it a try and let me know if you still have problems.
Tatiana
On Tue Jul 14 07:29:07 2020, edward.strobach at noaa.gov wrote:
> Good morning,
>
> I thought that I understood how to use the date_list as a shorthand
option
> for constructing the dates that should be grouped. I'm in the
process of
> using a python script that I wrote to change my independent variable
from
> fcst_valid_beg to fcst_lead. The construct of the xml looks exactly
the
> way I had imagined it. I also group the following into fix fields:
> fcst_init_beg, fcst_valid_beg, and vx_mask. In metviewer the result
would
> look something like this (attachments 1 for plot and 2 for its xml
file).
>
> When I try to reproduce this result I get something like this (see
> attachments 3 for plot and 4 for xml). The only differences in the
xml are
> how I set the date. You can see that in attachment 4 I use
date_list for
> both fcst_valid_beg and fcst_init_beg. I then use idates and vdates
in the
> fix fields below. Despite doing this, I get the plot that you see
in
> attachment 3, which I don't understand.
>
------------------------------------------------
Subject: lack in date_list (date_range_list) understanding
From: Edward Strobach - NOAA Affiliate
Time: Tue Jul 14 14:57:10 2020
Hmm. Sorry for missing that. I have made those changes but can't
test it
until the network issues get resolved
On Tue, Jul 14, 2020 at 11:07 AM Tatiana Burek via RT
<met_help at ucar.edu>
wrote:
> Hi Edward
>
> I see a couple errors in your not_working.xml file
>
> - for idates you have <inc> commented out. It should be uncommented:
> <date_list name="idates">
> <start>2020-07-09 06:00:00</start>
> <end>2020-07-11 12:00:00</end>
> <inc>21600</inc>
> <format>yyyy-MM-dd HH:mm:ss</format>
> </date_list>
>
> - you need to add <set> elements to plot_fix :
> <field equalize="false" name="fcst_valid_beg">
> <set name="fcst_valid_beg_1">
> <date_list name="vdates"/>
> </set>
> </field>
> <field equalize="false" name="fcst_init_beg">
> <set name="fcst_init_beg_1">
> <date_list name="idates"/>
> </set>
> </field>
>
> Give it a try and let me know if you still have problems.
>
> Tatiana
>
> On Tue Jul 14 07:29:07 2020, edward.strobach at noaa.gov wrote:
> > Good morning,
> >
> > I thought that I understood how to use the date_list as a
shorthand
> option
> > for constructing the dates that should be grouped. I'm in the
process of
> > using a python script that I wrote to change my independent
variable from
> > fcst_valid_beg to fcst_lead. The construct of the xml looks
exactly the
> > way I had imagined it. I also group the following into fix
fields:
> > fcst_init_beg, fcst_valid_beg, and vx_mask. In metviewer the
result
> would
> > look something like this (attachments 1 for plot and 2 for its xml
file).
> >
> > When I try to reproduce this result I get something like this (see
> > attachments 3 for plot and 4 for xml). The only differences in
the xml
> are
> > how I set the date. You can see that in attachment 4 I use
date_list for
> > both fcst_valid_beg and fcst_init_beg. I then use idates and
vdates in
> the
> > fix fields below. Despite doing this, I get the plot that you see
in
> > attachment 3, which I don't understand.
> >
>
>
>
>
--
Edward Strobach
EMC/NCEP/NWS/
IMSG Contractor
Cubicle#: 2029
301-683-3717
------------------------------------------------
More information about the Met_help
mailing list