20220109
PostgreSQL 14.1.
misc_tests.rb:
Added 1 new test.
importNOS_TideRefs.rb and importNOS_TideSubs.rb:
Flagged guessed geogroups in renamings info.
importNOS_TideSubs.rb:
Removed trailing \n from notes.
importNOS_CurRefs.rb and importNOS_CurSubs.rb:
Persisted name, state, tz from previous year's data.
Added generation of renamings template.
Removed one-time code.
importNOS_CurRefs.rb:
Removed meridian logic obsoleted by GMT phases.
scrape-MDAPI-2-geogroups.rb:
Revised to fetch into separate files instead of concatenating.
importNOS_JsonReaders.rb:
Changed readStationsByGroupTidesJson to read separate files.
Changed getCurrentConstForSid to get majorPhaseGMT.
importNOS_Geogroups.rb:
Interpreted null level as level 7 (for new geogroups 1840-1842).
Nilled out Gulf Coast and Gulf of Alaska in L6rewrite.
importNOS_Queries.rb:
Removed obsolete queries.
Added new queries for currents.
importNOS_DodgyCode.rb:
Added patterns to standardize Vieques Island and Isla de Vieques to
just Vieques.
importNOS_Util.rb:
Removed function mangle. Use db.escape_string.
sample.rb:
Removed obsolete comment.
Harmbase is a database application for managing harmonic constants.
It is not "plug and play" software. It's not designed to be useful
to someone who does not know how to hack Ruby code or write
interactive SQL queries.