Use case
I would like to upload NetCDF (.nc) files to GeoNode as documents, so users can catalogue, manage permissions, and download the original files. GeoServer publishing or map visualization is not required.
Current behavior
In my current checkout (GeoNode 5.1.0 dev), .nc is not included in DOCUMENT_TYPE_MAP. Adding nc to ALLOWED_DOCUMENT_TYPES alone does not enable it because the setting is filtered against that map. Uploads also require content-type validation configuration.
Questions
Is excluding NetCDF from document uploads intentional, or is this simply a file type that has not yet been added? What is the recommended way to support it, including NetCDF classic and NetCDF-4/HDF5 files?
Expected behavior
- Allow valid
.nc files to be uploaded as documents.
- Preserve the original file for download.
- Use the existing document metadata and permission controls.
- Require no spatial parsing or GeoServer publishing.
Use case
I would like to upload NetCDF (
.nc) files to GeoNode as documents, so users can catalogue, manage permissions, and download the original files. GeoServer publishing or map visualization is not required.Current behavior
In my current checkout (GeoNode 5.1.0 dev),
.ncis not included inDOCUMENT_TYPE_MAP. AddingnctoALLOWED_DOCUMENT_TYPESalone does not enable it because the setting is filtered against that map. Uploads also require content-type validation configuration.Questions
Is excluding NetCDF from document uploads intentional, or is this simply a file type that has not yet been added? What is the recommended way to support it, including NetCDF classic and NetCDF-4/HDF5 files?
Expected behavior
.ncfiles to be uploaded as documents.