NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: [cf-satellite] Proposal for band dimension and coordinate variable

On 7/25/2011 2:20 PM, Tom Rink wrote:
All,

A situation that needs to be considered:  How to represent a single band
file?  For example, can this be done w/o creating a 3D variable with
'band dimension' = 1?

Tom

yes, one can have a scalar coordinate in CF:

float data(y,x);
  data:coordinates = "wavelength y x";

float wavelength;


although i slightly prefer:

dimension wavelength = 1;

float data(wavelength,y,x);
  data:coordinates = "wavelength y x";

float wavelength(wavelength);

because it means you cant ignore the wavelength dimension. but its a matter of taste (and distaste).