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
dc935183
Commit
dc935183
authored
4 years ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot...
parent
acd13504
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/amv/intercompare.py
+6
-4
6 additions, 4 deletions
modules/amv/intercompare.py
with
6 additions
and
4 deletions
modules/amv/intercompare.py
+
6
−
4
View file @
dc935183
...
...
@@ -4,13 +4,15 @@ from util.setup import home_dir
from
util.lon_lat_grid
import
earth_to_indexs
from
util.util
import
haversine_np
from
deeplearning.amv_raob
import
get_profile_multi
#
import cartopy
#
from cartopy import *
import
cartopy
from
cartopy
import
*
import
metpy.calc
as
mpcalc
#
import cartopy.crs as ccrs
import
cartopy.crs
as
ccrs
from
metpy.units
import
units
import
h5py
import
time
from
scipy.interpolate
import
interp1d
from
util.util
import
minimize_quadratic
goes16_directory
=
'
/arcdata/goes/grb/goes16
'
# /year/date/abi/L1b/RadC
...
...
@@ -1135,9 +1137,9 @@ def best_fit_altitude(amv_spd, amv_dir, amv_alt, amv_lat, amv_lon, fcst_spd, fcs
sat_wind_best_fit_u
=
fcst_uwind
[
lev_below
]
*
(
1.0
-
prop
)
+
fcst_uwind
[
lev_above
]
*
prop
sat_wind_best_fit_v
=
fcst_vwind
[
lev_below
]
*
(
1.0
-
prop
)
+
fcst_vwind
[
lev_above
]
*
prop
return
bf_tup
def
get_press_bin_ranges
(
lop
,
hip
,
bin_size
=
100
):
bin_ranges
=
[]
delp
=
hip
-
lop
...
...
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