Skip to content

Commit

Permalink
Merge pull request #367 from lsst/tickets/OPSIM-1081
Browse files Browse the repository at this point in the history
Tickets/opsim 1081
  • Loading branch information
yoachim authored Oct 3, 2023
2 parents fe9ef2e + c99a50e commit 29b68f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rubin_sim/data/rs_download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def data_dict():
"orbits_precompute": "orbits_precompute_2023_05_23.tgz",
"scheduler": "scheduler_2023_09_22.tgz",
"sim_baseline": "sim_baseline_2023_09_22.tgz",
"site_models": "site_models_2023_03_28.tgz",
"site_models": "site_models_2023_10_02.tgz",
"skybrightness": "skybrightness_2023_09_11.tgz",
"skybrightness_pre": "skybrightness_pre_2023_09_19.tgz",
"throughputs": "throughputs_2023_09_22.tgz",
Expand Down
4 changes: 2 additions & 2 deletions rubin_sim/site_models/generate_planets.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import numpy as np
from astropy.coordinates import AltAz, EarthLocation, get_body, solar_system_ephemeris
from astropy.coordinates import EarthLocation, get_body, solar_system_ephemeris
from astropy.time import Time

from rubin_sim.utils import Site

if __name__ == "__main__":
mjd_start = 59853.5 - 3.0 * 365.25
duration = 25.0 * 365.25
duration = 30.0 * 365.25
pad_around = 40
t_step = 1.0 / 24.0 # Start with 1-hour timesteps.

Expand Down
3 changes: 1 addition & 2 deletions rubin_sim/site_models/generate_sun_moon_pos.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import astropy.units as u
import numpy as np
from astropy.coordinates import AltAz, EarthLocation, get_body, get_sun
from astropy.time import Time
Expand All @@ -9,7 +8,7 @@

if __name__ == "__main__":
mjd_start = 59853.5 - 3.0 * 365.25
duration = 25.0 * 365.25
duration = 50.0 * 365.25
pad_around = 40
t_step = 1.0 / 24.0 # Start with 1-hour timesteps.

Expand Down
2 changes: 1 addition & 1 deletion rubin_sim/site_models/generate_sunsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Trying out the astroplan sunrise/set code.
# conda install -c astropy astroplan
mjd_start = 59853.5 - 3.0 * 365.25
duration = 25.0 * 365.25
duration = 50.0 * 365.25
pad_around = 40
t_step = 0.2

Expand Down

0 comments on commit 29b68f3

Please sign in to comment.