Open bobturneruk opened 3 years ago
Heads up @mrow84 @bobturneruk - the "data pipeline api" label was applied to this issue.
from data_pipeline_api.registry.downloader import Downloader
downloader = Downloader(data_directory='.')
downloader.add_data_product(namespace='SCRC', data_product='records/SARS-CoV-2/scotland/cases-and-management/carehomes')
downloader.download()
Runs on Windows 10.
And on Linux.
@nathan-cummings-ukaea Could you try this again and let me know if you're getting the same error?
Hi @DennisReddyhoff the short answer is yes, but don't worry about trying to fix it yet until we catch up.
Ayup. The above code runs (for me) on Windows 10 and Ubuntu 20.04.1 LTS in a clean (git clean -f
) repo - no config.yaml
is present in the folder. It's possible I'm doing something wildly odd or wrong, or there's something that's being .gitignore
'd that's affecting the behaviour.
It creates a metadata.yaml
and downloads some stuff into a records/
folder.
Leaving this with @DennisReddyhoff!
Response