[Met_help] [rt.rap.ucar.edu #48689] History for Getting Problem in converting TRMM rainfall to MET format
RAL HelpDesk {for Paul Oldenburg}
met_help at ucar.edu
Tue Aug 16 09:00:20 MDT 2011
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Dear Sir /Madam,
I am using TRMM rainfall Netcdf or bin data for grid_stat MET tool? which
converter should did I use to convert TRMM Rainfall data (.nc or .bin) to
GRIB1 format? I've tried copygb through Unified Post Processing (UPPv1.0),
still I'm unable to convert it for METv3.0.1 usage.
I want to use some ASCII DATA may be output of some models like GFS etc ..
I have extracted data in the desired 10 columns. I'm trying to use *ascii2nc
*this also giving some error like: open_met_ascii() -> line number 0 doesn't
contain the expected number of colu
N_items = 7
N_chars = 512
N_ints = 100
LineNumber = 1
Item[ 0] = "SIDL210 10738 20110601_030000 "
Item[ 1] = "48.68"
Item[ 2] = "9.23 "
Item[ 3] = "391.0 61 "
Item[ 4] = "974.8"
Item[ 5] = "1021.5"
Item[ 6] = "-99.0"
Offset[ 0] = 0
Offset[ 1] = 32
Offset[ 2] = 41
Offset[ 3] = 47
Offset[ 4] = 57
Offset[ 5] = 64
Offset[ 6] = 71
Please Help me....
Earliest reply will be appreciated.
Thanks in advance for any help you can provide!
*PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post Processing
Tool "UPPv1.0 "*
--
* Regards*
**************************************************************
**
* HARVIR SINGH <http://www.harvir007.webs.com>*
* To Know more <http://www.harvir007.webs.com> **
***************************************************************
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #48689] Getting Problem in converting TRMM rainfall to MET format
From: Paul Oldenburg
Time: Mon Aug 01 09:24:03 2011
Harvir,
I'm afraid that MET cannot read TRMM data directly. The best way to
read TRMM data into MET would be to convert the
data from it's current format into a NetCDF file that has the same
format as the output of the MET pcp_combine tool. If
you ran the MET test scripts after you built MET, you should be able
to find pcp_combine output files in the sub-folder
out/pcp_combine under your MET build folder. If you are successful in
converting your data in this way, please send us
your code so that we can make it available for other MET users who
might want to use TRMM data. I'm sorry the answer to
this question is not more simple.
Regarding your ascii2nc question, can you please send us the ascii2nc
input that is causing your error? Also, what is
the command line statement that you are using to invoke ascii2nc?
Thanks,
Paul
On 08/01/2011 03:36 AM, RAL HelpDesk {for Harvir Singh} wrote:
>
> Mon Aug 01 03:36:57 2011: Request 48689 was acted upon.
> Transaction: Ticket created by harvirduphy at gmail.com
> Queue: met_help
> Subject: Getting Problem in converting TRMM rainfall to MET
format
> Owner: Nobody
> Requestors: harvirduphy at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>
>
> Dear Sir /Madam,
> I am using TRMM rainfall Netcdf or bin data for grid_stat MET tool?
which
> converter should did I use to convert TRMM Rainfall data (.nc or
.bin) to
> GRIB1 format? I've tried copygb through Unified Post Processing
(UPPv1.0),
> still I'm unable to convert it for METv3.0.1 usage.
> I want to use some ASCII DATA may be output of some models like GFS
etc ..
> I have extracted data in the desired 10 columns. I'm trying to use
*ascii2nc
> *this also giving some error like: open_met_ascii() -> line number 0
doesn't
> contain the expected number of colu
> N_items = 7
> N_chars = 512
> N_ints = 100
> LineNumber = 1
>
> Item[ 0] = "SIDL210 10738 20110601_030000 "
> Item[ 1] = "48.68"
> Item[ 2] = "9.23 "
> Item[ 3] = "391.0 61 "
> Item[ 4] = "974.8"
>
> Item[ 5] = "1021.5"
> Item[ 6] = "-99.0"
>
> Offset[ 0] = 0
> Offset[ 1] = 32
> Offset[ 2] = 41
> Offset[ 3] = 47
> Offset[ 4] = 57
>
> Offset[ 5] = 64
> Offset[ 6] = 71
>
> Please Help me....
> Earliest reply will be appreciated.
>
> Thanks in advance for any help you can provide!
>
> *PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post
Processing
> Tool "UPPv1.0 "*
------------------------------------------------
Subject: Getting Problem in converting TRMM rainfall to MET format
From: Harvir Singh
Time: Tue Aug 02 00:33:35 2011
Dear Paul,
I'm sending you ASCII file and ascii2nc script. Please have close look
on it
if am wrong somewhere please let me know.
And for TRMM rainfall I'll back to you later ...if I'll successful or
not in
pcp_combine ... However, I've run all the test scripts successfully.
Thanx in advance...
On 1 August 2011 20:54, RAL HelpDesk {for Paul Oldenburg}
<met_help at ucar.edu
> wrote:
> Harvir,
>
> I'm afraid that MET cannot read TRMM data directly. The best way to
read
> TRMM data into MET would be to convert the
> data from it's current format into a NetCDF file that has the same
format
> as the output of the MET pcp_combine tool. If
> you ran the MET test scripts after you built MET, you should be able
to
> find pcp_combine output files in the sub-folder
> out/pcp_combine under your MET build folder. If you are successful
in
> converting your data in this way, please send us
> your code so that we can make it available for other MET users who
might
> want to use TRMM data. I'm sorry the answer to
> this question is not more simple.
>
> Regarding your ascii2nc question, can you please send us the
ascii2nc input
> that is causing your error? Also, what is
> the command line statement that you are using to invoke ascii2nc?
>
> Thanks,
>
> Paul
>
>
> On 08/01/2011 03:36 AM, RAL HelpDesk {for Harvir Singh} wrote:
> >
> > Mon Aug 01 03:36:57 2011: Request 48689 was acted upon.
> > Transaction: Ticket created by harvirduphy at gmail.com
> > Queue: met_help
> > Subject: Getting Problem in converting TRMM rainfall to MET
format
> > Owner: Nobody
> > Requestors: harvirduphy at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
> >
> >
> > Dear Sir /Madam,
> > I am using TRMM rainfall Netcdf or bin data for grid_stat MET
tool?
> which
> > converter should did I use to convert TRMM Rainfall data (.nc or
.bin) to
> > GRIB1 format? I've tried copygb through Unified Post Processing
> (UPPv1.0),
> > still I'm unable to convert it for METv3.0.1 usage.
> > I want to use some ASCII DATA may be output of some models like
GFS etc
> ..
> > I have extracted data in the desired 10 columns. I'm trying to use
> *ascii2nc
> > *this also giving some error like: open_met_ascii() -> line number
0
> doesn't
> > contain the expected number of colu
> > N_items = 7
> > N_chars = 512
> > N_ints = 100
> > LineNumber = 1
> >
> > Item[ 0] = "SIDL210 10738 20110601_030000 "
> > Item[ 1] = "48.68"
> > Item[ 2] = "9.23 "
> > Item[ 3] = "391.0 61 "
> > Item[ 4] = "974.8"
> >
> > Item[ 5] = "1021.5"
> > Item[ 6] = "-99.0"
> >
> > Offset[ 0] = 0
> > Offset[ 1] = 32
> > Offset[ 2] = 41
> > Offset[ 3] = 47
> > Offset[ 4] = 57
> >
> > Offset[ 5] = 64
> > Offset[ 6] = 71
> >
> > Please Help me....
> > Earliest reply will be appreciated.
> >
> > Thanks in advance for any help you can provide!
> >
> > *PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post
Processing
> > Tool "UPPv1.0 "*
>
>
>
--
* Regards*
**************************************************************
**
* HARVIR SINGH <http://www.harvir007.webs.com>*
* To Know more <http://www.harvir007.webs.com> **
***************************************************************
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #48689] Getting Problem in converting TRMM rainfall to MET format
From: Paul Oldenburg
Time: Tue Aug 02 08:22:58 2011
Harvir,
There was no attachment on the most recent email that you sent.
Perhaps you forgot to attach it? If you would prefer
to FTP us your data, please follow the instructions here:
http://www.dtcenter.org/met/users/support/met_help.php#ftp
If you have any questions, please let me know.
Paul
On 08/02/2011 12:33 AM, RAL HelpDesk {for Harvir Singh} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>
> Dear Paul,
>
> I'm sending you ASCII file and ascii2nc script. Please have close
look on it
> if am wrong somewhere please let me know.
> And for TRMM rainfall I'll back to you later ...if I'll successful
or not in
> pcp_combine ... However, I've run all the test scripts successfully.
> Thanx in advance...
>
> On 1 August 2011 20:54, RAL HelpDesk {for Paul Oldenburg}
<met_help at ucar.edu
>> wrote:
>
>> Harvir,
>>
>> I'm afraid that MET cannot read TRMM data directly. The best way
to read
>> TRMM data into MET would be to convert the
>> data from it's current format into a NetCDF file that has the same
format
>> as the output of the MET pcp_combine tool. If
>> you ran the MET test scripts after you built MET, you should be
able to
>> find pcp_combine output files in the sub-folder
>> out/pcp_combine under your MET build folder. If you are successful
in
>> converting your data in this way, please send us
>> your code so that we can make it available for other MET users who
might
>> want to use TRMM data. I'm sorry the answer to
>> this question is not more simple.
>>
>> Regarding your ascii2nc question, can you please send us the
ascii2nc input
>> that is causing your error? Also, what is
>> the command line statement that you are using to invoke ascii2nc?
>>
>> Thanks,
>>
>> Paul
>>
>>
>> On 08/01/2011 03:36 AM, RAL HelpDesk {for Harvir Singh} wrote:
>>>
>>> Mon Aug 01 03:36:57 2011: Request 48689 was acted upon.
>>> Transaction: Ticket created by harvirduphy at gmail.com
>>> Queue: met_help
>>> Subject: Getting Problem in converting TRMM rainfall to MET
format
>>> Owner: Nobody
>>> Requestors: harvirduphy at gmail.com
>>> Status: new
>>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>>>
>>>
>>> Dear Sir /Madam,
>>> I am using TRMM rainfall Netcdf or bin data for grid_stat MET
tool?
>> which
>>> converter should did I use to convert TRMM Rainfall data (.nc or
.bin) to
>>> GRIB1 format? I've tried copygb through Unified Post Processing
>> (UPPv1.0),
>>> still I'm unable to convert it for METv3.0.1 usage.
>>> I want to use some ASCII DATA may be output of some models like
GFS etc
>> ..
>>> I have extracted data in the desired 10 columns. I'm trying to use
>> *ascii2nc
>>> *this also giving some error like: open_met_ascii() -> line number
0
>> doesn't
>>> contain the expected number of colu
>>> N_items = 7
>>> N_chars = 512
>>> N_ints = 100
>>> LineNumber = 1
>>>
>>> Item[ 0] = "SIDL210 10738 20110601_030000 "
>>> Item[ 1] = "48.68"
>>> Item[ 2] = "9.23 "
>>> Item[ 3] = "391.0 61 "
>>> Item[ 4] = "974.8"
>>>
>>> Item[ 5] = "1021.5"
>>> Item[ 6] = "-99.0"
>>>
>>> Offset[ 0] = 0
>>> Offset[ 1] = 32
>>> Offset[ 2] = 41
>>> Offset[ 3] = 47
>>> Offset[ 4] = 57
>>>
>>> Offset[ 5] = 64
>>> Offset[ 6] = 71
>>>
>>> Please Help me....
>>> Earliest reply will be appreciated.
>>>
>>> Thanks in advance for any help you can provide!
>>>
>>> *PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post
Processing
>>> Tool "UPPv1.0 "*
>>
>>
>>
>
>
------------------------------------------------
Subject: Getting Problem in converting TRMM rainfall to MET format
From: Harvir Singh
Time: Wed Aug 03 00:43:59 2011
> Dear Paul,
>
> Accept My apology. Actually yesterday I forgot to attached th
files.
However, as per your advice through ftp I have putted the same
attached
files there also. and its path is
*incoming/irap/met_help/singh_data*
> I'm sending you ASCII file and ascii2nc script. Please have close
look on
> it if am wrong somewhere please let me know.
> And for TRMM rainfall I'll back to you later ...if I'll successful
or not
> in pcp_combine ... However, I've run all the test scripts
successfully.
> Thanx in advance...
>
> On 1 August 2011 20:54, RAL HelpDesk {for Paul Oldenburg} <
> met_help at ucar.edu> wrote:
>
>> Harvir,
>>
>> I'm afraid that MET cannot read TRMM data directly. The best way
to read
>> TRMM data into MET would be to convert the
>> data from it's current format into a NetCDF file that has the same
format
>> as the output of the MET pcp_combine tool. If
>> you ran the MET test scripts after you built MET, you should be
able to
>> find pcp_combine output files in the sub-folder
>> out/pcp_combine under your MET build folder. If you are successful
in
>> converting your data in this way, please send us
>> your code so that we can make it available for other MET users who
might
>> want to use TRMM data. I'm sorry the answer to
>> this question is not more simple.
>>
>> Regarding your ascii2nc question, can you please send us the
ascii2nc
>> input that is causing your error? Also, what is
>> the command line statement that you are using to invoke ascii2nc?
>>
>> Thanks,
>>
>> Paul
>>
>>
>> On 08/01/2011 03:36 AM, RAL HelpDesk {for Harvir Singh} wrote:
>> >
>> > Mon Aug 01 03:36:57 2011: Request 48689 was acted upon.
>> > Transaction: Ticket created by harvirduphy at gmail.com
>> > Queue: met_help
>> > Subject: Getting Problem in converting TRMM rainfall to MET
format
>> > Owner: Nobody
>> > Requestors: harvirduphy at gmail.com
>> > Status: new
>> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>> >
>> >
>> > Dear Sir /Madam,
>> > I am using TRMM rainfall Netcdf or bin data for grid_stat MET
tool?
>> which
>> > converter should did I use to convert TRMM Rainfall data (.nc or
.bin)
>> to
>> > GRIB1 format? I've tried copygb through Unified Post Processing
>> (UPPv1.0),
>> > still I'm unable to convert it for METv3.0.1 usage.
>> > I want to use some ASCII DATA may be output of some models like
GFS etc
>> ..
>> > I have extracted data in the desired 10 columns. I'm trying to
use
>> *ascii2nc
>> > *this also giving some error like: open_met_ascii() -> line
number 0
>> doesn't
>> > contain the expected number of colu
>> > N_items = 7
>> > N_chars = 512
>> > N_ints = 100
>> > LineNumber = 1
>> >
>> > Item[ 0] = "SIDL210 10738 20110601_030000 "
>> > Item[ 1] = "48.68"
>> > Item[ 2] = "9.23 "
>> > Item[ 3] = "391.0 61 "
>> > Item[ 4] = "974.8"
>> >
>> > Item[ 5] = "1021.5"
>> > Item[ 6] = "-99.0"
>> >
>> > Offset[ 0] = 0
>> > Offset[ 1] = 32
>> > Offset[ 2] = 41
>> > Offset[ 3] = 47
>> > Offset[ 4] = 57
>> >
>> > Offset[ 5] = 64
>> > Offset[ 6] = 71
>> >
>> > Please Help me....
>> > Earliest reply will be appreciated.
>> >
>> > Thanks in advance for any help you can provide!
>> >
>> > *PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post
Processing
>> > Tool "UPPv1.0 "*
>>
>>
>>
>
>
> --
> * Regards*
> **************************************************************
> **
> * HARVIR SINGH <http://www.harvir007.webs.com>*
> * To Know more <http://www.harvir007.webs.com> **
>
> ***************************************************************
>
>
--
* Regards*
**************************************************************
**
* HARVIR SINGH <http://www.harvir007.webs.com>*
* To Know more <http://www.harvir007.webs.com> **
***************************************************************
------------------------------------------------
Subject: Getting Problem in converting TRMM rainfall to MET format
From: Paul Oldenburg
Time: Wed Aug 03 11:46:58 2011
Harvir,
I have identified several problems with the ascii2nc input file
suflnd_20110601_06z_rrf.dat:
1. ascii2nc input columns must be space-delimited. Several of the
columns in the input file are tab delimited. Do a
find/replace on the file to change all tabs to spaces.
2. After you perform step 1, you will see the following error when
you try to run ascii2nc:
$ ascii2nc.sh
Creating NetCDF Observation file: suflnd_20110601_06z_RF.nc
Reading ASCII Observation file: suflnd_20110601_06z_rrf.dat
Processing 11414 observations.
timestring_to_sec(const char *) -> can't parse time string "974.8"
The reason for this error is that your file appears to contain
accumulated precipitation observations (GRIB code 61 in
column 7). In this case, ascii2nc is expecting an accumulation
interval in column 8 in the format HH, for example 06 or
24. That is the reason for the error message above.
3. Column 9 should contain the height above ground of the observation
station in meters. For accumulated
precipitation, this information is ignored by ascii2nc because this is
a "surface" observation. We typically use a fill
value of -9999, indicating invalid data.
4. Column 10 should contain the observed values. I see valid
observation values on some rows, but many are -99.0 which
I interpret to mean invalid data. In this case, it does not make
sense to include invalid observation data, and those
lines should be deleted.
I took the liberty of making a couple assumptions about your data and
trying to adjust the input file that you sent me
to something that ascii2nc can read. The assumptions I made are:
1. All of your observations are "surface" observations, so the
message type (column 1) was set to ADPSFC
2. The accumulation interval is 6 hours (column 8 is set to 06)
3. The observation values are in mm, and left as-is
If these assumptions, mainly #2 and #3, are incorrect, please make the
appropriate adjustments. I attached the "fixed"
file to this email for you to review and change as you wish. Please
let me know if you have any questions.
Paul
On 08/03/2011 12:44 AM, RAL HelpDesk {for Harvir Singh} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>
>> Dear Paul,
>>
>> Accept My apology. Actually yesterday I forgot to attached th
files.
> However, as per your advice through ftp I have putted the same
attached
> files there also. and its path is
> *incoming/irap/met_help/singh_data*
>
>> I'm sending you ASCII file and ascii2nc script. Please have close
look on
>> it if am wrong somewhere please let me know.
>> And for TRMM rainfall I'll back to you later ...if I'll successful
or not
>> in pcp_combine ... However, I've run all the test scripts
successfully.
>> Thanx in advance...
>>
>> On 1 August 2011 20:54, RAL HelpDesk {for Paul Oldenburg} <
>> met_help at ucar.edu> wrote:
>>
>>> Harvir,
>>>
>>> I'm afraid that MET cannot read TRMM data directly. The best way
to read
>>> TRMM data into MET would be to convert the
>>> data from it's current format into a NetCDF file that has the same
format
>>> as the output of the MET pcp_combine tool. If
>>> you ran the MET test scripts after you built MET, you should be
able to
>>> find pcp_combine output files in the sub-folder
>>> out/pcp_combine under your MET build folder. If you are
successful in
>>> converting your data in this way, please send us
>>> your code so that we can make it available for other MET users who
might
>>> want to use TRMM data. I'm sorry the answer to
>>> this question is not more simple.
>>>
>>> Regarding your ascii2nc question, can you please send us the
ascii2nc
>>> input that is causing your error? Also, what is
>>> the command line statement that you are using to invoke ascii2nc?
>>>
>>> Thanks,
>>>
>>> Paul
>>>
>>>
>>> On 08/01/2011 03:36 AM, RAL HelpDesk {for Harvir Singh} wrote:
>>>>
>>>> Mon Aug 01 03:36:57 2011: Request 48689 was acted upon.
>>>> Transaction: Ticket created by harvirduphy at gmail.com
>>>> Queue: met_help
>>>> Subject: Getting Problem in converting TRMM rainfall to MET
format
>>>> Owner: Nobody
>>>> Requestors: harvirduphy at gmail.com
>>>> Status: new
>>>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=48689 >
>>>>
>>>>
>>>> Dear Sir /Madam,
>>>> I am using TRMM rainfall Netcdf or bin data for grid_stat MET
tool?
>>> which
>>>> converter should did I use to convert TRMM Rainfall data (.nc or
.bin)
>>> to
>>>> GRIB1 format? I've tried copygb through Unified Post Processing
>>> (UPPv1.0),
>>>> still I'm unable to convert it for METv3.0.1 usage.
>>>> I want to use some ASCII DATA may be output of some models like
GFS etc
>>> ..
>>>> I have extracted data in the desired 10 columns. I'm trying to
use
>>> *ascii2nc
>>>> *this also giving some error like: open_met_ascii() -> line
number 0
>>> doesn't
>>>> contain the expected number of colu
>>>> N_items = 7
>>>> N_chars = 512
>>>> N_ints = 100
>>>> LineNumber = 1
>>>>
>>>> Item[ 0] = "SIDL210 10738 20110601_030000 "
>>>> Item[ 1] = "48.68"
>>>> Item[ 2] = "9.23 "
>>>> Item[ 3] = "391.0 61 "
>>>> Item[ 4] = "974.8"
>>>>
>>>> Item[ 5] = "1021.5"
>>>> Item[ 6] = "-99.0"
>>>>
>>>> Offset[ 0] = 0
>>>> Offset[ 1] = 32
>>>> Offset[ 2] = 41
>>>> Offset[ 3] = 47
>>>> Offset[ 4] = 57
>>>>
>>>> Offset[ 5] = 64
>>>> Offset[ 6] = 71
>>>>
>>>> Please Help me....
>>>> Earliest reply will be appreciated.
>>>>
>>>> Thanks in advance for any help you can provide!
>>>>
>>>> *PS:* *I'm working on AIX-5.3 Machine and METv3.0.1, for Post
Processing
>>>> Tool "UPPv1.0 "*
>>>
>>>
>>>
>>
>>
>> --
>> * Regards*
>> **************************************************************
>> **
>> * HARVIR SINGH <http://www.harvir007.webs.com>*
>> * To Know more <http://www.harvir007.webs.com> **
>>
>> ***************************************************************
>>
>>
>
>
------------------------------------------------
More information about the Met_help
mailing list