-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3cde6b
commit 51529ea
Showing
3 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
# ModelForcing | ||
# ModelForcings | ||
|
||
Python interfaces for model forcings | ||
`modelforcings` provides Python interfaces for various forcings commonly used in coupled ocean modeling. | ||
|
||
## Usage | ||
|
||
### Vortex Data | ||
|
||
```python | ||
from modelforcings.vortex import VortexForcing | ||
|
||
# retrieve vortex data for Florence 2018 from the Internet | ||
vortex_florence2018 = VortexForcing('irma2017') | ||
|
||
# write to a file in the ADCIRC `fort.22` format | ||
vortex_florence2018.write('fort.22') | ||
|
||
# read vortex data from an existing ATCF track file (`*.trk`) | ||
vortex_irma2017 = VortexForcing.from_atcf_file('irma2017_atcf.trk') | ||
|
||
# read vortex data from an existing file in the ADCIRC `fort.22` format | ||
vortex_from_fort22 = VortexForcing.from_atcf_file('fort.22') | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[metadata] | ||
name = ModelForcings | ||
name = modelforcings | ||
lead_developer = Zachary Burnett | ||
author = Jaime R Calzada, Zachary Burnett | ||
author_email = [email protected], [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters