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
8b042c9a
Commit
8b042c9a
authored
1 year ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot...
parent
90117f5b
No related branches found
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/util/infer_cloud_products.py
+2
-2
2 additions, 2 deletions
modules/util/infer_cloud_products.py
with
2 additions
and
2 deletions
modules/util/infer_cloud_products.py
+
2
−
2
View file @
8b042c9a
...
...
@@ -4,7 +4,7 @@ from aeolus.datasource import CLAVRx
import
os
from
deeplearning.cloud_fraction_fcn_abi
import
SRCNN
as
SRCNN_CLD_FRAC
from
deeplearning.cloud_opd_fcn_abi
import
SRCNN
as
SRCNN_CLD_OPD
from
util.util
import
get_cartopy_crs
,
write_cld_
frac
_file_nc4
from
util.util
import
get_cartopy_crs
,
write_cld_
prods
_file_nc4
import
numpy
as
np
import
time
...
...
@@ -49,7 +49,7 @@ def infer_cloud_products(clvrx_path, output_dir, full_disk=True, satellite='GOES
cld_frac
=
nn_cld_frac
.
run_inference
(
pname
,
None
)
cld_opd
=
nn_cld_opd
.
run_inference
(
pname
,
None
)
write_cld_
frac
_file_nc4
(
clvrx_str_time
,
out_file
,
cld_frac
,
x_rad
,
y_rad
,
None
,
None
,
write_cld_
prods
_file_nc4
(
clvrx_str_time
,
out_file
,
cld_frac
,
x_rad
,
y_rad
,
None
,
None
,
satellite
=
satellite
,
domain
=
domain
,
has_time
=
True
)
t1
=
time
.
time
()
print
(
'
total time:
'
,
(
t1
-
t0
))
...
...
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