Skip to main content

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.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dnora_destine-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file dnora_destine-0.1.0.tar.gz.

File metadata

  • Download URL: dnora_destine-0.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for dnora_destine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7725110edd5fb010aee01167dec837a09cde68463c45c238b5dae9ea93478e8a
MD5 58bcb70681ff3e93393c599be4a4e117
BLAKE2b-256 eaa3e5c428b4200d09cc5370b1cd95b87437e2971f5b9b19ee6f7334b585da22

See more details on using hashes here.

File details

Details for the file dnora_destine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dnora_destine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for dnora_destine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac669ad99463277db9d8b71fac67bc97aa7fbc79c472100a20156d2a7e0f1ee4
MD5 a5d499dbb014d852802bc22b8ef02d07
BLAKE2b-256 4799fe6360dcb020b6ebe412d179e50dc781a9f5d38f43611a9514169b5f75c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page