Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Oct 1, 2024
1 parent f6cead1 commit fc20841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlclouds/data_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(
if self.cache_exists(cache_pattern):
self.df_raw, self.df_all_sky = self.load_all_data(cache_pattern)
else:
self._load_data(test_fraction, nsrdb_files=nsrdb_files)
self._load_data(nsrdb_files=nsrdb_files)
if cache_pattern is not None and not self.cache_exists(cache_pattern):
self.save_all_data(cache_pattern)

Expand Down Expand Up @@ -293,7 +293,7 @@ def _load_data(self, nsrdb_files=None):
train_sites = get_valid_surf_sites(
sites=self.train_sites,
fp_surfrad_data=self.fp_surfrad_data,
train_file=train_file,
data_file=train_file,
)

with NSRDBFeatures(train_file) as res:
Expand Down

0 comments on commit fc20841

Please sign in to comment.