Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GeoPEAS
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
Container registry
Model registry
Operate
Environments
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
esde
toar-data
GeoPEAS
Commits
45cf5a4f
Commit
45cf5a4f
authored
5 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
cleanup file, remove commented code
parent
4795c711
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
utils/extraction_tools.py
+0
-5
0 additions, 5 deletions
utils/extraction_tools.py
with
0 additions
and
5 deletions
utils/extraction_tools.py
+
0
−
5
View file @
45cf5a4f
...
...
@@ -10,7 +10,6 @@ from urllib.error import HTTPError
import
json
import
numpy
as
np
from
utils.geoutils
import
standardize_lon180
,
Directions
from
utils.statistics
import
relative_frequency
def
get_station_info
(
opt_query
=
''
):
...
...
@@ -256,10 +255,6 @@ def extract_value_stats(lonvec, latvec, data, lon=-999., lat=-999.,
radius
,
dlon
,
dlat
,
min_valid
=
min_valid
,
max_valid
=
max_valid
,
min_angle
=
min_angle
,
max_angle
=
max_angle
)
# apply statistics
#if agg is relative_frequency:
# res = relative_frequency(subset, bins=max_valid+1)
#else:
# res = agg(subset)
res
=
agg
(
subset
)
if
res
is
None
:
res
=
default_value
...
...
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