File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,14 @@ def median_time(self) -> 'ImageCollection':
117
117
"""
118
118
pass
119
119
120
+ def count_time (self ) -> 'ImageCollection' :
121
+ """
122
+ Counts the number of images with a valid mask in a time series for all bands of the input dataset.
123
+
124
+ :return: An ImageCollection without a time dimension.
125
+ """
126
+ pass
127
+
120
128
def ndvi (self , red , nir ) -> 'ImageCollection' :
121
129
""" NDVI
122
130
Original file line number Diff line number Diff line change @@ -198,6 +198,19 @@ def median_time(self) -> 'ImageCollection':
198
198
199
199
return self .graph_add_process (process_id , args )
200
200
201
+ def count_time (self ) -> 'ImageCollection' :
202
+ """Counts the number of images with a valid mask in a time series for all bands of the input dataset.
203
+ :return An ImageCollection instance
204
+ """
205
+
206
+ process_id = 'count_time'
207
+
208
+ args = {
209
+ 'imagery' : self .graph
210
+ }
211
+
212
+ return self .graph_add_process (process_id , args )
213
+
201
214
def ndvi (self , red , nir ) -> 'ImageCollection' :
202
215
""" NDVI
203
216
:param red: Reference to the red band
You can’t perform that action at this time.
0 commit comments