[Met_help] [rt.rap.ucar.edu #63412] History for [series_analysis] NetCDF: Attribute not found

John Halley Gotway via RT met_help at ucar.edu
Mon Dec 2 15:06:53 MST 2013


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello, I was hoping someone could help me with the series_analysis tool. When I run the series_analysis I get this output:

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new Met2dDataFile object of type "FileType_NcMet".
NetCDF: Attributed not found

Here is the config file I am using:

// BEGIN CONFIG //

model = "WRF"

fcst = {
  field = [
    {
      name = "T2";
      level = [*,*,*];
      cat_thresh = [ <=273, >273 ];
    }
  ];
};

obs = fcst;

mask = {
  grid = [ "FULL" ];
  poly = [];
};

rng = {
  type = "mt19937";
  seed = "1";
};

ci_alpha = [ 0.05 ];

boot = {
  interval = PCTILE;
  rep_prop = 1.0;
  n_rep = 1000;
  rng = "mt19937";
  seed = "1";
};

output_stats = {
  fho = BOTH;
};

tmp_dir = ".";

version = "V4.1";

// END CONFIG //

Here is the output of ncdump -h on one of my forecast files:

// BEGIN NCDUMP //

netcdf pred_1980_01 {
dimensions:
  time = UNLIMITED ; // (0 currently)
  Time = 743 ;
  south_north = 159 ;
  west_east = 439 ;
  DateStrLn = 19 ;
variables:
  float T2(Time, south_north, west_east) ;
    T2:FieldType = 104 ;
    T2:MemoryOrder = "XY " ;
    T2:description = "TEMP at 2 M" ;
    T2:units = "K" ;
    T2:stagger = "" ;
    T2:coordinates = "XLONG XLAT" ;
  float Q2(Time, south_north, west_east) ;
    Q2:FieldType = 104 ;
    Q2:MemoryOrder = "XY " ;
    Q2:description = "QV at 2 M" ;
    Q2:units = "kg kg-1" ;
    Q2:stagger = "" ;
    Q2:coordinates = "XLONG XLAT" ;
  float U10(Time, south_north, west_east) ;
    U10:FieldType = 104 ;
    U10:MemoryOrder = "XY " ;
    U10:description = "U at 10 M" ;
    U10:units = "m s-1" ;
    U10:stagger = "" ;
    U10:coordinates = "XLONG XLAT" ;
  float V10(Time, south_north, west_east) ;
    V10:FieldType = 104 ;
    V10:MemoryOrder = "XY " ;
    V10:description = "V at 10 M" ;
    V10:units = "m s-1" ;
    V10:stagger = "" ;
    V10:coordinates = "XLONG XLAT" ;
  char Times(Time, DateStrLn) ;

// global attributes:
  :MET_version = "V4.1" ;
}

// END NCDUMP //

I compiled series_analysis using ICC 13.1.0 and NetCDF 4.1.1.

Daniel


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #63412] [series_analysis] NetCDF: Attribute not found
From: John Halley Gotway
Time: Mon Oct 14 15:15:26 2013

David,

I looks like the NetCDF file you're using is not in a format that MET
expects.  That's why it's having trouble reading it, and that's what's
causing the "NetCDF: Attributed not found" error message
you're seeing.  Where did this NetCDF file come from?  Is this from
WRF or some other model?  If it's from WRF, you should first try
running it through the Unified PostProcessor (UPP) which will
produce a GRIB file that MET can easily read.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 10/14/2013 03:05 PM, Daniel Mitchell via RT wrote:
>
> Mon Oct 14 15:05:03 2013: Request 63412 was acted upon.
> Transaction: Ticket created by daniel.lewis.mitchell at gmail.com
>         Queue: met_help
>       Subject: [series_analysis] NetCDF: Attribute not found
>         Owner: Nobody
>    Requestors: daniel.lewis.mitchell at gmail.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63412 >
>
>
> Hello, I was hoping someone could help me with the series_analysis
tool. When I run the series_analysis I get this output:
>
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_NcMet".
> NetCDF: Attributed not found
>
> Here is the config file I am using:
>
> // BEGIN CONFIG //
>
> model = "WRF"
>
> fcst = {
>    field = [
>      {
>        name = "T2";
>        level = [*,*,*];
>        cat_thresh = [ <=273, >273 ];
>      }
>    ];
> };
>
> obs = fcst;
>
> mask = {
>    grid = [ "FULL" ];
>    poly = [];
> };
>
> rng = {
>    type = "mt19937";
>    seed = "1";
> };
>
> ci_alpha = [ 0.05 ];
>
> boot = {
>    interval = PCTILE;
>    rep_prop = 1.0;
>    n_rep = 1000;
>    rng = "mt19937";
>    seed = "1";
> };
>
> output_stats = {
>    fho = BOTH;
> };
>
> tmp_dir = ".";
>
> version = "V4.1";
>
> // END CONFIG //
>
> Here is the output of ncdump -h on one of my forecast files:
>
> // BEGIN NCDUMP //
>
> netcdf pred_1980_01 {
> dimensions:
>    time = UNLIMITED ; // (0 currently)
>    Time = 743 ;
>    south_north = 159 ;
>    west_east = 439 ;
>    DateStrLn = 19 ;
> variables:
>    float T2(Time, south_north, west_east) ;
>      T2:FieldType = 104 ;
>      T2:MemoryOrder = "XY " ;
>      T2:description = "TEMP at 2 M" ;
>      T2:units = "K" ;
>      T2:stagger = "" ;
>      T2:coordinates = "XLONG XLAT" ;
>    float Q2(Time, south_north, west_east) ;
>      Q2:FieldType = 104 ;
>      Q2:MemoryOrder = "XY " ;
>      Q2:description = "QV at 2 M" ;
>      Q2:units = "kg kg-1" ;
>      Q2:stagger = "" ;
>      Q2:coordinates = "XLONG XLAT" ;
>    float U10(Time, south_north, west_east) ;
>      U10:FieldType = 104 ;
>      U10:MemoryOrder = "XY " ;
>      U10:description = "U at 10 M" ;
>      U10:units = "m s-1" ;
>      U10:stagger = "" ;
>      U10:coordinates = "XLONG XLAT" ;
>    float V10(Time, south_north, west_east) ;
>      V10:FieldType = 104 ;
>      V10:MemoryOrder = "XY " ;
>      V10:description = "V at 10 M" ;
>      V10:units = "m s-1" ;
>      V10:stagger = "" ;
>      V10:coordinates = "XLONG XLAT" ;
>    char Times(Time, DateStrLn) ;
>
> // global attributes:
>    :MET_version = "V4.1" ;
> }
>
> // END NCDUMP //
>
> I compiled series_analysis using ICC 13.1.0 and NetCDF 4.1.1.
>
> Daniel
>

------------------------------------------------


More information about the Met_help mailing list