Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
ORCHESTRA-SST
Commits
f845697a
Commit
f845697a
authored
4 years ago
by
Beatriz Recinos
Browse files
Options
Download
Email Patches
Plain Diff
support transition between years
parent
eebc7c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
scripts/plot_cci_buoy_error.py
scripts/plot_cci_buoy_error.py
+5
-4
No files found.
scripts/plot_cci_buoy_error.py
View file @
f845697a
...
...
@@ -27,15 +27,16 @@ from sst_tools import plot_sst as plot_sst
from
sst_tools
import
workflow_sst
as
workflow_sst
# Define year
year
=
int
(
sys
.
argv
[
1
])
start_
year
=
int
(
sys
.
argv
[
1
])
# Define start_date
start_month
=
int
(
sys
.
argv
[
2
])
start_day
=
int
(
sys
.
argv
[
3
])
# Month and days to process for CCI SST data
month
=
int
(
sys
.
argv
[
4
])
day_to_plot
=
int
(
sys
.
argv
[
5
])
# From SLURM ARRAY
year
=
int
(
sys
.
argv
[
4
])
month
=
int
(
sys
.
argv
[
5
])
day_to_plot
=
int
(
sys
.
argv
[
6
])
# From SLURM ARRAY
lat_bnds
=
[
-
90
,
-
25
]
lon_bnds
=
[
-
120
,
120
]
...
...
@@ -44,7 +45,7 @@ extent = np.append(lon_bnds, lat_bnds)
print
(
extent
)
# Define date arrays to process buoy data
start_date
=
datetime
(
year
=
year
,
month
=
start_month
,
day
=
start_day
)
start_date
=
datetime
(
year
=
start_
year
,
month
=
start_month
,
day
=
start_day
)
end_date
=
datetime
(
year
=
year
,
month
=
month
,
day
=
day_to_plot
,
hour
=
23
,
minute
=
59
,
second
=
59
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment