Skip to content

Commit 70b8695

Browse files
authored
added cleaning_older_than descripton
1 parent 011d435 commit 70b8695

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,23 @@ Edit [configuration/dev_config.py](configuration/dev_config.py) rename it to you
109109
A personal collection contains a GEE collection `my_new_collection` which contains postprocessed sensor data. The postprocessing is done according to the ` <new_file>.<new_function_name>` . E.g. The product `ch.swisstopo-swisseo_vhi_v100` is based on the `COPERNICUS/S2_SR_HARMONIZED` collection which has been postprocessed with `step0_processor_s2_sr.generate_s2_sr_mosaic_for_single_date` and stored in the personal collection 'projects/username/assets/COL_S2_SR_HARMONIZED_SWISS'
110110
111111
The personal collection needs to be created in advance in the GEE GUI via Assets -> new -> Image collection
112-
**Note: if you wnat to ensure that other accounts can update/read the asset ( like satromo-int) you need to give them access via right click on asset which will then open https://console.cloud.google.com/iam-admin/iam?project=your-project and as well share "image collection" (like COL_S2_SR_HARMONIZED_SWISS) **
112+
113+
**Note:if you want to ensure that other accounts can update/read the asset ( like satromo-int) you need to give them access via right click on asset which will then open https://console.cloud.google.com/iam-admin/iam?project=your-project and as well share "image collection" (like COL_S2_SR_HARMONIZED_SWISS).**
113114
114115
Adding a new collection in the tool require to adapt the configuration file.
115116
116117
A new function specifically designed for this new collections should also be added in the step0_processors folder.
117118
(If you don't need a new step0 processor function, you certainly don't need a new collection...)
118119
Create the new function in a new file located in step0_processors folder.
119120
In the configuration file, add the function to the configuration entry of your new collection:
121+
The `cleaning_older_than` removes asset older teh defiend days to save GEE storage.
120122
121123
```
122124
step0: {
123125
...
124126
my_new_collection: {
125-
step0_function: <new_file>.<new_function_name>
127+
step0_function: <new_file>.<new_function_name>,
128+
cleaning_older_than: <days>
126129
}
127130
}
128131
```

0 commit comments

Comments
 (0)