Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Southern Hemisphere region #205

Merged
merged 4 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions geometric_data/ocean/region/Southern_Hemisphere/region.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Southern Hemisphere",
"tags": "",
"object": "region",
"component": "ocean",
"author": "Carolyn Begeman",
"zmax": 10.0,
"zmin": -10000.0
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-180.0,
-90.0
],
[
180.0,
-90.0
],
[
180.0,
0.0
],
[
-180.0,
0.0
],
[
-180.0,
-90.0
]
]
]
}
}
]
}
2 changes: 1 addition & 1 deletion geometric_features/aggregation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_aggregator_by_name(region_group):
'date': '20201130',
'function': arctic_seaice},
'Ocean Basins': {'prefix': 'oceanBasins',
'date': '20200621',
'date': '20240830',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbegeman, I updated the date stamp for Ocean Basins. I hope you don't mind.

This is needed so new region masks get created in MPAS-Analysis and Compass that include Southern Hemisphere.

'function': basins},
'Ice Shelves': {'prefix': 'iceShelves',
'date': '20200621',
Expand Down
3 changes: 2 additions & 1 deletion geometric_features/aggregation/ocean/ocean_basins.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def basins(gf):
fc.merge(gf.read(componentName='ocean', objectType='region',
featureNames=['Global Ocean',
'Global Ocean 65N to 65S',
'Global Ocean 15S to 15N']))
'Global Ocean 15S to 15N',
'Southern Hemisphere']))

return fc
3 changes: 3 additions & 0 deletions geometric_features/features_and_tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,9 @@
"South_Pacific_Ocean",
"Pacific_Basin"
],
"Southern Hemisphere": [
""
],
"Southern Ocean": [
"Southern_Ocean",
"Southern_Ocean_Basin"
Expand Down
Loading