values

Get various URLs from AMF_CVs GitHub repo for vocab releases.

ncas_amof_netcdf_template.values.get_all_data_products_url(use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of data products.

Parameters:
  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_common_attributes_url(use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of common global attributes.

Parameters:
  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_common_dimensions_url(loc: str = 'land', use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of common dimensions.

Parameters:
  • loc (str) – deployment mode of instrument - one of ‘land’, ‘sea’, ‘air’, or ‘trajectory’

  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_common_variables_url(loc: str = 'land', use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of common variables.

Parameters:
  • loc (str) – deployment mode of instrument - one of ‘land’, ‘sea’, ‘air’, or ‘trajectory’

  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_community_instruments_url(use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of community instruments.

Parameters:
  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_instruments_url(use_local_files: Optional[str] = None, tag: str = 'latest') str[source]

Return URL to TSV file of AMOF instruments.

Parameters:
  • use_local_files (str or None) – path to local directory where tsv files are stored. If “None”, read from online. Default None.

  • tag (str) – tagged release of definitions, or ‘latest’ to get most recent release. Ignored if use_local_files is not None. Default “latest”.

Returns:

URL string

ncas_amof_netcdf_template.values.get_latest_CVs_version() str[source]

Get latest release version of AMF_CVs

Returns:

string of latest tagged version release

ncas_amof_netcdf_template.values.get_latest_instrument_CVs_version() str[source]

Get latest release version of ncas-data-instrument-vocabs

Returns:

string of latest tagged version release