-
Notifications
You must be signed in to change notification settings - Fork 1
Use VLEN datatypes for Discrete Sampling Geometries #8
Comments
Hi Maarten: Its been high on my list to explore how the extended model can make point One of the issues with VLEN at the HDF5 layer is that you have to read the OTOH, I agree that for things like profiles that might have some variations I think we need to explore the performance of the various options. I have John On Tue, Mar 3, 2015 at 9:31 AM, Maarten Sneep [email protected]
|
In Sentinel 5 precursor a VLEN datatype will be used for a variable where the number of data points per observation varies, but with a maximum of 32. This seems reasonable, especially since you'll need all of those for a particular observation anyway (subsetting is not meaningful there). An option may be to use groups, where each DSG gets its own group. This probably reduces complexity, as a single group contains a single dataset, and subsetting is easily done. |
Hi Maarten: Can you expound on "each DSG gets its own group. This probably reduces what do you mean by "each DSG" and "a single dataset" here ? John On Tue, Mar 31, 2015 at 4:53 AM, Maarten Sneep [email protected]
|
In discrete sampling geometries you have a sequence of series of observations. Each series in the sequence has a different length. The sequence is "everything you want to store" You can try to store these in a single variable, but that requires some extra metadata where each series of observations starts, or the use of VLEN data (with noted objections for large series). Another option is to use groups, with a new group to collect each series in the sequence, and perhaps a higher level group to combine the whole sequence. The various parameters can then each receive a separate variable. |
@MaartenSneepKNMI -- should we move this issue to the cf-conventions main issue list or do you think it could be archived? |
The section on discrete sampling geometries uses various methods to (efficiently) store datasets of varying length in linear arrays. NetCDF-4 introduces a VLEN data type, which seems to be quite elegant for this type of data. I suggest that we look into this.
The text was updated successfully, but these errors were encountered: