Skip to content

Commit

Permalink
Merge pull request #63 from kthyng/improvements
Browse files Browse the repository at this point in the history
more options for running different cases
  • Loading branch information
kthyng authored Oct 13, 2023
2 parents 287411a + 934e7a2 commit 0fc41ae
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 116 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

# https://myst-nb.readthedocs.io/en/v0.9.0/use/execute.html
# jupyter_execute_notebooks = "auto" # deprecated
nb_execution_mode = "force"
nb_execution_mode = "cache"

# -- nbsphinx specific options ----------------------------------------------
# this allows notebooks to be run even if they produce errors.
Expand Down
6 changes: 5 additions & 1 deletion docs/datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ The NCEI netCDF feature types are useful because they describe what does and doe
| | timeSeries | profile | timeSeriesProfile | trajectory (TODO) | trajectoryProfile | grid (TODO) |
|--- |--- |--- |--- |--- | --- | --- |
| Definition | only t changes | only z changes | t and z change | t, y, and x change | t, z, y, and x change | t changes, y/x grid |
| Data types | mooring, buoy | CTD profile | moored ADCP | flow through, surface/drogued drifter | glider, transect of CTD profiles, towed ADCP | satellite, HF Radar |
| Data types | mooring, buoy | CTD profile | moored ADCP | flow through, 2D drifter | glider, transect of CTD profiles, towed ADCP, 3D drifter | satellite, HF Radar |
| maptypes | point | point | point | point(s), line, box | point(s), line, box | box |
| X/Y are pairs (locstream) or grid | either locstream or grid | either locstream or grid | either locstream or grid | locstream | locstream | grid |
| Which dimensions are independent from X/Y choice? |
| T | Independent | Independent | Independent | match X/Y | match X/Y | Independent |
| Z | Independent | Independent | Independent | Independent | match X/Y | Independent |



Expand Down
4 changes: 4 additions & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# What's New

## v1.1.0 (October 13, 2023)
* Continuing to improve functionality of flags to be able to control how model output is extracted
* making code more robust to different use cases

## v1.0.0 (October 5, 2023)
* more modularized code structure with much more testing
* requires datasets to include catalog metadata of NCEI feature type and maptype (for plotting):
Expand Down
23 changes: 16 additions & 7 deletions ocean_model_skill_assessor/featuretype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@

ftconfig = {}
ftconfig["timeSeries"] = {
"make_time_series": False,
"locstreamT": False,
"locstreamZ": False,
}
ftconfig["profile"] = {
"make_time_series": False,
}
ftconfig["trajectoryProfile"] = {
"make_time_series": True,
"locstreamT": False,
"locstreamZ": False,
}
ftconfig["timeSeriesProfile"] = {
"make_time_series": True,
"locstreamT": False,
"locstreamZ": False,
}
ftconfig["trajectory"] = {
"locstreamT": True,
"locstreamZ": False,
}
ftconfig["trajectoryProfile"] = {
"locstreamT": True,
"locstreamZ": True,
}
ftconfig["grid"] = {
"make_time_series": False,
"locstreamT": False,
"locstreamZ": False,
}
Loading

0 comments on commit 0fc41ae

Please sign in to comment.