Skip to content

Commit 4705b32

Browse files
committed
freq='1T' -> freq='1min'
1 parent b44000d commit 4705b32

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

benchmarks/benchmarks/scaling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def setup(self):
1515
lon = np.array((4.99, 5, 5.01))
1616
self.coordinates = np.array([(lati, loni) for
1717
(lati, loni) in zip(lat, lon)])
18-
self.times = pd.date_range('2019-01-01', freq='1T', periods=self.n)
18+
self.times = pd.date_range('2019-01-01', freq='1min', periods=self.n)
1919
self.positions = np.array([[0, 0], [100, 0], [100, 100], [0, 100]])
2020
self.clearsky_index = pd.Series(np.random.rand(self.n),
2121
index=self.times)

docs/examples/bifacial/plot_bifi_model_mc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# create site location and times characteristics
4141
lat, lon = 36.084, -79.817
4242
tz = 'Etc/GMT+5'
43-
times = pd.date_range('2021-06-21', '2021-6-22', freq='1T', tz=tz)
43+
times = pd.date_range('2021-06-21', '2021-6-22', freq='1min', tz=tz)
4444

4545
# create site system characteristics
4646
axis_tilt = 0

docs/examples/bifacial/plot_bifi_model_pvwatts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# using Greensboro, NC for this example
3333
lat, lon = 36.084, -79.817
3434
tz = 'Etc/GMT+5'
35-
times = pd.date_range('2021-06-21', '2021-06-22', freq='1T', tz=tz)
35+
times = pd.date_range('2021-06-21', '2021-06-22', freq='1min', tz=tz)
3636

3737
# create location object and get clearsky data
3838
site_location = location.Location(lat, lon, tz=tz, name='Greensboro, NC')

docs/examples/bifacial/plot_pvfactors_fixed_tilt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# %%
3131
# First, generate the usual modeling inputs:
3232

33-
times = pd.date_range('2021-06-21', '2021-06-22', freq='1T', tz='Etc/GMT+5')
33+
times = pd.date_range('2021-06-21', '2021-06-22', freq='1min', tz='Etc/GMT+5')
3434
loc = location.Location(latitude=40, longitude=-80, tz=times.tz)
3535
sp = loc.get_solarposition(times)
3636
cs = loc.get_clearsky(times)

docs/examples/shading/plot_simple_irradiance_adjustment_for_horizon_shading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Set times in the morning of the December solstice.
2929
times = pd.date_range(
30-
'2020-12-20 6:30', '2020-12-20 9:00', freq='1T', tz=tz
30+
'2020-12-20 6:30', '2020-12-20 9:00', freq='1min', tz=tz
3131
)
3232

3333
# Create location object, and get solar position and clearsky irradiance data.

0 commit comments

Comments
 (0)