ncas_amof_netcdf_template.util
Reasonably helpful functions that can be often used.
Functions
|
Take metadata from dictionary and add to global attributes in netCDF file. |
|
Reads metadata from csv file using get_metadata, adds values to global attributes in netCDF file. |
|
Change the flag meanings and flag values in a quality control variable from the default options. |
|
Returns True if value can be converted to float, otherwise returns False. |
|
Returns True if value can be converted to integer, otherwise returns False. |
|
Returns True if value can be converted to type dtype, otherwise returns False. |
|
Returns a dict from of metadata from file. |
|
Returns all time units for AMOF netCDF files from series of datetime objects. |
|
Returns a dict from a csv with metadata. |
|
Returns a dict from a JSON with metadata. |
|
Returns a dict from a XML with metadata. |
|
Returns a dict from a YAML with metadata. |
|
Adds data to variable, and updates valid_min and valid_max |
Returns single digit number n as '0n' Returns multiple digit number n as 'n' Used for date or month strings |