[Met_help] ascii2nc

John Halley Gotway johnhg at ucar.edu
Tue Mar 23 12:02:13 MDT 2010


Jianting,

Thanks for sending that data file.  I ran it through ascii2nc here and found that it did retrieve 2,123,040 observations!  The header of the NetCDF file is listed below.

netcdf wess_198901 {
dimensions:
        mxstr = 16 ;
        hdr_arr_len = 3 ;
        obs_arr_len = 5 ;
        nhdr = 212304 ;
        nobs = UNLIMITED ; // (2123040 currently)

It occurs to me that perhaps you're not using the most recent version of MET.  Before we look any further at this, could you please download the latest set of patches for METv2.0, recompile MET, and
then try rerunning?

Please go to: http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php

Read the first section on that page, download the file "METv2.0_patches_20091223.tar.gz" and follow the instructions for applying those patches.

Please give that a try and let me know if you continue to experience problems.

Thanks,
John

Jianting Chu wrote:
> Dear Sir,
>    I found a problem with ascii2nc.
>    I can use this tool to transfer data format, anyway, the head of
> transformed NetCDF is like this:
> -------------------------------------------
> netcdf wess_198901 {
> dimensions:
>        mxstr = 16 ;
>        hdr_arr_len = 3 ;
>        obs_arr_len = 5 ;
>        nhdr = 212304 ;
>        nobs = UNLIMITED ; // (0 currently)
> --------------------------------------------
>    That means no observation data have been transformed. In fact, this
> file can not be used in ./point_stat.
>    I attached the corresponding ASCII file. Would you please taking a
> look at it?
>    Thank you very much!
> 
> With best wishes,
> Jianting
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help


More information about the Met_help mailing list