Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossTower
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
AossTower
Commits
8aa99492
Verified
Commit
8aa99492
authored
6 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Remove old netcdf text files and scripts
parent
c4c554b4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aosstower/level_00/influxdb.py
+3
-1
3 additions, 1 deletion
aosstower/level_00/influxdb.py
aosstower/level_b1/autoRun.bash
+0
-7
0 additions, 7 deletions
aosstower/level_b1/autoRun.bash
aosstower/level_b1/test_cases.txt
+0
-6
0 additions, 6 deletions
aosstower/level_b1/test_cases.txt
with
3 additions
and
14 deletions
aosstower/level_00/influxdb.py
+
3
−
1
View file @
8aa99492
...
...
@@ -79,7 +79,8 @@ def main():
# help='Weather underground station ID')
# parser.add_argument('--wu-password-file', default='/home/metobs/wunderground_password.txt',
# help='File containing the password for the weather underground upload')
parser
.
add_argument
(
'
src
'
,
help
=
'
Level 0 raw data file
'
)
parser
.
add_argument
(
'
src
'
,
help
=
'
Level 0 raw data file or station name
'
'
for LDMP reading
'
)
args
=
parser
.
parse_args
()
levels
=
[
logging
.
ERROR
,
logging
.
WARN
,
logging
.
INFO
,
logging
.
DEBUG
]
...
...
@@ -123,5 +124,6 @@ def main():
if
args
.
sleep_interval
:
time
.
sleep
(
args
.
sleep_interval
)
if
__name__
==
"
__main__
"
:
sys
.
exit
(
main
())
This diff is collapsed.
Click to expand it.
aosstower/level_b1/autoRun.bash
deleted
100755 → 0
+
0
−
7
View file @
c4c554b4
#!/usr/bin/env bash
PYENV
=
~/anaconda3/envs/env
SCRIPT
=
/home/kgao/Code/curr_projects/ncGenerate/AossTower/aosstower/level_b1/daily/autoRun.py
(
flock
-x
-n
200
||
exit
$?
$PYENV
/bin/python
$SCRIPT
)
200>
"/tmp/
$(
basename
$0
)
.lock"
This diff is collapsed.
Click to expand it.
aosstower/level_b1/test_cases.txt
deleted
100644 → 0
+
0
−
6
View file @
c4c554b4
Will write unit tests later, but for now, here are the commands
time python nc.py /mnt/inst-data/aoss-tower/2015/06/rig_tower.2015-06-06.ascii -o aoss_tower.2015-06-06.nc -z --chunk-size 17280
time python nc.py /mnt/inst-data/aoss-tower/2003/05/rig_tower.2003-05-28.ascii /mnt/inst-data/aoss-tower/2003/07/rig_tower.2003-07-27.ascii /mnt/inst-data/aoss-tower/2009/05/rig_tower.2009-05-28.ascii /mnt/inst-data/aoss-tower/2014/04/rig_tower.2014-04-01.ascii -o aoss_tower.2003-05-28.nc -z --chunk-size 17280 -s 2003-05-28T00:00:00 -e 2014-04-01T23:59:59
time python nc.py /mnt/inst-data/aoss-tower/2003/05/rig_tower.2003-05-28.ascii /mnt/inst-data/aoss-tower/2003/07/rig_tower.2003-07-27.ascii /mnt/inst-data/aoss-tower/2009/05/rig_tower.2009-05-28.ascii /mnt/inst-data/aoss-tower/2014/04/rig_tower.2014-04-01.ascii -o aoss_tower.2003-05-28.nc aoss_tower.2003-07-28.nc aoss_tower.2009-05-28.nc aoss_tower.2014-04-01.nc -z --chunk-size 17280
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment