Re: [thredds] ncml aggreation- some variable attributes from the first file not getting carried over

  • To: John Caron <caron@xxxxxxxxxxxxxxxx>
  • Subject: Re: [thredds] ncml aggreation- some variable attributes from the first file not getting carried over
  • From: Upendra Dadi <Upendra.Dadi@xxxxxxxx>
  • Date: Tue, 28 Sep 2010 12:53:37 -0400
I am using  Version 4.1.0 - 20091229.2055


John Caron wrote:
 Hi Upendra :

what version of the TDS are you using?

On 9/28/2010 8:37 AM, Upendra Dadi wrote:
Hi,
I have a problem involving NcML aggregation. I have created an NcML aggregation file using joinExisting with aggregation over time.
  The das for the first file in the aggregation file is:

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

Attributes {
   time {
       String long_name "reference time of sst field";
       String standard_name "time";
       String axis "T";
       String units "seconds since 1981-01-01 00:00:00";
   }
   lat {
       String long_name "latitude";
       String standard_name "latitude";
       String axis "Y";
       String units "degrees_north";
   }
   lon {
       String long_name "longitude";
       String standard_name "longitude";
       String axis "X";
       String units "degrees_east";
   }
   analysed_sst {
       String long_name "analysed sea surface temperature";
       String standard_name "sea_surface_temperature";
       String type "foundation";
       String units "kelvin";
       Int16 _FillValue -32768;
       Float64 add_offset 273.15;
       Float64 scale_factor 0.01;
       Int16 valid_min -300;
       Int16 valid_max 4500;
   }
  ......
  ......

--------------------------------------------------------
The das file for the aggregation file(NcML file) is:

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

Attributes {
   lat {
   }
   lon {
   }
   time {
   }
   analysed_sst {
       String _CoordinateAxes "time lat lon ";
       String long_name "analysed sea surface temperature";
       String standard_name "sea_surface_temperature";
       String type "foundation";
       String units "kelvin";
       Int16 _FillValue -32768;
       Float64 add_offset 273.15;
       Float64 scale_factor 0.01;
       Int16 valid_min -300;
       Int16 valid_max 4500;
   }
   NC_GLOBAL {
       String time.long_name "reference time of sst field";
       String time.standard_name "time";
       String time.axis "T";
       String time.units "seconds since 1981-01-01 00:00:00";
       String lat.long_name "latitude";
       String lat.standard_name "latitude";
       String lat.axis "Y";
       String lat.units "degrees_north";
       String lon.long_name "longitude";
       String lon.standard_name "longitude";
       String lon.axis "X";
       String lon.units "degrees_east";
       String Conventions "CF-1.0";
.....
.....

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

As you can see, the attributes for latitude, longitude and time have moved from the variables to the global attributes after the aggregation for some reason. Shouldn't they remain with the variables? The aggregation file is no longer CF compliant due to this. What is going on here?
Is it a THREDDS problem? Or is there away to correct this?

Upendra



_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: