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.1.3.tar.gz
(11.6 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.1.3.tar.gz.
File metadata
- Download URL: dnora_destine-0.1.3.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55f5ff56a7b11b955e1e130b91a0685a7f775cd5ef37acc1100c7eaabb9abf7
|
|
| MD5 |
2aa72f6903be2d3d4b91bf8e9c2cd899
|
|
| BLAKE2b-256 |
c971ee85e8e62eafab9b92bf848d6485239203eb7a40d18dd24e4208ad3856e4
|
File details
Details for the file dnora_destine-0.1.3-py3-none-any.whl.
File metadata
- Download URL: dnora_destine-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.6 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 |
c022a62102815a27143e70637f0605e7e347de80136d0ad015e9835570a007fa
|
|
| MD5 |
dcd01d1fecc6e522e7066aefe6b34734
|
|
| BLAKE2b-256 |
1be5d6eadc6686c5541068eeff16ffddc81e2dd5d9aaab61fa9897a643d6472f
|