-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API to create source file and data for OWC software #142
Conversation
- filter_qc can take a list of QC fields, instead of using all available
Add new filter_scalib_pres method to select pressure, temperature and salinity according to OWC preprocessing requirements
Add the subsample_pressure method to select vertical levels to keep max 1 level every 10db, starting from the surface (0db) Add misc utilities functions
More dev on create_float_source, add logger
New _where method to preserve Argo data type after xarray where ! Misc changes to use new argo._where (some need for cast_types removed) More debug logs
Examples for the validation are given here: #141 (comment) |
New N_PROF, N_LEVELS, N_POINTS accessor properties
Add the ds_align_pressure method
Redesigned year fraction computation functions to use only pandas timestamp and timedelta. These new functions are robust to leap years and give precisions down to the second.
- Fix bug in _where method not returning a new object - Improved __repr__ to include N profiles and levels
fix bug where the Matlab output was not from the pressure re-aligned dataset
Make sure to output longitude between 0-360
- Add new section to the documentation (Data quality control) for the new methods - Modify the create_float_source to be able to handle dataset with more than one float ! Output file name are generated automatically, only the path/folder name can be provided
…at_source - Now use a xarray apply_ufunc to bin and align measurements (groupby_remap). This a new accessor method (align_std_bins) to be used even without create_float_source - Results are similar and obtained faster
Contemplating at fixing #155 also |
Hi @gmaze, Thank you for pinning me. |
I have started some reviewing process of this code. @gmaze, are you expecting from me to test the code or rather peer review. I don't have much experience in peer review and it can take a wile for me now. |
@kamwal
Poking you with a review, is also a nice way to simply let you know what we've done in here ! |
@kamwal , looking at the code details is clearly not expected, please review as an "end user" rather "code dev" :
thanks ! |
This will close #141
Documentation of the new API:
https://argopy.readthedocs.io/en/mat-owc/data_quality_control.html#salinity-calibration