1 clim_recal.ceda_ftp_download
clim_recal.ceda_ftp_download
1.1 Functions
| Name | Description | 
|---|---|
| download_ftp | Function to connect to the CEDA archive and download data. | 
1.1.1 download_ftp
clim_recal.ceda_ftp_download.download_ftp(input, output, username, password, order)
Function to connect to the CEDA archive and download data.
You need to have a user account and provide your username and FTP password.
1.1.1.1 Parameters
| Name | Type | Description | Default | 
|---|---|---|---|
| input | str | Path where the CEDA data to download is located (e.g /badc/ukmo-hadobs/data/insitu/MOHC/HadOBS/HadUK-Grid/v1.1.0.0/1km/tasmin/day/v20220310or top level folder like/badc/ukcp18/data/land-cpm/uk/2.2km/rcp85if you want to download all files in all sub-directories). | required | 
| output | str | Path to save the downloaded data - sub-directories will be created automatically under the output directory. | required | 
| username | str | CEDA registered username | required | 
| password | str | CEDA FPT password (obtained as explained in https://help.ceda.ac.uk/article/280-ftp) | required | 
| order | int | Order in which to run download 0: default order of file fromFTPserver1: reverse order2: shuffle. This functionality allows to run several downloads in parallel without rewriting files that are being downloaded. | required |