ncas_amof_netcdf_template.tsv2dict

Take tsv files and return data as dictionaries useful for creating netCDF files.

Functions

create_attributes_tsv_url(product[, ...])

Returns URL for tsv file of global attributes specific to a given product and tag release or branch.

create_dimensions_tsv_url(product[, ...])

Returns URL for tsv file of dimensions specific to a given product and tag release or branch.

create_variables_tsv_url(product[, ...])

Returns URL for tsv file of variables specific to a given product and tag release or branch.

instrument_dict(desired_instrument[, loc, ...])

Collect all variables, dimensions and attributes required for all data products associated with an instrument and deployment mode.

list_all_products([use_local_files, tag])

Return list of all available data products.

product_dict(desired_product[, platform, ...])

Collect all variables, dimensions and attributes required for a data products and deployment mode.

tsv2dict_attrs(tsv_file)

For a given tsv file from https://github.com/ncasuk/AMF_CVs/tree/main/product-definitions/tsv for data global attributes, return dictionary of attributes and associated values and info.

tsv2dict_dims(tsv_file)

For a given tsv file from https://github.com/ncasuk/AMF_CVs/tree/main/product-definitions/tsv for data dimensions, return dictionary of dimensions and additional info.

tsv2dict_instruments(tsv_file)

For a given tsv file from https://github.com/ncasuk/AMF_CVs/tree/main/product-definitions/tsv for ncas- or community-instruments, return dictionary of instruments and associated information.

tsv2dict_vars(tsv_file)

For a given tsv file from https://github.com/ncasuk/AMF_CVs/tree/main/product-definitions/tsv for data variables, return dictionary of variables and their attributes.