mpas_analysis.shared.regions.compute_region_masks_subtask.get_region_info¶
-
mpas_analysis.shared.regions.compute_region_masks_subtask.
get_region_info
(regionGroup, config)[source]¶ Get a geojson mask file and the appropriate file suffix for the given region group.
- Parameters
regionGroup (str) – The name of a region group to get mask features for, one of ‘Antarctic Regions’, ‘Arctic Ocean Regions’, ‘Arctic Sea Ice Regions’, ‘Ocean Basins’, ‘Ice Shelves’, or ‘Ocean Subbasins’
config (mpas_analysis.configuration.MpasAnalysisConfigParser) – Configuration options
- Returns
region (dict) – A dictionary of information about the region
filename (str) – The name of a geojson file with mask features
suffix (str) – A suffix to use for mask files created with these features