Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lozac'h Loic
AgriSoilMoisture
Commits
3fe0bd48
Commit
3fe0bd48
authored
Dec 16, 2019
by
Lozac'h Loic
Browse files
debug
parent
278f993e
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/SoilMoisturePipeline.py
View file @
3fe0bd48
...
...
@@ -268,9 +268,9 @@ def process_gpm_noresampling(sar, sar3dates, gpmdir):
if
not
os
.
path
.
exists
(
outdir
):
os
.
mkdir
(
outdir
)
gpmfiles1
=
glob
.
glob
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
0
]
+
"*.tif"
)
gpmfiles2
=
glob
.
glob
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
1
]
+
"*.tif"
)
gpmfiles3
=
glob
.
glob
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
2
]
+
"*.tif"
)
gpmfiles1
=
glob
.
glob
(
os
.
path
.
join
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
0
]
+
"*.tif"
)
)
gpmfiles2
=
glob
.
glob
(
os
.
path
.
join
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
1
]
+
"*.tif"
)
)
gpmfiles3
=
glob
.
glob
(
os
.
path
.
join
(
gpmdir
,
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
2
]
+
"*.tif"
)
)
if
len
(
gpmfiles1
)
==
0
:
print
(
"Error: Can't find gpm file "
+
"3B-DAY-GIS.MS.MRG.3IMERG."
+
sar3dates
[
0
]
+
"*.tif"
)
...
...
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