Add-on to dnora: Access to DestinE weather products
Project description
dnora-destine
Add-on to dnora: Access to DestinE weather products
Quick Installation
$ conda create -n dnora_destine python=3.9
$ conda activate dnora_destine
$ python -m pip install dnora-destine
Minimal example
Download boundary spectra (JONSWAP spectra determined from parameters), wind and ice. Write output files for WAVEWATCH III.
import dnora as dn
import dnora_destine as dnd
grid = dn.grid.EMODNET(
lon=(5.65, 6.05),
lat=(68.00, 69.55),
name="SmallTestDomain",
)
grid.set_spacing(dm=1000)
grid.import_topo()
grid.mesh_grid()
grid.set_boundary_points(dn.grid.mask.Edges(edges=["N", "W", "S", "E"]))
# Data is not saved, so update dates to be close to todays date
model = dnd.modelrun.ECMWF(grid, year=2025, month=8, day=26)
model.import_spectra()
model.import_wind()
model.import_ice()
exporter = dn.export.WW3(model)
exporter.export_grid()
exporter.export_wind()
exporter.export_spectra()
exporter.export_ice()
exe = dn.executer.WW3(model)
exe.write_grid_file()
exe.write_wind_file()
exe.write_ice_file()
exe.write_spectra_file()
exe.write_input_file()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dnora_destine-0.3.0.tar.gz
(12.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dnora_destine-0.3.0.tar.gz.
File metadata
- Download URL: dnora_destine-0.3.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98833c7bd2f84ba2c796b5b54acd50bdc85cdcfc5d6210d918923b8f779fd24b
|
|
| MD5 |
9f67065a6ab415937ba9acb1cabb120e
|
|
| BLAKE2b-256 |
6130ee44032f1b6168afcdc07ef80bc5d29ae2af4ef179bef648f9bd61692cc0
|
File details
Details for the file dnora_destine-0.3.0-py3-none-any.whl.
File metadata
- Download URL: dnora_destine-0.3.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7977c512fda719b06e893c3670d5d754e8b4b040f433973778f212cad211d42a
|
|
| MD5 |
e2ce58ba048d0aa2df8a8cb0a39d1a85
|
|
| BLAKE2b-256 |
3d533ce7bacfac0fcd9208f4826db2a5a16a1b1da9183cb18107a44429c0ce50
|