Skip to content

Commit d64f528

Browse files
authored
Merge pull request #420 from ukmda/markmac99
rename samfunctions folder to lambdas
2 parents cd2d80f + 540d650 commit d64f528

95 files changed

Lines changed: 144 additions & 60 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,13 @@ StandaloneCurator/.installed
531531
analysis/orbitSolver/testing
532532
analysis/FormatConverters/testing
533533
*/test_data/*
534-
archive/samfunctions*/pytz*
534+
archive/lambdas*/pytz*
535535
archive/static_content/data/searchdialog.js
536536
ToDo*
537537
archive/costs/**/*.csv
538538
archive/costs/**/*.json
539539
archive/costs/plots/*.png
540-
archive/samfunctions*/.aws-sam/build.toml
540+
archive/lambdas*/.aws-sam/build.toml
541541
archive/costs/S3-size-empireelements.xlsx
542542
archive/ukmon_pylib/share/maps/BM*.jpg
543543
archive/ukmon_pylib/share/maps/BM*.png
@@ -556,8 +556,8 @@ archive/unused/**
556556
ukmon_pylib/tests/20220217_032206.832_UK/*
557557
unused/*
558558
*tfstate.lock.info
559-
archive/samfunctions*/getExtraFilesV2/pythoncode/WesternMeteorPyLib/*
560-
archive/samfunctions*/getExtraFilesForEE/pythoncode/WesternMeteorPyLib/*
559+
archive/lambdas/getExtraFilesV2/pythoncode/WesternMeteorPyLib/*
560+
archive/lambdas/getExtraFilesForEE/pythoncode/WesternMeteorPyLib/*
561561
archive/containers/trajsolver/WesternMeteorPyLib/*
562562
archive/containers/trajsolver/awskeys
563563
archive/containers/trajsolvertest/WesternMeteorPyLib/*
@@ -568,11 +568,11 @@ archive/containers/gui/awskeys
568568
archive/terraform/*/ukmonreadonly.key
569569
.cache_ggshield
570570
replacements.txt
571-
archive/samfunctions*/apis-mm.txt
572-
archive/samfunctions*/apis-ee.txt
571+
archive/lambdas/apis-mm.txt
572+
archive/lambdas/apis-ee.txt
573573
usermgmt/windows/createUserKeyAWS.ps1
574-
archive/samfunctions*/matchPickle/pythoncode/WesternMeteorPyLib/**
575-
archive/samfunctions*/matchPickle/pythoncode/*.npy
574+
archive/lambdas/matchPickle/pythoncode/WesternMeteorPyLib/**
575+
archive/lambdas/matchPickle/pythoncode/*.npy
576576
.terraform/
577577
archive/utils/tmp.json
578578
usermgmt/windows/caminfo/camera-details-new.csv
@@ -589,8 +589,8 @@ ukmon_pylib/tests/usertools/2021-07-17T02_41_05_05_M002.ecsv
589589
ukmon_pylib/tests/usertools/2021-07-17T02_41_05_05_M004.ecsv
590590
ukmon_pylib/tests/usertools/20230202_014115.kml
591591
archive/containers*/simpleUI/awskeys
592-
archive/samfunctions*/camDetails/pythoncode/camDetails.py
593-
archive/samfunctions*/camDetails/pythoncode/awskeys
592+
archive/lambdas*/camDetails/pythoncode/camDetails.py
593+
archive/lambdas*/camDetails/pythoncode/awskeys
594594
archive/containers/RMS-docker/rms_docker.tar
595595
archive/containers/RMS-docker/Dockerfile_orig.txt
596596

archive/analysis/runDistrib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ if [ -s $DATADIR/distrib/processed_trajectories.json ] ; then
135135

136136
execcons=execconsol.sh
137137
execConsolsh=/tmp/$execcons
138-
python -c "from traj.createDistribMatchingSh import createExecConsolSh;createExecConsolSh($MATCHSTART, $MATCHEND, '$execConsolsh')"
138+
python -c "from traj.createDistribMatchingSh import createExecConsolSh;createExecConsolSh($MATCHSTART, $MATCHEND, '$execConsolsh', $rundate)"
139139
chmod +x $execConsolsh
140140

141141
log2cw $NJLOGGRP $NJLOGSTREAM "running consolidation" runDistrib
@@ -160,7 +160,7 @@ if [ -s $DATADIR/distrib/processed_trajectories.json ] ; then
160160
python -m traj.jsonDbMaintenance $DATADIR/distrib/
161161
aws s3 cp $DATADIR/distrib/processed_trajectories.json $UKMONSHAREDBUCKET/matches/distrib/ --quiet
162162

163-
log2cw $NJLOGGRP $NJLOGSTREAM "compressing the procssed data" runDistrib
163+
log2cw $NJLOGGRP $NJLOGSTREAM "compressing the processed data" runDistrib
164164
gzip < $DATADIR/distrib/processed_trajectories.json > $DATADIR/trajdb/processed_trajectories.json.${rundate}.gz
165165
aws s3 mv $UKMONSHAREDBUCKET/matches/distrib/${rundate}.pickle $DATADIR/distrib --quiet
166166
tar czvf $DATADIR/distrib/${rundate}.tgz $DATADIR/distrib/${rundate}*.json $DATADIR/distrib/${rundate}.pickle
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)