Feature #1019 USCRN #3049
Merged
JohnHalleyGotway merged 25 commits intodevelopfrom feature_1019_USCRNJan 22, 2025
+1,379-553
Commits
Commits on Jan 7, 2025
Per #1019, initial setup for supporting -format uscrn. It compiles but I still need to make it work for the variety of USCRN inputs.
committed- committed
Per #1019, saving progress after handling monthly, daily, and hourly input files. Need to complete support for other format types and handle the unit strings
committed
Commits on Jan 10, 2025
- committed
Per #1019, tweak log messages so that the file being read is logged before it's actually read so that an error in parsing the data will indicate which file caused it.
committedPer #1019, update DataLine and LineDataFile classes to support parsing .csv files. Get rid of the unneeded Offsets vector. Add AllowEmptyColumns option to the DataLine class so that multiple delimi…
committedPer #1019, update USCRN handler code to support all 7 input variants, including .csv files. This required updates to the DataLine and LineDataFile classes to parse the .csv data properly. Still nee…
committed
Commits on Jan 11, 2025
Commits on Jan 13, 2025
Per #1019, add StringArray::all_empty() member function to check for a list of all empty strings. This is used in ascii2nc to determine if observation units and descriptions should be written.
committedPer #1019, update library code to handle the independent writing of point observation descriptions. Previously, if units were present then descriptions (usually empty ones) were added. Now, units a…
committed- committed
- committed
Per #1019, need to subtract 1900 from the year and 1 from the month to make this work. Seems like we should ADD these numbers where needed rather than subtracting them everywhere else!
committedPer #1019, get rid of USCRNHandler::_readHeaderInfo() since it compilicated the logic for ignoring the first line from csv files.
committedPer #1019, rather than always skipping the first line of USCRN csv files, just skip any lines where the station ID begins with 'WBAN'. That'll handle files being concatenated together and is simple…
committed- committed
Per #1019, doc-only change to indicate the prefix/suffix of the input USCRN files are used to the determine the specific format.
committed
Commits on Jan 14, 2025
Per #1019, update USCRN code to no longer specify a default _qcOffset value since it conflicts with the initialization. While the GHA compiler is fine with it, the SonarQube one is not. These chang…
committedPer #1019, for SonarQube replace ALL instances of push_back() with emplace_back() which SonarQube prefers for efficiency.
committedPer #1019, more changes to address SonarQube code smells and reduce the overall number of them lower than what's in the develop branch.
committed