Skip to content

Commit

Permalink
misspelling of full_disk
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Sep 30, 2024
1 parent 21c5b6e commit a6c3e1d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nsrdb/config/create_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
'conus_freq': '5min',
'final_freq': '30min',
'n_chunks': 32,
'source_priority': ['conus', 'full_disk'],
'source_priority': ['conus', 'full_disc'],
}

COLLECT_AGG_KWARGS = {
Expand Down Expand Up @@ -286,6 +286,7 @@ def _update_run_templates(cls, config, run_type='main'):
def surfrad(cls, kwargs):
"""Get basic config template specified parameters replaced."""
config = cls.init_kwargs(kwargs, SURFRAD_KWARGS)
config['extent_tag'] = EXTENT_MAP['extent_tag'][config['extent']]
config['meta_file'] = os.path.join(
config['meta_dir'], 'surfrad_meta.csv'
)
Expand Down Expand Up @@ -472,7 +473,7 @@ def _get_agg_entry(cls, config, extent):

@classmethod
def _aggregate(cls, kwargs):
"""Get config for conus and full disk high-resolution to low-resolution
"""Get config for conus and full disc high-resolution to low-resolution
aggregation. This is then used as the input to `nsrdb.cli.aggregate`
Parameters
Expand All @@ -488,7 +489,7 @@ def _aggregate(cls, kwargs):

else:
data = {
'full_disk': cls._get_agg_entry(config, extent='full'),
'full_disc': cls._get_agg_entry(config, extent='full'),
'conus': cls._get_agg_entry(config, extent='conus'),
'final': cls._get_agg_entry(config, extent='final'),
}
Expand All @@ -499,7 +500,7 @@ def _aggregate(cls, kwargs):

@classmethod
def aggregate(cls, kwargs):
"""Get config for conus and full disk high-resolution to low-resolution
"""Get config for conus and full disc high-resolution to low-resolution
aggregation. This is then used as the input to `nsrdb.cli.aggregate`
Parameters
Expand Down

0 comments on commit a6c3e1d

Please sign in to comment.