Downloading data
arvi can use the DACE API to download data products for a specific target.
Each RV
instance has three distinct methods for downloading CCFs,
S1Ds, and S2Ds.
By default, this will download the files into a folder called [star]_downloads
.
The methods all share the same arguments and are documented below.
As an example, we can download the 5th S2D file from ESPRESSO19 into a specific directory
Note
Depending on your network, the downloads can be slow, especially when downloading many large S2D files like those from ESPRESSO for example.
arvi.timeseries.RV.download_ccf(instrument=None, index=None, limit=None, directory=None, clobber=False, symlink=False, load=True, **kwargs)
Download CCFs from DACE
Parameters:
Name | Type | Description | Default |
---|---|---|---|
instrument
|
str
|
Specific instrument for which to download data |
None
|
index
|
int
|
Specific index of point for which to download data (0-based) |
None
|
limit
|
int
|
Maximum number of files to download. |
None
|
directory
|
str
|
Directory where to store data. |
None
|
clobber
|
bool
|
Whether to overwrite existing files. |
False
|
arvi.timeseries.RV.download_s1d(instrument=None, index=None, limit=None, directory=None, clobber=False, apply_mask=True, symlink=False, **kwargs)
Download S1Ds from DACE
Parameters:
Name | Type | Description | Default |
---|---|---|---|
instrument
|
str
|
Specific instrument for which to download data |
None
|
index
|
int
|
Specific index of point for which to download data (0-based) |
None
|
limit
|
int
|
Maximum number of files to download. |
None
|
directory
|
str
|
Directory where to store data. |
None
|
clobber
|
bool
|
Whether to overwrite existing files. |
False
|
apply_mask
|
bool
|
Apply mask to the observations before downloading. |
True
|
arvi.timeseries.RV.download_s2d(instrument=None, index=None, limit=None, directory=None, clobber=False, symlink=False, **kwargs)
Download S2Ds from DACE
Parameters:
Name | Type | Description | Default |
---|---|---|---|
instrument
|
str
|
Specific instrument for which to download data |
None
|
index
|
int
|
Specific index of point for which to download data (0-based) |
None
|
limit
|
int
|
Maximum number of files to download. |
None
|
directory
|
str
|
Directory where to store data. |
None
|
clobber
|
bool
|
Whether to overwrite existing files. |
False
|