Commit 63f063a
authored
Latest patch release (#473)
* save daily obsdb in the right place
* rename ec2.tf to calcserver.tf
* quieten some s3 transfers
* rename ec2.tf in my acct to ukmonhelper_ec2.tf to make it clearer what it is
* update SSM params to reflect new serverid
* bugfix in distributeCandidates - using wrong path
* add newline to getCostMetrics
* weird bug in statsToMqtt
* bugfix in update_wmpl.sh for traj container
* Script to create an AMI for the calcengine
* exclude test data when syncing from s3
* writing databases and logs to the wrong target
* bad test on istest
* typo in serveruserid
* adding to server migration notes
* purge old rawcsvs and fullcsvs older than 180 days
* improved housekeeping of old data
* make sure we scoop up data for 31/12
* stop creation of an unused set of files
* change default locations for container data
* put container logs in the right place
* update dockerfile syntax
* change locations of test container data and output
* remove incorrect comments
* Add script to clean up deleted/duplicate trajs
* simplify the stats gathering and move to python
fix bug in getMatchStats
* comment out unused files
* update reportOfLatestMatches to exclude deleted trajectories
* add scp to requirements
* add SQL database maintenance to dataMaintenance
* incorrect default for datadir
* update call to pymysql.connect
* ensure consolidateOutput rerunnable for prior years
* upgrading WMPL
* update gitignore a bit
* bugfix to catch data from 31/12 each year
* add paramiko to dependencies for matchPickle to support wmpl upgrade
* update getpickle to newest WMPL
* bugfix in api tests
* bugfix - changes to dailydb not saved
* improvements to process to cleanup deleted trajs
* after merging, check and remove any duplicate trajectories from the sqlite db and disk
* Adding version
* bump version 2025.11.1 -> 2026.04.0
* update files containing vesion
* bump version 2026.04.0 -> 2026.04.1
* unmangling side effets of automerge
* correct usage message
* decommission old calcserver and add new batchserver
* add calcserver IP to ssm variables and use it
in scripts
* Update my branch with the latest from master (#436)
* Update version (#433)
* remove disused code
* update livestream to accept normal RMS filenames
* search dialog - fix bug and set default date range
* small change to explain default dates
* improvement in live image search
* remove redundant file
* update deployment scripts
* improvements in routine to convert GMN report to pandas
* more analysis of gmn data
* Update the terraform a little
* remove hardcoded reference to ec2-user
* add SERVERUSERID env /ssm variable for calcserver user id
* update container for new distrib-processing method
* use calcserver SERVERUSERID variable
* support for test ECS containers
* fix paths in deployment scripts
* remove unused file
* missed some templates
* update dev/test env settings
* remove disused file
* make sure paths are expanded
* fixing various config issues
* updates to makeConfig
* updates to distributed processing to align with newest wmpl
* add a comment to explain what the code does
* remove json db
* update consolidation to handle sqlite dbs
* remove unused function
* create data for daily report
* remove unused file
* update to call new version of reportOfLatestMatches
* add test variables
* mildly improve doco
* put test logs in the right CW log group
* handle missing log groups better
* extra value in TrajQualityParams
* bugfixes revealed in testing
* fix issues in reportOfLatestMatches
* put container dbs in a sensible place
* catch logging errors
* tidy up file locations
* simplify calcserver start up
* sorting out errors in container logging
* update container logging info
* avoid unnecessary error
* fix bugs in log capture process
* add MAX_STNS so i can experiement with limits
* add logging.
Add max_stns to constraints and set to 9999
push logs to s3
copy calcserver logs to ukmonhelper
* don't pull or push the databases from S3 during distribution
but do back them up after consolidation
* catch error if trajpickle can't be found
* set rundate more safely
move some processes into nightlyJob to make testing easier
* tidy up backup file names and housekeep backup folder
* move some processes from findAllMatches to nightlyJob to make testing easier
* support for testing of createExecReplot
* pass testmode to createExecReplot
* ensure logs are unique and capture container logs
* realigning createFireballPage with prod. Updating gitignore
* remove verbosity flag from one tar operation
* fixup to handle new style log with datestamps
* get privip after restarting calcserver
* temporarily don't run rerunFailedLambdas in test
* update to work in a test env too
* add 'period' to the match summary api
* add period to match summary api
* re-enabling rerunFailedLambdas
* quieten an S3 transfer
* include the foldername when reporting on container progress
* put daily trajdb in a safe place
* be more specific when finding the daily log
* only tar the current container logs
* save daily obsdb in the right place
* rename ec2.tf to calcserver.tf
* quieten some s3 transfers
* rename ec2.tf in my acct to ukmonhelper_ec2.tf to make it clearer what it is
* update SSM params to reflect new serverid
* bugfix in distributeCandidates - using wrong path
* add newline to getCostMetrics
* weird bug in statsToMqtt
* bugfix in update_wmpl.sh for traj container
* Script to create an AMI for the calcengine
* exclude test data when syncing from s3
* writing databases and logs to the wrong target
* bad test on istest
* typo in serveruserid
* adding to server migration notes
* purge old rawcsvs and fullcsvs older than 180 days
* improved housekeeping of old data
* make sure we scoop up data for 31/12
* stop creation of an unused set of files
* change default locations for container data
* put container logs in the right place
* update dockerfile syntax
* change locations of test container data and output
* remove incorrect comments
* Add script to clean up deleted/duplicate trajs
* simplify the stats gathering and move to python
fix bug in getMatchStats
* comment out unused files
* update reportOfLatestMatches to exclude deleted trajectories
* add scp to requirements
* add SQL database maintenance to dataMaintenance
* incorrect default for datadir
* update call to pymysql.connect
* ensure consolidateOutput rerunnable for prior years
* upgrading WMPL
* update gitignore a bit
* bugfix to catch data from 31/12 each year
* add paramiko to dependencies for matchPickle to support wmpl upgrade
* update getpickle to newest WMPL
* bugfix in api tests
* bugfix - changes to dailydb not saved
* improvements to process to cleanup deleted trajs
* after merging, check and remove any duplicate trajectories from the sqlite db and disk
* Adding version
* bump version 2025.11.1 -> 2026.04.0
* update files containing vesion
* bump version 2026.04.0 -> 2026.04.1
* unmangling side effets of automerge
* correct usage message
* adding install script
* changes to ansible scripts
* remove irrelevant file
* Adding SSM variables for the new batchserver in the ukmda account
* attempt to add logging to consolidateDistTraj
* remove reference to ee account
* temporarily add mariadb deets to ssm in mjmm account
* bugfixes in dataMaintenance and cleanupDeletedTrajs to avoid deleting disk files when trajs share same folder
* updating migration instructions
* more work on deduplication for ukmon
* remove username-specific stuff
* remove the old deployment scripts
* update install script
* updates to improve server migration process
* add bashrc to the installer
* slight tweak to installer
* add a few installer messages
* remove an echo
* be less verbose in the rsyncs
* oops need -a for one of the rsyncs
* rename requirements file for ukmda
* remove dependencies on MeteorTools
* add utils to ukmon_pylib
* more removal of dependencies on MeteorTools
* updating how shower data is obtained
* corercting location of IMO and gmn shower data
* bugfixes
* fixes in imoWorkinShowerlist
* small error in install_or_update
* bugfix when no data found in imo set
* retrieve IMO data after each code update
* fixing up getShowerDets
* improve installer
* fix createShowerExtracts
* update extractors and showeranalysis
* bug in extractor thats existed since 2023 but nobody noticed...
* trying to fix matplotlib bug
* more working on matplotlib issue
* oops overfixed a bug
* another incorrect bugfix!
* make bars wider
* more removal of MeteorTools
* bugfix in createannualbarchart
* working on bug
* more work on lenght bug
* remove some debugging
* oops forgot to push the fixed version of createReportIndex
* segregating function to get list of images that weren't calibrated by RMS
* reorganize stuff a bit
* add email sending functionality to ukmon_pylib
* use send email functionality in code
* add database and gmaps keys/passwords as secure variables
* update to use secure keys
* remove dbpw from environment
* remove dbpw from environment
* add script to retrieve db passwd
* add script to retrieve db passwords
* bug in createTables
* updates to migration instructions
* include pip installs in the script
* tweak installer
* remove glob.glob1
* move unused scripts - will delete later
* fix mariadb connections
* typo
* tidy up docs
* fixing mysql calls
* small changes to documentation
* suppress pip messages if already installed
* tweaks to the installer
* add logrotate stuff
* bugfixes in installer
* tidy up installer
* bugfix in key mgmt
* move some functionality into new script to tidy up nightly job and simplify rerunning
* improve install script
* update location of camera count file
* move annual bar charts into a more logical location
* update test script
* add gmaps param to my acct
* relocate coverage maps and front page index
* tidy up useraudit process
* bugfixes in testing
* bugfix in createAnnualBarchart
* bug in testscript
* another small bug in createSummaryTable
* still fighting that bug
* tidy up lastlog data
* remove unused file
* update cam status reporting
* clear down the old brightness data
* simplification of logging and of the nightlyJob script
* bugfixes in process to gather consumed image ifo
* update getUncal to work for historic data
* typo
* improvements in getUncalImages
* bugfix
* add python to get unused images
* move script to right place
* comment out unnecessary echo
* bugfixes in camMetrics while migrating user accts
* fix #448
* make sure window title is sensible
* bugfix in replot and get unused
* bugfix in removeDeletedTraj for search index
* remove deprecation warning issue #450
* whoops naive vs tzaware dates
* remove warning in cameraStatusReport issue #453
* remove warning issue #454
* widen constraints on analysing pickles to get images
* add migration script
* add sudo
* actually do it
* update sftp migration script
* more changes to migration script
* moving sftp migration script
* update messages and docos
* slight tweak to migration script
* further work on sftp account migration
* update ukmon ini files after migration
* typo
* collect old server login records
integration with new
* update migration instructions
* update cam metrics report to include hostname
* bugfix as $USER not available in cron
* removing unused files
* some tidying up
* motre reorg
* remove disused template
rename file to follow convention
* simplifying logging and removing unused aws profile
* removing profile from python
* adding executable bit
* typo
* bugfix to work around typo
* print message when done
* bugfix to get trajectories from s3 before trying to check for missing trajectories...
* improve to support running for past dates
* errors in bashrc and logrotate config
* prevent email being sent for anything other than current days report
* bugfix: make sure we use the most recent stats
* improvement in reportOfLatestMatches to handle past dates
* bugfix
* small tweak to support reportOfLatestMatches
* tweak getMatchStats to handle historic data better
* add mariadb and ping to the sec grp so that the database can be accessed by apis
* update the db servername
* bugfix in match stats
* prevent bogus renaming of matchJob.log
* bumping version
* bump version 2026.04.1 -> 2026.05.0
* update matchapi to use indexed column
* add api readme
* tweak to cammetrics to enhance stationlogins report
* slight tweak to formatting
* minor tweak to avoid unexpectedly changing directory
* add support script for during server migrations
* skip 1st row
* add check for todos
* oops strip whitespace
* darn whitespace
* working on migration tasks
* minor tweaks
* daft typo
* bump version 2026.05.0 -> 2026.05.1
* bump version 2026.05.1 -> 2026.05.2
* update CodeQL to v3
* bump codeQL to v4
* tweak to script supporting server migration
* tweak to scripts supporting server migration
* add some stats on migration status
* tweak
* get cursor keys working in python
* set via even if no recent login
* improved reporting on migration
* tweaks to migr scripts
* another small tweak
* make lists unique
* uniq and sort backwards
* testing fix for #460
* more work on status reports
* bugfix in failed matches report
* found the bug
* attempt to fix fails report
* another tweak
* okay, got it
* remove debug
* fix timing metrics data
* small tweak
* looks good
* add EIP for the batchserver
* bugfix to handle bad data in login details
* add function to email problem cameras with bespoke message
* bump version 2026.05.2 -> 2026.05.31 parent 91e6978 commit 63f063a
14 files changed
Lines changed: 132 additions & 182 deletions
File tree
- archive
- analysis
- server_setup
- terraform/ukmda
- ukmon_pylib
- metrics
- reports
- website
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
91 | 62 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
108 | 66 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
123 | 70 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
130 | 88 | | |
131 | 89 | | |
132 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
0 commit comments