[Met_help] [rt.rap.ucar.edu #81009] History for One problem when I used ASCII2NC output file to do plotting.
John Halley Gotway via RT
met_help at ucar.edu
Tue Jun 27 13:24:53 MDT 2017
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Dear MET staff,
I am using METv5.2 to conduct my research. Now, I encounter one problem. I
want to use the output file (plot_test.nc) from ASCII2NC tool to plot a XY
plot via NCL. The x-axis is time series, which should be hdr_vld in
plot_test.nc. The y-axis is temperature: obs_arr (:,4) in plot_test.nc.
When I run the ncl to plot it, some mismatches occurred. After checking, I
found this is the problem of hdr_vld couldn't match the observation arrays.
Could you help me solve this problem? My input file: HKO_test.txt and
output file plot_test.nc have been uploaded to your server (Fei_data).
Thank you!
Yours,
Teng Fei
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: One problem when I used ASCII2NC output file to do plotting.
From: John Halley Gotway
Time: Mon Jun 26 10:22:02 2017
Teng,
I ran the script you sent and got the following error message:
fatal:Argument type mismatch on argument (1) of (gsn_csm_xy) can not
coerce
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 29 in
file
this_is_the_script_I_used.ncl
The staff at the MET help desk really is not experienced with or
equipped
to support NCL. However, I do believe that there is an NCL helpdesk
if you
need help.
This is the first I've heard of someone trying to process the NetCDF
output
of the ascii2nc tool. Seems like it'd be simpler to just plot the
values
from the ascii input file.
Or you could run Point-Stat to verify your model against these
observations, and dump out the forecast/observation matched pair
values
(MPR line type). Then, you could read the forecast/observation values
from
the MPR line type and plot them as a time-series.
Thanks,
John
On Mon, Jun 26, 2017 at 4:41 AM, Teng Fei via RT <met_help at ucar.edu>
wrote:
>
> Mon Jun 26 04:41:17 2017: Request 81009 was acted upon.
> Transaction: Ticket created by fay900902 at gmail.com
> Queue: met_help
> Subject: One problem when I used ASCII2NC output file to do
plotting.
> Owner: Nobody
> Requestors: fay900902 at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81009 >
>
>
> Dear MET staff,
> I am using METv5.2 to conduct my research. Now, I encounter one
problem. I
> want to use the output file (plot_test.nc) from ASCII2NC tool to
plot a XY
> plot via NCL. The x-axis is time series, which should be hdr_vld in
> plot_test.nc. The y-axis is temperature: obs_arr (:,4) in
plot_test.nc.
> When I run the ncl to plot it, some mismatches occurred. After
checking, I
> found this is the problem of hdr_vld couldn't match the observation
arrays.
> Could you help me solve this problem? My input file: HKO_test.txt
and
> output file plot_test.nc have been uploaded to your server
(Fei_data).
> Thank you!
>
> Yours,
> Teng Fei
>
>
------------------------------------------------
Subject: One problem when I used ASCII2NC output file to do plotting.
From: Teng Fei
Time: Tue Jun 27 00:11:02 2017
John,
Thank you for your reply in details. I will try to ask NCL helpdesk.
Regards,
Teng
2017-06-27 0:22 GMT+08:00 John Halley Gotway via RT
<met_help at ucar.edu>:
> Teng,
>
> I ran the script you sent and got the following error message:
>
> fatal:Argument type mismatch on argument (1) of (gsn_csm_xy) can not
coerce
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 29
in
> file
> this_is_the_script_I_used.ncl
>
> The staff at the MET help desk really is not experienced with or
equipped
> to support NCL. However, I do believe that there is an NCL helpdesk
if you
> need help.
>
> This is the first I've heard of someone trying to process the NetCDF
output
> of the ascii2nc tool. Seems like it'd be simpler to just plot the
values
> from the ascii input file.
>
> Or you could run Point-Stat to verify your model against these
> observations, and dump out the forecast/observation matched pair
values
> (MPR line type). Then, you could read the forecast/observation
values from
> the MPR line type and plot them as a time-series.
>
> Thanks,
> John
>
> On Mon, Jun 26, 2017 at 4:41 AM, Teng Fei via RT <met_help at ucar.edu>
> wrote:
>
> >
> > Mon Jun 26 04:41:17 2017: Request 81009 was acted upon.
> > Transaction: Ticket created by fay900902 at gmail.com
> > Queue: met_help
> > Subject: One problem when I used ASCII2NC output file to do
> plotting.
> > Owner: Nobody
> > Requestors: fay900902 at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81009 >
> >
> >
> > Dear MET staff,
> > I am using METv5.2 to conduct my research. Now, I encounter one
problem.
> I
> > want to use the output file (plot_test.nc) from ASCII2NC tool to
plot a
> XY
> > plot via NCL. The x-axis is time series, which should be hdr_vld
in
> > plot_test.nc. The y-axis is temperature: obs_arr (:,4) in
plot_test.nc.
> > When I run the ncl to plot it, some mismatches occurred. After
checking,
> I
> > found this is the problem of hdr_vld couldn't match the
observation
> arrays.
> > Could you help me solve this problem? My input file: HKO_test.txt
and
> > output file plot_test.nc have been uploaded to your server
(Fei_data).
> > Thank you!
> >
> > Yours,
> > Teng Fei
> >
> >
>
>
------------------------------------------------
More information about the Met_help
mailing list