⇐ ⇒

[CF-metadata] a flag variable questions

From: andrew walsh <awalsh>
Date: Thu, 19 Apr 2012 09:09:19 +1000

Hi Jonathon and CF list,

So I guess this would mean we need a 'coordinates' attribute on an ancilliary
variable
like say the 'temperature_qc_flag' below i.e. ?

dimensions:
 time = 1 ;
 pressure = UNLIMITED ; // (9 currently)
 latitude = 1 ;
 longitude = 1 ;

variables:
 double time(time) ;
....
double latitude(latitude) ;
.....
double longitude(longitude) ;
.....
double pressure(pressure) ;
.......

 double temperature(pressure) ;
  temperature:_FillValue = -99.99 ;
  temperature:standard_name = "sea_water_temperature" ;
  temperature:units = "degrees_C" ;
  temperature:valid_min = -2 ;
  temperature:valid_max = 40 ;
  temperature:ancillary_variables = "temperature_qc_flag" ;
  temperature:coordinates = "time latitude longitude pressure" ;

 byte temperature_qc_flag(pressure) ;
  temperature_qc_flag:long_name = "quality control flag for temperature (primary
Level 1 flag)" ;
  temperature_qc_flag:standard_name = "sea_water_temperature status_flag" ;
  temperature_qc_flag:quality_control_convention = "IODE qc scheme March 2012" ;
  temperature_qc_flag:valid_min = 1 ;
  temperature_qc_flag:valid_max = 9 ;
  temperature_qc_flag:flag_values = 1b, 2b, 3b, 4b, 9b ;
  temperature_qc_flag:flag_meanings = "good not_evaluated_or_unknown suspect bad
missing" ;
  temperature_qc_flag:coordinates = "time latitude longitude pressure" ;


Andrew
----- Original Message -----
From: "Jonathan Gregory" <j.m.gregory at reading.ac.uk>
To: <cf-metadata at cgd.ucar.edu>
Sent: Wednesday, April 18, 2012 6:53 PM
Subject: Re: [CF-metadata] a flag variable questions


>> Should flag variables, which are associated with data variables that have
>> explicit coordinates and grid mapping attributes, explicitly specify these
>> same coordinates and grid mapping attributes ?
>
> Yes, I think so. Ancillary variables are data variables, and therefore need to
> provide all the necessary metadata independently. Jonathan
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
Received on Wed Apr 18 2012 - 17:09:19 BST

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒