Skip to content

Commit

Permalink
New utils.longitude module and Longitude class; Region: explicit W/E/…
Browse files Browse the repository at this point in the history
…S/N bounds and support for non-aospy names
  • Loading branch information
Spencer Hill committed May 2, 2018
1 parent 098da63 commit 7162010
Show file tree
Hide file tree
Showing 12 changed files with 972 additions and 298 deletions.
12 changes: 8 additions & 4 deletions aospy/examples/example_obj_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,21 @@ def conv_precip_frac(precip_largescale, precip_convective):
globe = Region(
name='globe',
description='Entire globe',
lat_bounds=(-90, 90),
lon_bounds=(0, 360),
west_bound=0,
east_bound=360,
south_bound=-90,
north_bound=90,
do_land_mask=False
)


tropics = Region(
name='tropics',
description='Tropics, defined as 30S-30N',
lat_bounds=(-30, 30),
lon_bounds=(0, 360),
west_bound=0,
east_bound=360,
south_bound=-30,
north_bound=30,
do_land_mask=False
)

Expand Down
Loading

0 comments on commit 7162010

Please sign in to comment.