Skip to content

Commit 23df950

Browse files
committed
Add structured.circulation_model.py
1 parent dc614e9 commit 23df950

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

parcels/_datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
3737
This subpackage is broken down into structured and unstructured parts. Each of these have common submodules:
3838
39-
* ``circulation_model`` -> hardcoded datasets with the intention of mimicking datasets from a certain (ocean) circulation model
39+
* ``circulation_model`` -> hardcoded datasets with the intention of mimicking dataset structure from a certain (ocean) circulation model
4040
* ``generic`` -> hardcoded datasets that are generic, and not tied to a certain (ocean) circulation model. Instead these focus on the fundamental properties of the dataset
4141
* ``generated`` -> functions to generate datasets with varying properties
4242
* ``utils`` -> any utility functions necessary related to either generating or validating datasets
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import xarray as xr
2+
3+
4+
def _nemo_data() -> xr.Dataset:
5+
"""Dataset matching NEMO model output.
6+
7+
Example dataset is based off of data from MOi GLO12.
8+
9+
https://www.mercator-ocean.eu/en/solutions-expertise/accessing-digital-data/product-details/?offer=4217979b-2662-329a-907c-602fdc69c3a3&system=d35404e4-40d3-59d6-3608-581c9495d86a
10+
"""
11+
...

parcels/_datasets/structured/generic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Datasets focussing on grid geometry"""
2-
31
import numpy as np
42
import xarray as xr
53

0 commit comments

Comments
 (0)