Skip to content

Commit

Permalink
Merge pull request #205 from cbegeman/add-southern-hemisphere-region
Browse files Browse the repository at this point in the history
Add Southern Hemisphere region
  • Loading branch information
xylar authored Nov 6, 2024
2 parents 93f71ba + f978899 commit ac7658c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
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',
'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

0 comments on commit ac7658c

Please sign in to comment.