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.2.0.tar.gz (11.9 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.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dnora_destine-0.2.0.tar.gz
  • Upload date:
  • Size: 11.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 a93e452dfa3cf0921f76df51fdb28cfd33eecb770a90ad495a1ab22b0b961995
MD5 470483c8ef4f08c66f6cd8d449b26018
BLAKE2b-256 5c07311e57e232ca15adafdba5a2621f73b5736161f8ed331df54b1b62f5b4ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dnora_destine-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 806ec0fa8e2c2f03a6e3f8d589b0d703102edc81d4a9a8c00ea21eff97748ba3
MD5 d9eb8d6c0805838d7bdaa46a959ef080
BLAKE2b-256 5a23d90ce1e28da64878aaf1776b35496342c4575648b702d96f948d11f8be4a

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