-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split atmospheric products by variables and time #889
base: develop
Are you sure you want to change the base?
Conversation
jlahovnik
commented
Oct 17, 2023
•
edited
Loading
edited
- adds the "split configuration" for wekeo, cop cds, cop ads and ecmwf providers
- splitting is added for the cds and ecmwf api plugin and data request search plugin
- products can be split by year or by month (currently one month configured for all providers)
- splitting by additional parameters (e.g. leadtime hour) also possible
- one asset per selected/available parameter is created
- handling of constraints with either select boxes for year, month, day or date ranges available
introduces functions that will split a timespan into defined slices based on the configuration and given constraints
functions to create slices given by dates + some fixes
create one product per time slice and one asset per variable if config is done accordingly
fixes to make the download of ecmwf assets work + add date constraints support
fix format of day and month, do not split short timespans, check constraints before download
splitting of products by timespan and creating one asset per variable for cop_ads; also removes not existing request parameters
Code Coverage (Ubuntu)
Minimum allowed coverage is Generated by 🐒 cobertura-action against e1a315f |
Code Coverage (Windows)
Minimum allowed coverage is Generated by 🐒 cobertura-action against e1a315f |
@jlahovnik can you rebase this PR and resolve the conflicts ? |
introduces functions that will split a timespan into defined slices based on the configuration and given constraints
functions to create slices given by dates + some fixes
create one product per time slice and one asset per variable if config is done accordingly
…into configure-split-params-wekeo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a new cached_requests_get
in eodag.utils
and use it in request_splitter
to speedup multiple requests to the same url
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please
- rename
product_data
toproduct_type_conf
- rename
provider_product
toprovider_product_type
- replace hard-coded
"dataset"
with a new provider setting:<provider>.search.metadata_mapping.providerProductType: $.dataset
- rename
constraints_param
setting toconstraints_entry
- do not use any
server_mode
parameter, and directly useassets
instead ofdownloadLinks
in server mode - http://127.0.0.1:5000/catalogs/CAMS_GACF_MR/year/2021/items responds fast but http://127.0.0.1:5000/catalogs/CAMS_GACF_MR/items hangs forever
- use
HTTP_REQ_TIMEOUT
for constraints request - in server mode, use
{item}/download/{variable}
pattern for assetshref
renaming of variables done, timeout added |
issue with http://127.0.0.1:5000/catalogs/CAMS_GACF_MR/items request is fixed |