fluxnet_shuttle.download
- fluxnet_shuttle.download(site_ids=None, snapshot_file='', output_dir='.', **kwargs)[source]
Download FLUXNET data for specified sites using configuration from a snapshot file.
Downloads are performed concurrently.
- Parameters:
site_ids (Optional[List[str]]) – List of site IDs to download data for. If None or empty, downloads all sites from snapshot file.
snapshot_file (str) – Path to CSV snapshot file containing site configuration
output_dir (str) – Directory to save downloaded files (default: current directory)
kwargs (
Any) – Additional keyword arguments passed to _download_dataset. - user_info: Dictionary with plugin-specific user info (e.g., {“ameriflux”: {…}})
- Returns:
List of downloaded filenames
- Return type:
list
- Raises:
FLUXNETShuttleError – If snapshot_file is invalid or sites not found