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
Gbodjo Yawogan Jean Eudes
lab5
Commits
e4253af5
Commit
e4253af5
authored
Aug 17, 2019
by
eudesyawog
Browse files
add sowing and harvest to stats csv
parent
850565b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
plots_stats.py
View file @
e4253af5
...
...
@@ -79,6 +79,8 @@ def ZonalStats (plots_file,lstTS,dates_file,outPath,outPattern,tree_mask=None):
dic
.
setdefault
(
'Biom_s'
,[]).
append
(
row
[
'Biomasse_s'
])
dic
.
setdefault
(
'Rdt_f'
,[]).
append
(
row
[
'Rdt_f'
])
dic
.
setdefault
(
'Rdt_s'
,[]).
append
(
row
[
'Rdt_s'
])
dic
.
setdefault
(
'Sowing'
,[]).
append
(
row
[
'Semi'
])
dic
.
setdefault
(
'Harvest'
,[]).
append
(
row
[
'Recolte'
])
ts_values
=
ds
.
read
(
tuple
(
np
.
arange
(
count
)
+
1
),
window
=
window
)
# Tree_Mask
...
...
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