geoips.plugins.modules.filename_formatters.utils package#
Submodules#
geoips.plugins.modules.filename_formatters.utils.tc_file_naming module#
Utilities for TC filenaming, for use within geoips filename formatters.
- geoips.plugins.modules.filename_formatters.utils.tc_file_naming.get_storm_subdir(basin_path, base_tc_stormname, tc_stormnum, output_dict, sector_info)[source]#
Get the TC storm subdirectory.
- geoips.plugins.modules.filename_formatters.utils.tc_file_naming.tc_storm_basedir(basedir, tc_year, tc_basin, tc_stormnum, output_dict=None, sector_info=None)[source]#
Produce base storm directory for TC web output.
- Parameters:
basedir (str) – base directory
tc_year (int) – Full 4 digit storm year
tc_basin (str) –
- 2 character basin designation
SH Southern Hemisphere WP West Pacific EP East Pacific CP Central Pacific IO Indian Ocean AL Atlantic
tc_stormnum (int) –
- 2 digit storm number
90 through 99 for invests 01 through 69 for named storms
- Returns:
path – Path to base storm web directory
- Return type:
str
- geoips.plugins.modules.filename_formatters.utils.tc_file_naming.update_extra_field(output_dict, xarray_obj, area_def, product_name, extra_field_delimiter='_', existing_extra_field=None, extra_field_provider=True, extra_field_coverage_func=False, extra_field_resolution=False, include_filename_extra_fields=False)[source]#
Finalize extra field using standard geoips arguments.
Module contents#
geoips filename formatters utils package init file.