NPIOcean / kval

Tools for analysis and processing of ocean data in Python.
MIT License
2 stars 0 forks source link

Mooring processing functionality #3

Open oyvfoss opened 8 months ago

oyvfoss commented 8 months ago

The CTD profile functionality is starting to become useful. Want to create a similar framework for mooring data, starting with moored CTDs (SBE, RBR). For data parsing, the io.sbe may be used for SBE data (I haven't tested, but I assume we would need to extend the read_cnv function or make a parallel one. For RBR instruments, we should use the pyRSK module link - which has the added benefit of allowing us to skip the software UI and import directly from raw data (.rsk files).

Would be good to follow the principles from the CTD module - parsing to well-ordanized xr.Datasets and helping with the formatting end post-processing.

Some useful functionality (I am sure there is more):

oyvfoss commented 1 month ago

Re #12: May want to think carefully about what to put in e.g. a data.moored module vs in a data.edit or data.dataset module before starting this work..

oyvfoss commented 1 month ago

There is now functionality in kval.file for importing moored RBR (.rsk) and SBE (.cnv) instruments. This should be an excellent starting point for a data.moored_ctd module. May want to stick to the model of data.ctd of calling specialized functions from a moored_ctd_tools submodule.