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.2.tar.gz (11.2 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.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dnora_destine-0.1.2.tar.gz
  • Upload date:
  • Size: 11.2 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.2.tar.gz
Algorithm Hash digest
SHA256 cb74b5d54d90e3429e181a0edce1d5326ae75f854286939c7aa7b1f34f9411c1
MD5 545ee93be93359c3915abe7f064e785a
BLAKE2b-256 478365538376ace71b035188c3a2d093934e1ae286f9b80cea51ef90b87aafed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dnora_destine-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9bc42fea17908d962b10cbfdbff0e82b36281b713cea4eea1dc0f54447f85ee3
MD5 98ec806e50df4582929e4690d0185f4b
BLAKE2b-256 9a29746a3fdd79a96c4540dacce09439414235bdfc0a2921cf7691a682402691

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