kdrushka / oceanliner_backup

oceanliner: observing system simulation experiments (OSSEs) to subsample high-resolution model output as if by gliders, ships, or other in situ platforms
MIT License
7 stars 4 forks source link

use a variable maximum depth #19

Open kdrushka opened 2 years ago

kdrushka commented 2 years ago

currently, the sampling track can extend to the max bottom depth of the domain - interpolated data below the water depth are Nan, which is fine - but this sampling strategy is not realistic because shallow profiles would actually be completed more quickly and therefore would be more frequent in time.

implementing a depth range / z sampling that changes would require interpolating "Depth" to each waypoint, and adjusting "zrange" locally at each timestep.