datacube-core
datacube-core copied to clipboard
Improve documentation for dataset documents
-
Add description of dataset documents to "latest" documentation The description of datasets on the "latest" documentation (https://datacube-core.readthedocs.io/en/latest/about-core-concepts/datasets.html) does not contain any explanation on how the metadata documents should look like in contrast to the description of products (https://datacube-core.readthedocs.io/en/latest/about-core-concepts/products.html). Probably it was forgotten when migrating from the old-style "stable" documentation (https://datacube-core.readthedocs.io/en/stable/ops/dataset_documents.html).
-
Add explanation on how to index time-stacked netCDF files Working with time-stacked netCDF files is very common and being able to add them to the ODC index would be benefical as explained e.g. here: https://gis.stackexchange.com/questions/389481/how-to-index-and-load-a-time-stacked-netcdf-file-with-open-data-cube. Unfortunately, there is no documentation on how to do this (at least I could not find any). With some research I managed to find out how it works (from here: https://github.com/opendatacube/datacube-core/pull/449/commits/5723c040fc5aeacc638756ea21e395d491202bf8). The time index can be defined by appending a fragment (
#part=<index>
) to the uri in thepath
attribute of the metadata document. It starts from 0. Important to note that it was also necessary to prependfile://
to make it work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Point 1 in the issue description is outdated as the missing documentation has been added in the mean time (see https://github.com/opendatacube/datacube-core/blob/develop/docs/installation/dataset-documents.rst or https://datacube-core.readthedocs.io/en/latest/installation/dataset-documents.html).
For point 2, I added a PR: https://github.com/opendatacube/datacube-core/pull/1430