Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lossy compression through coordinate sampling #326

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
aa326c7
offset
davidhassell Nov 30, 2020
7cd6fd2
indices
davidhassell Nov 30, 2020
581953f
indices
davidhassell Nov 30, 2020
72a5502
indices
davidhassell Nov 30, 2020
d83e833
super
davidhassell Nov 30, 2020
ba1be47
more text following 2020-11-27 discussions (#3)
davidhassell Nov 30, 2020
6f9c89d
Update ch08.adoc
AndersMS Nov 30, 2020
0af54c7
merge from master
davidhassell Nov 30, 2020
179b781
Remove tie_point_offset attribute
AndersMS Nov 30, 2020
4c2938a
tie_point_dimension (1)
davidhassell Nov 30, 2020
9841adb
tie_point_dimension (2)
davidhassell Nov 30, 2020
0cb92e5
tie_point_dimension (3)
davidhassell Nov 30, 2020
907b596
tie_point_dimension (4)
davidhassell Nov 30, 2020
3731c5a
tie point
davidhassell Nov 30, 2020
f277107
tie_point_dimension (5)
davidhassell Nov 30, 2020
bd05c82
Merge branch 'master' into anders_subsampled
davidhassell Nov 30, 2020
2c73f03
Anders subsampled (#4)
davidhassell Nov 30, 2020
a3656fa
merge from master
davidhassell Dec 1, 2020
3604542
corrected interpolation_configuration description
davidhassell Dec 1, 2020
93af583
Merge branch 'anders_subsampled' of https://github.com/davidhassell/c…
davidhassell Dec 1, 2020
5aa5938
Delete interpolation_variables.png
AndersMS Dec 4, 2020
54946a3
Delete regular_and_piecewise_regular_grid.png
AndersMS Dec 4, 2020
b4af414
Add coordinate interpolation figure
AndersMS Dec 4, 2020
e507fb2
Add coordinate interpolation figure
AndersMS Dec 4, 2020
783c638
Add coordinate interpolation figure
AndersMS Dec 4, 2020
bcc3f60
Delete ci_interpolation_coefficeints.svg
AndersMS Dec 4, 2020
c1b0882
Add coordinate interpolation figure
AndersMS Dec 4, 2020
b65b089
add updated figure
AndersMS Dec 4, 2020
015379e
Add and update figures
AndersMS Dec 4, 2020
5865826
Lossy (#5)
davidhassell Dec 4, 2020
2c9c897
Update figure
AndersMS Dec 4, 2020
bdf23a8
Anders subsampled (#6)
davidhassell Dec 4, 2020
3f0d5bd
Update figure
AndersMS Dec 4, 2020
fa0375b
update figure
AndersMS Dec 4, 2020
7c5d80d
Add table 8.1 Generation of Tie Point Variables and Interpolation Va…
AndersMS Dec 7, 2020
3e530ba
Change title to Coordinate Sampling
AndersMS Dec 8, 2020
3b1a04d
Fix links in Appendix J
AndersMS Dec 8, 2020
0326ddb
Fix link
AndersMS Dec 8, 2020
8c38db5
Fix link
AndersMS Dec 8, 2020
5addde5
Update appj.adoc
AndersMS Dec 9, 2020
67fcb32
Add appendix J
AndersMS Dec 9, 2020
bbcffd8
Update appj.adoc
AndersMS Dec 9, 2020
643fcc5
Update appj.adoc
AndersMS Dec 9, 2020
bc7a102
Update appj.adoc
AndersMS Dec 9, 2020
8761e14
Update appj.adoc
AndersMS Dec 9, 2020
9a15f30
Update appj.adoc
AndersMS Dec 9, 2020
8a56fea
Remove domain-variable link
AndersMS Dec 9, 2020
1700b71
Update appj.adoc
AndersMS Dec 9, 2020
456c8b5
Update appj.adoc
AndersMS Dec 9, 2020
b2a7ae5
Add coordinate reconstitution table
AndersMS Dec 14, 2020
74255bf
Merge remote-tracking branch 'Anders/master' into anders_subsampled
davidhassell Dec 14, 2020
8d81092
zone/area rewording
davidhassell Dec 14, 2020
4f9491a
Add **`coordinates`** attribute in table J.2
AndersMS Dec 14, 2020
fa47a7d
zone/area rewording
davidhassell Dec 14, 2020
669d72c
Update table J.2 step 10
AndersMS Dec 14, 2020
5aa8752
Redefined interpolation area boundary to refelext no tie point offset.
AndersMS Dec 14, 2020
9783466
Remove dimesion relationships from Tie Point Indices, now in Tie Poin…
AndersMS Dec 14, 2020
cab69d7
Anders subsampled (#7)
davidhassell Dec 14, 2020
457e2c0
Add figure and Linear method to Appendix J
AndersMS Dec 15, 2020
3b87851
Merge branch 'master' of https://github.com/AndersMS/cf-conventions
AndersMS Dec 15, 2020
1f0e1bc
Updat example 8.5 VIIRS to refelect multiple mapping for same dimensi…
AndersMS Dec 15, 2020
a0b41ae
multiple mappings
davidhassell Dec 15, 2020
4a821d2
multiple mappings
davidhassell Dec 15, 2020
f54b352
multiple mappings
davidhassell Dec 15, 2020
1068273
Merge branch 'master' into anders_subsampled
AndersMS Jan 11, 2021
c8d3d67
Multiply mapped dinterpolation dimensions (#8)
davidhassell Jan 11, 2021
fb398a6
typos and some minor rewording suggestions
davidhassell Jan 12, 2021
f2a0567
typos and some minor rewording suggestions
davidhassell Jan 12, 2021
a3648ea
Merge branch 'anders_subsampled' of https://github.com/davidhassell/c…
davidhassell Jan 12, 2021
03b1fe1
format
davidhassell Jan 12, 2021
cf377b2
Typos and some minor rewording suggestions (#9)
davidhassell Jan 12, 2021
94611db
Size of a tie point interpolation dimension
AndersMS Jan 12, 2021
ae052e7
The creator of the compressed data
AndersMS Jan 12, 2021
83f9ab9
Typos and proposed rewordings (#11)
AndersMS Jan 12, 2021
6c14101
The same interpolation variable may
AndersMS Jan 12, 2021
57e342c
Remove supersampling
AndersMS Jan 12, 2021
ba3eb6a
Add Appendix J references
AndersMS Jan 12, 2021
2106281
Updated
AndersMS Jan 12, 2021
fb2c7b4
Minor corrections
AndersMS Jan 12, 2021
8ef7792
Update ch08.adoc
AndersMS Jan 13, 2021
1a4d219
fixed merge conflicts
davidhassell Jan 13, 2021
e9b0c55
spell check
davidhassell Jan 13, 2021
65b9604
markup style
davidhassell Jan 13, 2021
c1680d7
example formatting
davidhassell Jan 13, 2021
f46dea8
example formatting
davidhassell Jan 13, 2021
53b5982
example formatting
davidhassell Jan 13, 2021
4a20c40
example formatting
davidhassell Jan 13, 2021
c323728
example formatting, style, and spelling (#13)
davidhassell Jan 13, 2021
4e92b8e
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Jan 13, 2021
51ec3d6
minor typesetting
davidhassell Jan 13, 2021
2af40b9
Minor typesetting (#14)
davidhassell Jan 14, 2021
2e9379c
Change order of sections
AndersMS Jan 14, 2021
112cb8b
Large update of Appendix J
AndersMS Jan 26, 2021
55e18db
Changed link name for section 8.3.1
AndersMS Jan 26, 2021
085caed
First darft for team revciew
AndersMS Feb 8, 2021
dbf8a50
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Feb 10, 2021
93c3182
interpolation_parameters
davidhassell Feb 10, 2021
3383500
interpolation parameters variable dimensions
davidhassell Feb 10, 2021
56e265c
interpolation parameters variable dimensions
davidhassell Feb 10, 2021
74e10de
non-standard provision
davidhassell Feb 10, 2021
85b435c
interpolation parameters variable dimensions
davidhassell Feb 10, 2021
41302e9
captions, cdl
davidhassell Feb 10, 2021
5b6fff6
tidy
davidhassell Feb 10, 2021
05237a3
Update after discussion on 9 February 2021
AndersMS Feb 22, 2021
5ce479c
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Feb 23, 2021
bc17dc6
minumum size of interpolation zones
davidhassell Feb 23, 2021
750144b
Appendix A attributes
davidhassell Feb 23, 2021
13066bb
interpolation -> sampling
davidhassell Feb 23, 2021
e356961
Conformance - first draft
davidhassell Feb 23, 2021
dffcb71
2nd draft: better descriptions of allowed dimensions
davidhassell Feb 24, 2021
641dfee
typos
davidhassell Feb 25, 2021
9d762e9
Correct 'is list' to 'is a list'
AndersMS Mar 1, 2021
382631a
Interpolation parameters (#15)
davidhassell Mar 1, 2021
691a60c
merge conflicts fixed
davidhassell Mar 2, 2021
a5c6e3b
Updated decriptions of quadratic and biquadratic geo methods
AndersMS Mar 8, 2021
f80a505
Merge branch 'master' of https://github.com/AndersMS/cf-conventions
AndersMS Mar 8, 2021
ba48116
Updated text of figure 4
AndersMS Mar 8, 2021
945c854
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Mar 9, 2021
837e893
check on interpolation zone dimension size
davidhassell Mar 9, 2021
50668a2
Merge branch 'anders_subsampled' of https://github.com/davidhassell/c…
davidhassell Mar 9, 2021
a02d099
Update appj.adoc
AndersMS Mar 11, 2021
abe1cbf
Update appj.adoc
AndersMS Mar 11, 2021
5e5a03d
Update appj.adoc
AndersMS Mar 11, 2021
dba5922
Update appj.adoc
AndersMS Mar 11, 2021
1f73333
Update appj.adoc
AndersMS Mar 11, 2021
6f62026
Update appj.adoc
AndersMS Mar 11, 2021
33197f5
Update appj.adoc
AndersMS Mar 11, 2021
c72c31b
Update ch08.adoc
AndersMS Mar 11, 2021
bd0162b
Minor updates
AndersMS Mar 11, 2021
c7fe253
Merge branch 'master' of https://github.com/AndersMS/cf-conventions
AndersMS Mar 11, 2021
42c9097
Formula improvements
AndersMS Mar 21, 2021
ab53e2e
Update appj.adoc
AndersMS Mar 22, 2021
11428f4
Minor editorial correction
AndersMS Mar 22, 2021
b53f2c8
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Apr 20, 2021
7855a0b
conformance changes for new interpolation variable
davidhassell Apr 20, 2021
361ee0e
conformance changes for new interpolation variable
davidhassell Apr 20, 2021
24fea49
conformance changes for new interpolation variable
davidhassell Apr 20, 2021
9660fe4
conformance changes for new interpolation variable
davidhassell Apr 20, 2021
3f648b9
appendix A changes for new interpolation variable
davidhassell Apr 20, 2021
c84ef46
appendix A changes for new interpolation variable
davidhassell Apr 20, 2021
9ccc3e1
Updates for new Interpolation Variable
AndersMS Apr 20, 2021
e3b4905
New conformace check (#16)
davidhassell Apr 20, 2021
7b0e979
Test
AndersMS Apr 22, 2021
eb7bf28
Updated for new Interpolation Variable
AndersMS Apr 22, 2021
ada4256
Merge branch 'master' of https://github.com/AndersMS/cf-conventions
AndersMS Apr 22, 2021
8992b48
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Apr 27, 2021
5b0461f
lat lon tie point definition
davidhassell Apr 27, 2021
b14646d
lat/lon tie point definition in appendix J (#18)
davidhassell Apr 28, 2021
7106321
Delete ci_interpolation_coefficients.svg
AndersMS Apr 28, 2021
65040da
Add new Figure
AndersMS Apr 28, 2021
947a869
Updates to chapter 8 for new interpolation variable (#17)
AndersMS Apr 28, 2021
743019c
Delete ci_interpolation_coefficients.svg
AndersMS Apr 28, 2021
9147d3b
Delete interpolation coefficeints.svg
AndersMS Apr 28, 2021
36f6057
Add files via upload
AndersMS Apr 28, 2021
26fa36e
Merge branch 'master' of https://github.com/AndersMS/cf-conventions i…
davidhassell Apr 29, 2021
ca44ed9
spelling
davidhassell Apr 29, 2021
e20ec54
URI -> URL
davidhassell Apr 29, 2021
887dc57
lower resolution -> sampled
davidhassell Apr 29, 2021
ba02fd2
Use on domain variable
davidhassell Apr 29, 2021
3e91bd5
typo
davidhassell Apr 29, 2021
1cc229c
Move 'interpolation dimension' definition to first occurence
davidhassell Apr 29, 2021
52f08ea
Minor re-wording
davidhassell Apr 29, 2021
56b3a1b
Fix cross-reference
davidhassell Apr 29, 2021
87afb2c
Re-wording
davidhassell Apr 29, 2021
ed75095
typesetting
davidhassell Apr 29, 2021
35b0862
tie point index re-wording
davidhassell Apr 29, 2021
1c41014
Merge remote-tracking branch 'anders/master' into lossy-compression-t…
erget May 4, 2021
9113645
Merge remote-tracking branch 'david/anders_subsampled' into lossy-com…
erget May 4, 2021
0104a28
Rotation of interpolation axes for two dimensional methods and mino c…
AndersMS May 5, 2021
12d6d21
terminology: interpolation variable and tie point variable
davidhassell May 6, 2021
2e9fd16
typo
davidhassell May 6, 2021
42c50b3
examples in toc
davidhassell May 6, 2021
c481a05
Merge pull request #5 from davidhassell/coordinate-sampling-terminology
erget May 6, 2021
41fd8fc
Merge pull request #6 from davidhassell/table-of-contents-examples
erget May 6, 2021
4088f63
Replace expression for gsqr with equivalent, but numerically more acc…
AndersMS May 9, 2021
9483ed9
Update authors
erget May 11, 2021
cb6d5af
Update history
erget May 11, 2021
ea5268b
Rename attribute tie_points to coordinate_interpolation (Change 2)
AndersMS Jun 18, 2021
190fdff
Reword section Interpolation and Non-Interpolation Dimensions (Cahnge…
AndersMS Jun 18, 2021
f8cd983
Rename tie_point_dimensions attribute to tie_point_mapping (Change 2)
AndersMS Jun 24, 2021
a6d37b4
Change term 'tie point variable' to 'tie point coordinate variable' (…
AndersMS Jun 24, 2021
27d1733
Reword first paragraph of Section 8 (Change 6)
AndersMS Jun 24, 2021
971bfbe
Remove sentence "This form of compression may also be..." (Change 7)
AndersMS Jun 24, 2021
3d4348f
Update sentence: "A single interpolation dimension may be associated.…
AndersMS Jun 24, 2021
7ab0c4f
Reword section "Interpolation and non-interpolation dimension" (Chang…
AndersMS Jun 24, 2021
d715552
Improve sentence "An interpolation zone must span at least two points…
AndersMS Jun 24, 2021
fdeef67
Correct sentence "....must be a subset of zero or more of the ..." (…
AndersMS Jun 24, 2021
ba4a65e
Reword text about the dimensions of interpolation parameter (Change 13)
AndersMS Jun 24, 2021
aceb987
Improve sentence "The bounds of a tie point must be the same..." (Cha…
AndersMS Jun 24, 2021
f439ee5
Reduce number of data variables in Example 8.5 (Change 16)
AndersMS Jun 24, 2021
d6d7ea3
Rename "terms to continuous area" and "interpolation subarea" (Change 5)
AndersMS Jun 24, 2021
5cfae45
Improve wording of "An interpolation subarea must span..." (Change 11)
AndersMS Jun 24, 2021
485d3b8
Remove paragraph "The same interpolation variable may be multiply map…
AndersMS Jun 25, 2021
db0eb4e
Rename terms to: subsampled dimension, interpolated dimension and non…
AndersMS Jul 1, 2021
e5feea3
Combine the tie_point_dimensions and tie_point_indices attributes (C…
AndersMS Jul 1, 2021
3501992
Update figures to match new terms
AndersMS Jul 1, 2021
577fbcc
Improve description of non-overlapping interpolation subareas
AndersMS Jul 1, 2021
839b49c
Improve description of non-overlapping interpolation subareas
AndersMS Jul 1, 2021
376fd27
Update Example 8.6 to correctly specify one dimension interpolation f…
AndersMS Jul 2, 2021
2becd52
Improve wording of Tie Point Index Mapping (Change 8)
AndersMS Jul 2, 2021
5ff4283
Clarify interpolation subarea size
AndersMS Jul 5, 2021
8eeb0a2
Clarify dimensions in Figure 2
AndersMS Jul 5, 2021
db15c01
Add new section 8.3.9, "Computational Precision"
AndersMS Jul 5, 2021
9807518
Combine the tie_point_dimensions and tie_point_indices attributes (Ch…
AndersMS Jul 5, 2021
daaa3e0
Remove paragraph "A single interpolated dimension may be associated …
AndersMS Jul 5, 2021
5ddda3b
Update ch08.adoc
AndersMS Jul 6, 2021
cb91ac0
Update ch08.adoc
AndersMS Jul 6, 2021
f04a82f
Update ch08.adoc
AndersMS Jul 6, 2021
d4886b7
Update ch08.adoc
AndersMS Jul 7, 2021
32f0b84
Change sampl... to subsampl...
AndersMS Jul 14, 2021
4dd60e2
Merge branch 'lossy-compression-through-coordinate-sampling' of https…
AndersMS Jul 14, 2021
f3de508
Rewrite section Interpolation of Cell Boundaries (Change 15)
AndersMS Jul 20, 2021
2ce5d66
Constrain interpolation parameters to support bounds interpolation
AndersMS Jul 21, 2021
3ea5989
Update <<link>> names and figure names to new terms
AndersMS Jul 21, 2021
0c5b732
Require tie points to be numeric type and have no missing values
AndersMS Jul 21, 2021
0ef79f5
Update Appendix J with new terms and names
AndersMS Jul 21, 2021
a285b42
Correct spelling mistake in Appendix J
AndersMS Jul 21, 2021
ecdaf92
Correct numbering mistake in Appendix J
AndersMS Jul 21, 2021
d033fee
Change "iz" (interpolation zone) to "is" (interpolation subarea) in A…
AndersMS Jul 22, 2021
ca81618
Correct "target dimension" to "interpolated dimension" (Change 17)
AndersMS Jul 23, 2021
f6f48fb
Introduce section numbering and remove table captions in Appendix J
AndersMS Jul 23, 2021
1002806
Include interpolation argument s in figure 1 and 2
AndersMS Jul 23, 2021
0fdc7e4
Move Figure 1 and 2 in Appendix J futher down
AndersMS Jul 23, 2021
5f9ad9a
State tht for linear interpolation, the coordinates of the interpolat…
AndersMS Jul 23, 2021
0116283
Change "equivalently" to "similarly" in explanation of s1 and s2 in A…
AndersMS Jul 23, 2021
ea474a5
Rename cofficeint "c" to "w" in Appendix J to avoid confusion with po…
AndersMS Jul 23, 2021
4efef82
Move "Common Conversions and Formulas" in front of "Interpolation Met…
AndersMS Jul 23, 2021
303aaa4
Add "s" to "each of the interpolated dimension" in Appendix J
AndersMS Jul 23, 2021
ec65f10
Change font in Common Conversions and Formulas table
AndersMS Aug 2, 2021
06dac3a
Revert change 5f9ad9a (Change 23)
AndersMS Aug 2, 2021
a30c58f
Improve wording of bounds interpolation tie point selection (Change 18)
AndersMS Aug 2, 2021
af2a2ea
Change cartesian to 3d cartesian (Change 27)
AndersMS Aug 2, 2021
4cc00cb
Change cartesian to 3d cartesian (Change 27)
AndersMS Aug 2, 2021
d9436e4
Rename [bi_]quadratic_remote_sensing to [bi_]quadratic_latitude_longi…
AndersMS Aug 2, 2021
546d288
Improve explanation of latitude_limit (Change 28)
AndersMS Aug 2, 2021
bf95234
Editorial, heading capitalisation
AndersMS Aug 2, 2021
09b107e
Reword and move to end of chapter the section on computational precis…
AndersMS Aug 2, 2021
2711322
Correct section link
AndersMS Aug 2, 2021
be8f18d
Minor editorial corrections
AndersMS Aug 3, 2021
b2bb017
Corrections of typos
AndersMS Aug 3, 2021
b6cd5e6
Correct Futhermore -> Furthermore
AndersMS Aug 3, 2021
5a7b198
Minor wording improvements arising from review
davidhassell Jul 27, 2021
ce75405
Conformance for bounds tie points
davidhassell Jul 27, 2021
b431e9d
computational_precision conformance
davidhassell Aug 2, 2021
062debe
Correct references
erget Aug 3, 2021
7802b6e
Move coordinate_interpolation to correct alphabetic position in table
AndersMS Aug 3, 2021
d28dfd1
Increase column width in Common Conversions and Formulas
AndersMS Aug 3, 2021
c989276
Remove special character in cos() and sin()
AndersMS Aug 4, 2021
b10fb67
Clarify conditions for bounds interpolation
AndersMS Aug 10, 2021
1940954
Merge remote-tracking branch 'upstream/master' into lossy-compression…
erget Aug 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions appa.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ formula in the definition.
| link:$$http://www.unidata.ucar.edu/software/netcdf/docs/attribute_conventions.html$$[NUG Appendix A, "Attribute Conventions"]
| Name of the conventions followed by the dataset.

| **`coordinate_interpolation`**
| S
| D, Do
| <<compression-by-coordinate-subsampling>>
| Indicates that coordinates have been compressed by sampling and identifies the tie point coordinate variables and their associated interpolation variables.

| **`coordinates`**
| S
| D, M, Do
Expand Down
420 changes: 420 additions & 0 deletions appj.adoc

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bibliography.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
- [[[FGDC]]] link:$$http://www.fgdc.gov/standards/projects/FGDC-standards-projects/metadata/base-metadata/v2_0698.pdf$$[Content Standard for Digital Geospatial Metadata] .
Federal Geographic Data Committee, FGDC-STD-001-1998
.

- [[[IEEE_754]]] link:$$https://ieeexplore.ieee.org/servlet/opac?punumber=8766227$$[IEEE Standard for Floating-Point Arithmetic], in __IEEE Std 754-2019 (Revision of IEEE 754-2008)__, vol., no., pp.1-84, 22 July 2019, doi: 10.1109/IEEESTD.2019.8766229.
- [[[NetCDF]]] link:$$http://www.unidata.ucar.edu/netcdf/index.html$$[ NetCDF Software Package] .
UNIDATA Program Center of the University Corporation for Atmospheric Research
.
Expand Down
7 changes: 7 additions & 0 deletions cf-conventions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ include::toc-extra.adoc[]
* Alan D. Snow, Corteva Agriscience
* Tobias Kölling, MPIM
* Dave Allured, NOAA
* Aleksandar Jelenak, HDF Group
* Anders Meier Soerensen, EUMETSAT
* Lucile Gaultier, OceanDataLab
* Sylvain Herlédan, OceanDataLab

Many others have contributed to the development of CF through their participation in discussions about proposed changes.

Expand Down Expand Up @@ -107,6 +111,9 @@ include::apph.adoc[]
:numbered!:
include::appi.adoc[]

:numbered!:
include::appj.adoc[]

:numbered!:
include::history.adoc[]

Expand Down
4 changes: 4 additions & 0 deletions ch01.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ It is a one-dimensional variable with the same name as its dimension [e.g., **`t

grid mapping variable:: A variable used as a container for attributes that define a specific grid mapping. The type of the variable is arbitrary since it contains no data.

interpolation variable:: A variable used as a container for attributes that define a specific interpolation method for uncompressing tie point variables. The type of the variable is arbitrary since it contains no data.

latitude dimension:: A dimension of a netCDF variable that has an associated latitude coordinate variable.

local apex group:: The nearest (to a referring group) ancestor group in which a dimension of an out-of-group coordinate is defined. The word "apex" refers to position of this group at the vertex of the tree of groups formed by it, the referring group, and the group where a coordinate is located.
Expand Down Expand Up @@ -103,6 +105,8 @@ sibling group:: Any group with the same parent group as the referring group

spatiotemporal dimension:: A dimension of a netCDF variable that is used to identify a location in time and/or space.

tie point variable:: A netCDF variable that contains coordinates that have been compressed by sampling. There is no relationship between the name of a tie point variable and the name(s) of its dimension(s).

time dimension:: A dimension of a netCDF variable that has an associated time coordinate variable.

vertical dimension:: A dimension of a netCDF variable that has an associated vertical coordinate variable.
Expand Down
647 changes: 644 additions & 3 deletions ch08.adoc

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions conformance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,134 @@ in the file.
starting with 0 and going up to the product of the compressed dimension
sizes minus 1 (CDL index conventions).

[[compression-by-gathering]]
=== 8.2 Lossless Compression by Gathering

*Requirements:*

* The **`compress`** attribute may only be attached to a coordinate variable
with an integer data type.
* The type of the **`compress`** attribute is a string whose value is a blank
separated list of dimension names. The specified dimensions must exist
in the file.
* The values of the associated coordinate variable must be in the range
starting with 0 and going up to the product of the compressed dimension
sizes minus 1 (CDL index conventions).

[[compression-by-coordinate-subsampling]]
=== 8.3 Lossy Compression by Coordinate Subsampling

*Requirements:*

* When attached to a data variable, the type of the **`tie_points`**
attribute is a string whose value is a list of blank separated word
groups of the following form, in which brackets indicate optional
text: **`tie_point_variable: [tie_point_variable: ...]
interpolation_variable`**. Each **`tie_point_variable`** token
specifies a tie point variable that must exist in the file, and each
**`interpolation_variable`** token specifies a variable that must
exist in the file.

* An interpolation variable must have one of the string-valued
attributes **`interpolation_name`** or
**`interpolation_description`**, but not both. The legal values for
the **`interpolation_name`** attribute are contained in the
Interpolation Methods section of http://cfconventions.org/cf-conventions/cf-conventions.html#appendix-coordinate-subsampling[Appendix J].

* An interpolation variable must have the attribute **`computational_precision`**.
The legal values for the **`computational_precision`** attribute are contained in the Interpolation Method Implementation subsection of the Lossy Compression by Coordinate Subsampling section of chapter 8.

* An interpolation variable must have a **`tie_point_dimensions`**
attribute that is a string whose value is a list of blank separated
word groups of the following form, in which brackets indicate
optional text: **`interpolation_dimension:
tie_point_interpolation_dimension [interpolation_zone_dimension]`**.
Each **`interpolation_dimension`** token specifies a unique
interpolation dimension of the parent data variable, each
**`tie_point_interpolation_dimension`** token specifies the tie
point interpolation dimension of a unique tie point index variable,
and each **`interpolation_zone_dimension`** token specifies a unique
interpolation zone dimension. The tie point interpolation dimensions
and interpolation zone dimensions must not be dimensions of the
parent data variable.

* The tie point variables associated with each
**`interpolation_variable`** token must all span the same dimensions,
which comprise a subset of zero or more dimensions of the parent
data variable with the addition of all of the tie point
interpolation dimensions identified by the **`tie_point_dimensions`**
attribute of the interpolation variable. A tie point variable must
not span both a tie point interpolation dimension and its
corresponding interpolation dimension, as defined by the
**`tie_point_dimensions`** mapping.

* An interpolation variable must have a **`tie_point_indices`**
attribute that is a string whose value is a list of blank separated
word pairs of the following form: **`interpolation_dimension:
tie_point_index_variable`**. The **`interpolation_dimension`**
tokens specify the same interpolation dimensions as the
**`tie_point_dimensions`** attribute, and each
**`tie_point_index_variable`** token specifies a tie point index
variable that must exist in the file.

* A tie point index variable must be a one-dimensional variable with
an integer data type.

* The dimension of a tie point index variable must be a tie point
interpolation dimension identified by the **`tie_point_dimensions`**
attribute.

* The values of a tie point index variable must be non-negative
integers. The first value must be zero, and each subsequent value
must be greater than or equal to the previous value. If a value
differs by zero or one from its previous value, then it must differ
by two or more from its subsequent value.

* The size of an interpolation zone dimension must be equal to the
size of the corresponding tie point interpolation dimension minus
the number of interpolation areas for that tie point interpolation
dimension. The number of interpolation areas is equal one plus the
number of occurences of adjacent values differing by zero or one in
the corresponding tie point index variable.

* When attached to an interpolation variable, the type of the
**`interpolation_parameters`** attribute is a string whose value is
list of blank separated word pairs in the form **`term: var`**. For
each valid **`interpolation_name`**, the legal values for **`term`**
are described by the "Interpolation Parameter terms" table entry in
the Interpolation Methods section of http://cfconventions.org/cf-conventions/cf-conventions.html#appendix-coordinate-subsampling[Appendix J].
The values of
**`var`** must be interpolation parameter variables that exist in
the file.

* The dimensions of an interpolation parameter variable must be a
subset of zero or more of the dimensions of the corresponding tie
point variables, with the exception that a tie point interpolation
dimension may be replaced with its corresponding interpolation zone
dimension, as defined by the **`tie_point_dimensions`** mapping.

* If a tie point variable has **`bounds_tie_points`** attribute then
it must be a string whose value is a single variable name. The
specified variable must exist in the file.

* A bounds tie point variable must have the same dimensions as its
associated tie points coordinate variable.

* A bounds tie point variable must be a numeric data type.

* A bounds tie point variable must not have the **`_FillValue`** or
**`missing_value`** attributes. The requirements on all other bounds
tie point variable attributes are the same as for bounds variables
described in <<cell-boundaries>>.

*Recommendations:*

* An interpolation variable should have 0 dimensions.

* The recommendations on bounds tie point variable attributes are the
same as for bounds variables described in <<cell-boundaries>>.


=== Appendix D Parametric Vertical Coordinates

*Requirements:*
Expand Down
6 changes: 6 additions & 0 deletions history.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,9 @@ node coordinate variables to be one of the dimensions of the data variable.
.2 July 2021
. link:$$https://github.com/cf-convention/cf-conventions/issues/298$$[Issue #298]: Interpretation of negative years in the units attribute
. link:$$https://github.com/cf-convention/cf-conventions/issues/319$$[Issue #319]: Restrict "gregorian" label to only dates in the Gregorian calendar

.24 August 2021
. Added <<compression-by-coordinate-subsampling, Section 8.3, "Lossy Compression by Coordinate Subsampling">>.
. Updated definitions in chapter 1 and Appendix A
. Added <<appendix-coordinate-subsampling, Appendix J, "Coordinate Subsampling Methods">>.

Loading