This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tools:eionet-utdretriever [2016/01/27 11:35] jcuadrad Added new mode of operation (download_no_filters) |
tools:eionet-utdretriever [2016/01/27 15:00] jcuadrad |
||
---|---|---|---|
Line 82: | Line 82: | ||
* download: Normal operation, automated data download data uses the UpdatedSince and CreatedSince filters. In this mode, the retriever will keep track of the dates of last successful download for each pollutant and country, storing it in the DOWNLOAD_DATE table in the database. | * download: Normal operation, automated data download data uses the UpdatedSince and CreatedSince filters. In this mode, the retriever will keep track of the dates of last successful download for each pollutant and country, storing it in the DOWNLOAD_DATE table in the database. | ||
* download_no_filters: | * download_no_filters: | ||
+ | * download_sliding_no_filters: | ||
In the " | In the " | ||
< | < | ||
In this example, all observations of the countries (de,at,pl) and pollutants defined in the " | In this example, all observations of the countries (de,at,pl) and pollutants defined in the " | ||
+ | |||
+ | Example for " | ||
+ | If today is 2016-01-27 and we want to download the observations of days 2016-01-12 and 2016-01-13 we can get them in two ways: | ||
+ | < | ||
+ | python3 EIONETretriever.py download_sliding_no_filters ES --fromDaysAgo 15 --toDaysAgo 13 > logs/ | ||
+ | Please note that in this mode, if the option --toDaysAgo is not provided the download will be until to date (now). \\ | ||
+ | |||
As usual, the --help (or -h) option will also display the command-line manual/ | As usual, the --help (or -h) option will also display the command-line manual/ | ||
Please note that this article always refers to the ' | Please note that this article always refers to the ' |