Skip to content

Conversation

@jmcvey3
Copy link
Contributor

@jmcvey3 jmcvey3 commented Jun 27, 2025

Discovered from a recent vessel survey that I misunderstood TDI's documentation on a couple of VMDAS parameters. The speed and direction parameters I thought it was pulling directly from the GPS it is calculating from the change in latitude/longitude over time. I renamed them and added the two variables that are actually directly from the GPS.

Also discovered that VMDAS cannot take an RMC NMEA sentence, so the GPS timestamps are lacking a datestamp. Which is not helpful if your ADCP's clock is on local time and the GPS is always in UTC. So I added a code block that checks if the GPS UTC time rolled over from 23:59:59 to 00:00:00 and manually updated the day.

@akeeste akeeste requested review from akeeste and removed request for ssolson July 15, 2025 19:42
Copy link
Contributor

@akeeste akeeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jmcvey3 . One minor question on how frequently the day-skipping could happen

@jmcvey3
Copy link
Contributor Author

jmcvey3 commented Jul 18, 2025

Thanks @jmcvey3 . One minor question on how frequently the day-skipping could happen

It's a VMDAS software issue - all of the NMEA0183 sentences record the timestamp in UTC, but not the date. (Only the RMC sentence records the date.) When VMDAS saves the timestamps, it saves them in order, but using the date from the laptop/ADCP. This means the date will not change when UTC time rolls over from 23:00 to 00:00.
They're essentially assuming the work laptop/ADCP are working in UTC time, which if they are this wouldn't be a problem.

@akeeste
Copy link
Contributor

akeeste commented Jul 21, 2025

@jmcvey3 Got it, thanks for clarifying. Merging

@akeeste akeeste merged commit 6a474e9 into MHKiT-Software:develop Jul 21, 2025
54 checks passed
@jmcvey3 jmcvey3 deleted the vmdas branch August 7, 2025 17:38
akeeste added a commit to akeeste/MHKiT-Python that referenced this pull request Sep 30, 2025
Discovered from a recent vessel survey that I misunderstood TDI's
documentation on a couple of VMDAS parameters. The speed and direction
parameters I thought it was pulling directly from the GPS it is
calculating from the change in latitude/longitude over time. I renamed
them and added the two variables that are actually directly from the
GPS.

Also discovered that VMDAS cannot take an RMC NMEA sentence, so the GPS
timestamps are lacking a datestamp. Which is not helpful if your ADCP's
clock is on local time and the GPS is always in UTC. So I added a code
block that checks if the GPS UTC time rolled over from 23:59:59 to
00:00:00 and manually updated the day.

---------

Co-authored-by: ssolson <[email protected]>
Co-authored-by: akeeste <[email protected]>
@akeeste akeeste mentioned this pull request Sep 30, 2025
akeeste added a commit that referenced this pull request Sep 30, 2025
v1.0.0
# MHKiT v1.0.0
## New Features
* Sound Exposure Level by @jmcvey3 in #388
* Add discharge function to MHKiT by @jmcvey3 in #385

## Functionality enhancements
* Fix for corrupted Nortek files by @jmcvey3 in #372
* Update integral length scale function by @jmcvey3 in #376
* Fix ever-changing RDI RiverPro depth bin ranges by @jmcvey3 in #378
* Allow clean functions to handle _avg variables by @jmcvey3 in #377
* IEC TS 62600 updates by @akeeste in #382
* MLER explanation updates/corrections by @rgcoe in #393
* Improve Nortek2 index file creator functions by @jmcvey3 in #397
* Read Sentinel V specific data packets by @jmcvey3 in #396
* Short list of VMDAS updates by @jmcvey3 in #405
* Allow user to specify universal Kolmogorov constant for TKE dissipation rate function by @jmcvey3 in #406
* Nortek Dual Profile Dataset Rotation by @jmcvey3 in #414

## Source code improvements
* Lint Tidal by @ssolson in #386
* Lint river module by @ssolson in #389
* Lint hindcast by @ssolson in #398
* Modernize Package Configuration by @ssolson in #400
* Configure specific warnings by @ssolson in #401

## Bug fixes
* Avoid failing to scan very large files by @jmcvey3 in #371
* Acoustics SPL bugfix by @jmcvey3 in #379
* DOLfYN/RDI: Set  `fs` to NaN when typical calculation methods yield error (#408) by @simmsa in #409

## Testing and Continuous Integration Updates
* Fix Jupyter Notebook tests running Python 3.13 by @ssolson in #380
* CI Test Clean Up: Mock USGS, Acoustic Tolerances by @ssolson in #404
* Speed up tests with concurrency checks to prevent duplicate workflows on PRs from develop into main or from main into develop by @akeeste
* Define MPLBACKEND to decrease intermittent matplotlib errors in tests by @akeeste

## Documentation and Examples
* Add WEC-Sim power performance example  by @akeeste in #395
* Update dolfyn function docstrings and associated notebooks by @jmcvey3 in #412
* Update examples by @akeeste in #417
* Update installation instructions in README.md by @akeeste
* Adjust acoustics test tolerances by @akeeste in #420

**Full Changelog**: v0.9.0...v1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants