ncas_amof_netcdf_template.remove_empty_variables
Functions for removal of empty product-specific variables. As a variable cannot be removed from a netCDF file, a new file has to be created, with the option of removing the old one.
Functions
|
Returns desired json file from https://github.com/ncasuk/AMF_CVs/tree/main/AMF_CVs URL should be in form https://raw.githubusercontent.com/ncasuk/AMF_CVs/main/AMF_CVs/___.json, otherwise a JSONDecodeError will be returned by the r.json() call |
|
Get variables and their metadata associated with a product. |
|
If a product-specific variable is empty, we want to remove it. |