Skip to content

Commit

Permalink
default time shift as 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Sep 16, 2024
1 parent 9042364 commit 2aa353b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sup3r/solar/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
nsrdb_fp,
t_slice=slice(None),
tz=-6,
time_shift=None,
time_shift=0,
agg_factor=1,
nn_threshold=0.5,
cloud_threshold=0.99,
Expand Down Expand Up @@ -67,7 +67,7 @@ def __init__(
the GAN is trained on data in local time and therefore the output
in sup3r_fps should be treated as local time. For example, -6 is
CST which is default for CONUS training data.
time_shift : int | None
time_shift : int
Number of hours to shift time axis. This can be used, for
example, to shift the time index for daily data so that the time
stamp for a given day starts at hour zero instead of at
Expand Down Expand Up @@ -596,7 +596,7 @@ def run_temporal_chunk(
nsrdb_fp,
fp_out_suffix='irradiance',
tz=-6,
time_shift=None,
time_shift=0,
agg_factor=1,
nn_threshold=0.5,
cloud_threshold=0.99,
Expand Down

0 comments on commit 2aa353b

Please sign in to comment.