StoXProject / RstoxData

R library for reading various biotic and acoustic data formats
https://stoxproject.github.io/RstoxData/
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Improved error messages in StoxBiotic #238

Closed edvinf closed 1 year ago

edvinf commented 2 years ago

Kommentarer fra Arne-Johannes.

Kommentar til Warning på StoXBiotic. "There are catchproducttype that are not 1 (4, NA, 3), but with non-missing catchweight, leading to one or more missing (NA) CatchFractionWeight in StoxBiotic() for the following catchcategory: 164712." Forslag til endring "There are catchproducttype that are not 1 (4, NA, 3), but have catchweight. This results in missing CatchFractionWeight in StoxBiotic for the following catchcategory: 164712."

Kommentar til Warning på StoXBiotic. "There are sampleproducttype that are not 1 (NA, 4, 3), but with non-missing lengthsampleweight, leading to one or more missing (NA) SampleWeight in StoxBiotic() for the following catchcategory: 164712.". Foreslår som over en endring til tekst. "There are sampleproducttype that are not 1 (NA, 4, 3), but have lengthsampleweight. This results in missing SampleWeight in StoxBiotic for the following catchcategory: 164712."

arnejohannesholmin commented 1 year ago

This has bee fixed, in a slightly different form than suggested:

"There are catchproducttype that are not 1 (4, NA, 3), but with non-missing catchweight. This results in missing CatchFractionWeight in StoxBiotic() for the following catchcategory: 164712."