Closed kilojoules closed 5 months ago
@ptrbortolotti Thank you. I have updated the PR according to your feedback.
@kilojoules Is it possible to include some example bathymetry data so that these proposed changes can be tested? You can find in examples/plant/validation.py
code that verifies all the current aspects of the plant ontology with the available example data, and it would be good to include additional code for bathymetry.
@kilojoules thank you for this! is this PR still up to date? are you hoping to address the last comment from @bayc?
We discussed it and I am going to try to use the existing constructor. This PR is not ready yet.
I have updated the PR to use the included constructor for loading bathymetry data. I've set the default yaml loader to be the XrResourceLoader
, which supports loading yaml files directly or reading in netCDF files in xarray format.
@kilojoules Please test this out with your wind plant repository and verify that it works.
This schema allows bathymetry to be specified as arrays of x, y, and depth, within the YAML file.