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
a34dba45
Commit
a34dba45
authored
1 year ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot...
parent
50a98510
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/util.py
+18
-0
18 additions, 0 deletions
modules/util/util.py
with
18 additions
and
0 deletions
modules/util/util.py
+
18
−
0
View file @
a34dba45
...
@@ -599,6 +599,14 @@ def get_cartopy_crs(satellite, domain):
...
@@ -599,6 +599,14 @@ def get_cartopy_crs(satellite, domain):
ylen
=
5500
ylen
=
5500
ymin
=
-
5498.99990119
ymin
=
-
5498.99990119
ymax
=
5498.99990119
ymax
=
5498.99990119
elif
satellite
==
'
H09
'
:
geos
=
geos_h08_fd
xlen
=
5500
xmin
=
-
5498.99990119
xmax
=
5498.99990119
ylen
=
5500
ymin
=
-
5498.99990119
ymax
=
5498.99990119
return
geos
,
xlen
,
xmin
,
xmax
,
ylen
,
ymin
,
ymax
return
geos
,
xlen
,
xmin
,
xmax
,
ylen
,
ymin
,
ymax
...
@@ -743,6 +751,11 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
...
@@ -743,6 +751,11 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
ylen
=
taiwan_leny
ylen
=
taiwan_leny
i_0
=
taiwan_i0
i_0
=
taiwan_i0
j_0
=
taiwan_j0
j_0
=
taiwan_j0
elif
satellite
==
'
H09
'
:
xlen
=
taiwan_lenx
ylen
=
taiwan_leny
i_0
=
taiwan_i0
j_0
=
taiwan_j0
grd_dct
=
{
name
:
None
for
name
in
name_list
}
grd_dct
=
{
name
:
None
for
name
in
name_list
}
...
@@ -979,6 +992,11 @@ def prepare_evaluate(h5f, name_list, satellite='GOES16', domain='FD', res_fac=1,
...
@@ -979,6 +992,11 @@ def prepare_evaluate(h5f, name_list, satellite='GOES16', domain='FD', res_fac=1,
ylen
=
taiwan_leny
ylen
=
taiwan_leny
i_0
=
taiwan_i0
i_0
=
taiwan_i0
j_0
=
taiwan_j0
j_0
=
taiwan_j0
elif
satellite
==
'
H09
'
:
xlen
=
taiwan_lenx
ylen
=
taiwan_leny
i_0
=
taiwan_i0
j_0
=
taiwan_j0
n_x
=
int
(
xlen
/
s_x
)
-
1
n_x
=
int
(
xlen
/
s_x
)
-
1
n_y
=
int
(
ylen
/
s_y
)
-
1
n_y
=
int
(
ylen
/
s_y
)
-
1
...
...
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