Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Detection eddies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
IPSL
LMD
DPAO
Detection eddies
Commits
4810537e
Commit
4810537e
authored
10 months ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
46d5f0d6
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
Common/util_eddies.py
+7
-7
7 additions, 7 deletions
Common/util_eddies.py
with
7 additions
and
7 deletions
Common/util_eddies.py
+
7
−
7
View file @
4810537e
...
@@ -141,9 +141,10 @@ class SHPC_class:
...
@@ -141,9 +141,10 @@ class SHPC_class:
return
self
.
_n_dates
[
i_slice
]
return
self
.
_n_dates
[
i_slice
]
def
get_ishape_last
(
self
,
i_slice
,
orientation
):
def
get_ishape_last
(
self
,
i_slice
,
orientation
):
"""
Normally returns self._ishape_last[i_slice][orientation], which is
"""
Defines and returns self._ishape_last[i_slice][orientation], which
a numpy array. Can return None if ishape_last.txt does not
is a numpy array. Can return None if ishape_last.txt does not
exist and cannot be created.
exist and cannot be created. Also defines
self._e_max[i_slice][orientation].
"""
"""
...
@@ -244,10 +245,9 @@ class SHPC_class:
...
@@ -244,10 +245,9 @@ class SHPC_class:
"""
Compute the location in the shapefiles: return `(i_slice, ishape)`.
"""
Compute the location in the shapefiles: return `(i_slice, ishape)`.
Compute i_slice if i_slice is None.
Compute i_slice if i_slice is None.
Returns None if ishape_last was not found and could not be
Returns None if ishape_last is None. Crashes if i_slice is not
created. Crashes if i_slice is not None and date is not in
None and date is not in i_slice. Returns None if eddy_index is
i_slice. Returns None if eddy_index is greater than the
greater than the maximum value.
maximum 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