Data API#

rubin_sim.data.data_dict()[source]#

Dictionary containing expected version information for rubin_sim_data data sets, for this version of rubin_sim.

Returns:

file_dict – Data bucket filenames dictionary with keys: "name"

Data bucket name (str).

"version"

Versioned file name (str).

Return type:

dict

rubin_sim.data.get_baseline()[source]#

Get the path to the baseline cadence simulation sqlite file.

Returns:

file – Path to the baseline cadence simulation sqlite file.

Return type:

str

rubin_sim.data.get_data_dir()[source]#

Wraps rubin_scheduler.data.get_data_dir(). Provided here for backwards compatibility.

Returns:

$RUBIN_SIM_DATA_DIR – Directory containing the necessary data for rubin_sim_data.

Return type:

str

rubin_sim.data.rs_download_data()[source]#

Utility to download necessary data for rubin_sim.

Wrapper around rubin_scheduler.scheduler_download_data, but downloading the data files specified by rubin_sim.

rubin_sim.data.rs_download_testing()[source]#

Convenience function for github actions, to download only a subset of data.

Contains maf,maps,movingObjects,skybrightness,throughputs and tests. For users who don’t care about moving objects, this is likely sufficient.