Sorry - this is more complicated than I first thought! The clarification needs 
to be redesigned, which I shall do shortly.

The issue I've realised is that we need to allow auxiliary coordinates and 
other related variables to span a subset of the compressed axes, but not be 
compressed themselves. In the following example, this would be the case for a 
1-d auxiliary coordinate `aux_var` that spans the `lat` dimension:

```
dimensions:
  lat=73;
  lon=96;
  landpoint=2381;
  depth=4;
variables:
  int landpoint(landpoint);
    landpoint:compress="lat lon";
  float landsoilt(depth,landpoint);
    landsoilt:long_name="soil temperature";
    landsoilt:units="K";
    landsoilt:coordinates="soil_type aux_var";
  float depth(depth);
  float lat(lat);
  float lon(lon);
  int soil_type(landpoint);
     soil_type:long_name="integer code defining the soil type"; 
  float aux_var(lat);
```

If this is allowed, then it would be the conformance document that is wrong, 
rather than the conventions document, as we are allowing the related variable 
to span a dimension (`lat`) that is not explicitly spanned by the data variable 
(which spans `depth` and `landpoint`).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/cf-convention/cf-conventions/issues/147#issuecomment-428942389

Reply via email to