quince-science / QuinCe

QuinCe is an online tool for processing and quality control of data from scientific instruments, with a primary focus on oceanic data.
https://quince.science
GNU General Public License v3.0
7 stars 8 forks source link

Detection of calibrations isn't smart around datasets that will shrink #2922

Closed squaregoldfish closed 5 months ago

squaregoldfish commented 5 months ago

Schermata 2024-06-07 alle 14 50 42

In this example, the coefficients are set for mid January, just after the start of the Temp_Sal file. This causes the error because the coefficients aren't set for the very start of the data. However, once the dataset is processed it will be shrunk down to the period of the gc_SD file, which will make it valid.

Should the auto-shrinking happen at this point, rather than when the data extraction happens? It should be possible to at least shrink to the file range, even if the data is shrunk a little further during extraction.

squaregoldfish commented 5 months ago

Strongly related to #2752 in terms of what will happen to the auto-generated dataset name

squaregoldfish commented 5 months ago

This might not be quite so smart, because the auto-shrink in the UI will end up actively fighting the user. Maybe just add a not to say that the dataset will be shrunk to fit.