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
6fde7443
Commit
6fde7443
authored
4 years ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot...
parent
8395beea
No related branches found
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
+1
-5
1 addition, 5 deletions
modules/icing/pirep_goes.py
with
1 addition
and
5 deletions
modules/icing/pirep_goes.py
+
1
−
5
View file @
6fde7443
from
icing.pireps
import
pirep_icing
from
deeplearning.amv_raob
import
get_images
import
numpy
as
np
import
pickle
import
os
...
...
@@ -65,15 +64,11 @@ def run():
last_h5f
=
None
for
idx
,
time
in
enumerate
(
time_keys
):
if
(
idx
%
4
)
!=
0
:
continue
print
(
100.0
*
(
idx
/
len
(
time_keys
)))
reports
=
ice_dict
[
time
]
for
tup
in
reports
:
lat
,
lon
,
fl
,
rpt_str
=
tup
lat_s
[
0
]
=
lat
lon_s
[
0
]
=
lon
cc
,
ll
=
nav
.
earth_to_lc_s
(
lon_s
,
lat_s
)
try
:
clvr_ds
=
get_clavrx_datasource
(
time
)
...
...
@@ -96,4 +91,5 @@ def run():
else
:
h5f
=
last_h5f
cc
,
ll
=
nav
.
earth_to_lc_s
(
lon_s
,
lat_s
)
gvals
=
get_grid_values
(
h5f
,
'
temp_10_4um_nom
'
,
ll
[
0
],
cc
[
0
],
20
)
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