[Met_help] [rt.rap.ucar.edu #71175] History for Need help
John Halley Gotway via RT
met_help at ucar.edu
Tue Mar 24 11:32:17 MDT 2015
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Dear Met Help Desk,
I'm Michele de Rosa from Italy and I'm trying to use MET v5.0 to validate
an algorithm for the thunderstorms detection.
I have two fields: one from a lightning network and one from my model. The
two fields are on the same grid.
I packed them into the NetCDF format in order to use the MODE tool, but it
returns me the following error:
"NetCDF: Attribute not found"
The attributes in my file are lat, lon and TSTM at the moment.
I tried to find what are the netCDF attributes need by MODE in the guide,
but without success.
Please, give me a support.
Best Regards
Michele de Rosa
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Need help
From: John Halley Gotway
Time: Mon Mar 23 11:20:01 2015
Hello,
I see that you're having trouble reading a NetCDF file in MET. MET
supports a couple flavors of NetCDF - the internal NetCDF format that
looks
like the NetCDF output of the pcp_combine tool and the NetCDF CF-
convention.
Both of them have their own required attributes. If the data is on a
simple lat/lon grid, following the CF-convention might be easier...
Add a global conventions attribute:
:Conventions = "CF-1.0" ;
Add a variable to define the forecast initialization time:
double forecast_reference_time ;
forecast_reference_time:long_name = "reference time" ;
forecast_reference_time:units = "seconds since 1970-1-
1" ;
Add a time dimension and variable to define the forecast valid time:
double time(time) ;
time:long_name = "forecast time" ;
time:units = "seconds since 1970-1-1" ;
Please give that a shot. If you're still experiencing problems,
please
send me the current version of your file and I'll take a closer look:
http://www.dtcenter.org/met/users/support/met_help.php#ftp
Thanks,
John Halley Gotway
met_help at ucar.edu
On Mon, Mar 23, 2015 at 6:48 AM, Michele de Rosa via RT
<met_help at ucar.edu>
wrote:
>
> Mon Mar 23 06:48:26 2015: Request 71175 was acted upon.
> Transaction: Ticket created by michele.derosa at geok.it
> Queue: met_help
> Subject: Need help
> Owner: Nobody
> Requestors: michele.derosa at geok.it
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175 >
>
>
> Dear Met Help Desk,
> I'm Michele de Rosa from Italy and I'm trying to use MET v5.0 to
validate
> an algorithm for the thunderstorms detection.
> I have two fields: one from a lightning network and one from my
model. The
> two fields are on the same grid.
> I packed them into the NetCDF format in order to use the MODE tool,
but it
> returns me the following error:
>
> "NetCDF: Attribute not found"
>
> The attributes in my file are lat, lon and TSTM at the moment.
> I tried to find what are the netCDF attributes need by MODE in the
guide,
> but without success.
> Please, give me a support.
>
> Best Regards
>
> Michele de Rosa
>
>
------------------------------------------------
Subject: Need help
From: Michele de Rosa
Time: Tue Mar 24 03:57:20 2015
Hi John,
thanks a lot. I'll try and I'll let you know.
Kind Regards
Michele
2015-03-23 18:20 GMT+01:00 John Halley Gotway via RT
<met_help at ucar.edu>:
> Hello,
>
> I see that you're having trouble reading a NetCDF file in MET. MET
> supports a couple flavors of NetCDF - the internal NetCDF format
that looks
> like the NetCDF output of the pcp_combine tool and the NetCDF
> CF-convention.
>
> Both of them have their own required attributes. If the data is on
a
> simple lat/lon grid, following the CF-convention might be easier...
>
> Add a global conventions attribute:
> :Conventions = "CF-1.0" ;
>
> Add a variable to define the forecast initialization time:
> double forecast_reference_time ;
> forecast_reference_time:long_name = "reference time"
;
> forecast_reference_time:units = "seconds since 1970-
1-1" ;
>
> Add a time dimension and variable to define the forecast valid time:
> double time(time) ;
> time:long_name = "forecast time" ;
> time:units = "seconds since 1970-1-1" ;
>
> Please give that a shot. If you're still experiencing problems,
please
> send me the current version of your file and I'll take a closer
look:
> http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
>
> On Mon, Mar 23, 2015 at 6:48 AM, Michele de Rosa via RT
<met_help at ucar.edu
> >
> wrote:
>
> >
> > Mon Mar 23 06:48:26 2015: Request 71175 was acted upon.
> > Transaction: Ticket created by michele.derosa at geok.it
> > Queue: met_help
> > Subject: Need help
> > Owner: Nobody
> > Requestors: michele.derosa at geok.it
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175 >
> >
> >
> > Dear Met Help Desk,
> > I'm Michele de Rosa from Italy and I'm trying to use MET v5.0 to
validate
> > an algorithm for the thunderstorms detection.
> > I have two fields: one from a lightning network and one from my
model.
> The
> > two fields are on the same grid.
> > I packed them into the NetCDF format in order to use the MODE
tool, but
> it
> > returns me the following error:
> >
> > "NetCDF: Attribute not found"
> >
> > The attributes in my file are lat, lon and TSTM at the moment.
> > I tried to find what are the netCDF attributes need by MODE in the
guide,
> > but without success.
> > Please, give me a support.
> >
> > Best Regards
> >
> > Michele de Rosa
> >
> >
>
>
------------------------------------------------
Subject: Need help
From: Michele de Rosa
Time: Tue Mar 24 10:28:06 2015
Dear John,
it seems to work, even if no objects are identified. I have two binary
fields (convection/no convection), but my goal is to use the MODE tool
to
extract some statistics from them. Is it possible?
Thanks again
Michele
2015-03-24 10:57 GMT+01:00 Michele de Rosa <michele.derosa at geok.it>:
> Hi John,
> thanks a lot. I'll try and I'll let you know.
>
> Kind Regards
>
> Michele
>
> 2015-03-23 18:20 GMT+01:00 John Halley Gotway via RT
<met_help at ucar.edu>:
>
>> Hello,
>>
>> I see that you're having trouble reading a NetCDF file in MET. MET
>> supports a couple flavors of NetCDF - the internal NetCDF format
that
>> looks
>> like the NetCDF output of the pcp_combine tool and the NetCDF
>> CF-convention.
>>
>> Both of them have their own required attributes. If the data is on
a
>> simple lat/lon grid, following the CF-convention might be easier...
>>
>> Add a global conventions attribute:
>> :Conventions = "CF-1.0" ;
>>
>> Add a variable to define the forecast initialization time:
>> double forecast_reference_time ;
>> forecast_reference_time:long_name = "reference
time" ;
>> forecast_reference_time:units = "seconds since
1970-1-1" ;
>>
>> Add a time dimension and variable to define the forecast valid
time:
>> double time(time) ;
>> time:long_name = "forecast time" ;
>> time:units = "seconds since 1970-1-1" ;
>>
>> Please give that a shot. If you're still experiencing problems,
please
>> send me the current version of your file and I'll take a closer
look:
>> http://www.dtcenter.org/met/users/support/met_help.php#ftp
>>
>> Thanks,
>> John Halley Gotway
>> met_help at ucar.edu
>>
>>
>>
>> On Mon, Mar 23, 2015 at 6:48 AM, Michele de Rosa via RT <
>> met_help at ucar.edu>
>> wrote:
>>
>> >
>> > Mon Mar 23 06:48:26 2015: Request 71175 was acted upon.
>> > Transaction: Ticket created by michele.derosa at geok.it
>> > Queue: met_help
>> > Subject: Need help
>> > Owner: Nobody
>> > Requestors: michele.derosa at geok.it
>> > Status: new
>> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175 >
>> >
>> >
>> > Dear Met Help Desk,
>> > I'm Michele de Rosa from Italy and I'm trying to use MET v5.0 to
>> validate
>> > an algorithm for the thunderstorms detection.
>> > I have two fields: one from a lightning network and one from my
model.
>> The
>> > two fields are on the same grid.
>> > I packed them into the NetCDF format in order to use the MODE
tool, but
>> it
>> > returns me the following error:
>> >
>> > "NetCDF: Attribute not found"
>> >
>> > The attributes in my file are lat, lon and TSTM at the moment.
>> > I tried to find what are the netCDF attributes need by MODE in
the
>> guide,
>> > but without success.
>> > Please, give me a support.
>> >
>> > Best Regards
>> >
>> > Michele de Rosa
>> >
>> >
>>
>>
>
------------------------------------------------
Subject: Need help
From: John Halley Gotway
Time: Tue Mar 24 11:10:13 2015
Michele,
Sure, I'd expect that to work. Here are some things you might
consider...
To define objects from raw data, MODE typically does a 2-step process.
First it convolves (i.e. smooths) the data and then it applies a
threshold
to define the objects. If you want to use the binary fields as-is
with no
smoothing, set the convolution radius to 0 (conv_radius = 0) in the
configuration file. Also, you can set the threshold by testing for
equality (conv_thresh = ==1). That'll give you an object anywhere
there
are 1's in the input field and no-object everywhere else.
When you run MODE, you have to pass it a forecast and observation
file. If
you only have one of those, just pass the same file twice.
Hope that helps. Just let me know if you get stuck.
Thanks,
John
On Tue, Mar 24, 2015 at 10:28 AM, Michele de Rosa via RT
<met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175 >
>
> Dear John,
> it seems to work, even if no objects are identified. I have two
binary
> fields (convection/no convection), but my goal is to use the MODE
tool to
> extract some statistics from them. Is it possible?
>
> Thanks again
>
> Michele
>
> 2015-03-24 10:57 GMT+01:00 Michele de Rosa <michele.derosa at geok.it>:
>
> > Hi John,
> > thanks a lot. I'll try and I'll let you know.
> >
> > Kind Regards
> >
> > Michele
> >
> > 2015-03-23 18:20 GMT+01:00 John Halley Gotway via RT
<met_help at ucar.edu
> >:
> >
> >> Hello,
> >>
> >> I see that you're having trouble reading a NetCDF file in MET.
MET
> >> supports a couple flavors of NetCDF - the internal NetCDF format
that
> >> looks
> >> like the NetCDF output of the pcp_combine tool and the NetCDF
> >> CF-convention.
> >>
> >> Both of them have their own required attributes. If the data is
on a
> >> simple lat/lon grid, following the CF-convention might be
easier...
> >>
> >> Add a global conventions attribute:
> >> :Conventions = "CF-1.0" ;
> >>
> >> Add a variable to define the forecast initialization time:
> >> double forecast_reference_time ;
> >> forecast_reference_time:long_name = "reference
time" ;
> >> forecast_reference_time:units = "seconds since
> 1970-1-1" ;
> >>
> >> Add a time dimension and variable to define the forecast valid
time:
> >> double time(time) ;
> >> time:long_name = "forecast time" ;
> >> time:units = "seconds since 1970-1-1" ;
> >>
> >> Please give that a shot. If you're still experiencing problems,
please
> >> send me the current version of your file and I'll take a closer
look:
> >> http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >>
> >> Thanks,
> >> John Halley Gotway
> >> met_help at ucar.edu
> >>
> >>
> >>
> >> On Mon, Mar 23, 2015 at 6:48 AM, Michele de Rosa via RT <
> >> met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > Mon Mar 23 06:48:26 2015: Request 71175 was acted upon.
> >> > Transaction: Ticket created by michele.derosa at geok.it
> >> > Queue: met_help
> >> > Subject: Need help
> >> > Owner: Nobody
> >> > Requestors: michele.derosa at geok.it
> >> > Status: new
> >> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175
> >
> >> >
> >> >
> >> > Dear Met Help Desk,
> >> > I'm Michele de Rosa from Italy and I'm trying to use MET v5.0
to
> >> validate
> >> > an algorithm for the thunderstorms detection.
> >> > I have two fields: one from a lightning network and one from my
model.
> >> The
> >> > two fields are on the same grid.
> >> > I packed them into the NetCDF format in order to use the MODE
tool,
> but
> >> it
> >> > returns me the following error:
> >> >
> >> > "NetCDF: Attribute not found"
> >> >
> >> > The attributes in my file are lat, lon and TSTM at the moment.
> >> > I tried to find what are the netCDF attributes need by MODE in
the
> >> guide,
> >> > but without success.
> >> > Please, give me a support.
> >> >
> >> > Best Regards
> >> >
> >> > Michele de Rosa
> >> >
> >> >
> >>
> >>
> >
>
>
------------------------------------------------
Subject: Need help
From: Michele de Rosa
Time: Tue Mar 24 11:19:26 2015
Dear John,
you are great!!! It works again. Thanks a lot: you saved me :)
Have a great day
Michele
2015-03-24 18:10 GMT+01:00 John Halley Gotway via RT
<met_help at ucar.edu>:
> Michele,
>
> Sure, I'd expect that to work. Here are some things you might
consider...
>
> To define objects from raw data, MODE typically does a 2-step
process.
> First it convolves (i.e. smooths) the data and then it applies a
threshold
> to define the objects. If you want to use the binary fields as-is
with no
> smoothing, set the convolution radius to 0 (conv_radius = 0) in the
> configuration file. Also, you can set the threshold by testing for
> equality (conv_thresh = ==1). That'll give you an object anywhere
there
> are 1's in the input field and no-object everywhere else.
>
> When you run MODE, you have to pass it a forecast and observation
file. If
> you only have one of those, just pass the same file twice.
>
> Hope that helps. Just let me know if you get stuck.
>
> Thanks,
> John
>
>
> On Tue, Mar 24, 2015 at 10:28 AM, Michele de Rosa via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175 >
> >
> > Dear John,
> > it seems to work, even if no objects are identified. I have two
binary
> > fields (convection/no convection), but my goal is to use the MODE
tool to
> > extract some statistics from them. Is it possible?
> >
> > Thanks again
> >
> > Michele
> >
> > 2015-03-24 10:57 GMT+01:00 Michele de Rosa
<michele.derosa at geok.it>:
> >
> > > Hi John,
> > > thanks a lot. I'll try and I'll let you know.
> > >
> > > Kind Regards
> > >
> > > Michele
> > >
> > > 2015-03-23 18:20 GMT+01:00 John Halley Gotway via RT <
> met_help at ucar.edu
> > >:
> > >
> > >> Hello,
> > >>
> > >> I see that you're having trouble reading a NetCDF file in MET.
MET
> > >> supports a couple flavors of NetCDF - the internal NetCDF
format that
> > >> looks
> > >> like the NetCDF output of the pcp_combine tool and the NetCDF
> > >> CF-convention.
> > >>
> > >> Both of them have their own required attributes. If the data
is on a
> > >> simple lat/lon grid, following the CF-convention might be
easier...
> > >>
> > >> Add a global conventions attribute:
> > >> :Conventions = "CF-1.0" ;
> > >>
> > >> Add a variable to define the forecast initialization time:
> > >> double forecast_reference_time ;
> > >> forecast_reference_time:long_name = "reference
time" ;
> > >> forecast_reference_time:units = "seconds since
> > 1970-1-1" ;
> > >>
> > >> Add a time dimension and variable to define the forecast valid
time:
> > >> double time(time) ;
> > >> time:long_name = "forecast time" ;
> > >> time:units = "seconds since 1970-1-1" ;
> > >>
> > >> Please give that a shot. If you're still experiencing
problems,
> please
> > >> send me the current version of your file and I'll take a closer
look:
> > >> http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > >>
> > >> Thanks,
> > >> John Halley Gotway
> > >> met_help at ucar.edu
> > >>
> > >>
> > >>
> > >> On Mon, Mar 23, 2015 at 6:48 AM, Michele de Rosa via RT <
> > >> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> >
> > >> > Mon Mar 23 06:48:26 2015: Request 71175 was acted upon.
> > >> > Transaction: Ticket created by michele.derosa at geok.it
> > >> > Queue: met_help
> > >> > Subject: Need help
> > >> > Owner: Nobody
> > >> > Requestors: michele.derosa at geok.it
> > >> > Status: new
> > >> > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71175
> > >
> > >> >
> > >> >
> > >> > Dear Met Help Desk,
> > >> > I'm Michele de Rosa from Italy and I'm trying to use MET v5.0
to
> > >> validate
> > >> > an algorithm for the thunderstorms detection.
> > >> > I have two fields: one from a lightning network and one from
my
> model.
> > >> The
> > >> > two fields are on the same grid.
> > >> > I packed them into the NetCDF format in order to use the MODE
tool,
> > but
> > >> it
> > >> > returns me the following error:
> > >> >
> > >> > "NetCDF: Attribute not found"
> > >> >
> > >> > The attributes in my file are lat, lon and TSTM at the
moment.
> > >> > I tried to find what are the netCDF attributes need by MODE
in the
> > >> guide,
> > >> > but without success.
> > >> > Please, give me a support.
> > >> >
> > >> > Best Regards
> > >> >
> > >> > Michele de Rosa
> > >> >
> > >> >
> > >>
> > >>
> > >
> >
> >
>
>
------------------------------------------------
More information about the Met_help
mailing list