Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Tom Rink
python
Commits
342b9315
Commit
342b9315
authored
3 years ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
minor
parent
fe4d828e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/icing/pirep_goes.py
+3
-2
3 additions, 2 deletions
modules/icing/pirep_goes.py
with
3 additions
and
2 deletions
modules/icing/pirep_goes.py
+
3
−
2
View file @
342b9315
...
@@ -7,6 +7,7 @@ from util.util import get_time_tuple_utc, GenericException, add_time_range_to_fi
...
@@ -7,6 +7,7 @@ from util.util import get_time_tuple_utc, GenericException, add_time_range_to_fi
check_oblique
,
make_times
,
find_bin_index
,
get_timestamp
,
homedir
,
write_icing_file
,
make_for_full_domain_predict
check_oblique
,
make_times
,
find_bin_index
,
get_timestamp
,
homedir
,
write_icing_file
,
make_for_full_domain_predict
from
util.plot
import
make_icing_image
from
util.plot
import
make_icing_image
from
util.geos_nav
import
get_navigation
from
util.geos_nav
import
get_navigation
from
util.setup
import
model_path
from
aeolus.datasource
import
CLAVRx
,
CLAVRx_VIIRS
,
GOESL1B
,
CLAVRx_H08
from
aeolus.datasource
import
CLAVRx
,
CLAVRx_VIIRS
,
GOESL1B
,
CLAVRx_H08
import
h5py
import
h5py
import
re
import
re
...
@@ -1904,8 +1905,8 @@ def run_make_images(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_pat
...
@@ -1904,8 +1905,8 @@ def run_make_images(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ckpt_dir_s_pat
h5f
.
close
()
h5f
.
close
()
def
run_predict
(
clvrx_dir
=
'
/Users/tomrink/data/clavrx/RadC/
'
,
ckpt_dir_s_path
=
'
/Users/tomrink/tf_model/
'
,
prob_thresh
=
0.5
,
satellite
=
'
GOES16
'
,
domain
=
'
CONUS
'
,
def
run_
icing_
predict
(
clvrx_dir
=
'
/Users/tomrink/data/clavrx/RadC/
'
,
ckpt_dir_s_path
=
model_path
,
prob_thresh
=
0.5
,
satellite
=
'
GOES16
'
,
domain
=
'
CONUS
'
,
train_params
=
train_params_day
):
train_params
=
train_params_day
):
if
satellite
==
'
H08
'
:
if
satellite
==
'
H08
'
:
clvrx_ds
=
CLAVRx_H08
(
clvrx_dir
)
clvrx_ds
=
CLAVRx_H08
(
clvrx_dir
)
...
...
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