Skip to content

Commit

Permalink
Update on ReconJob.calib_psms()
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhu2e committed Jan 25, 2024
1 parent 4a56dce commit a7c52a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions cfr/reconjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,11 @@ def calib_psms(self, ptype_psm_dict=None, ptype_season_dict=None, calib_period=N
pobj.psm.calibrate(**kwargs)
elif psm_name == 'Bilinear':
pobj.psm.calibrate(
season_list1=ptype_season_dict[pobj.ptype],
season_list2=ptype_season_dict[pobj.ptype], calib_period=calib_period)
season_list1=ptype_season_dict[pobj.ptype], season_list2=ptype_season_dict[pobj.ptype],
calib_period=calib_period, **kwargs,
)
else:
pobj.psm.calibrate(season_list=ptype_season_dict[pobj.ptype], calib_period=calib_period)
pobj.psm.calibrate(season_list=ptype_season_dict[pobj.ptype], calib_period=calib_period, **kwargs)

# give the calibrated records a tag
for pid, pobj in self.proxydb.records.items():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='cfr', # required
version='2024.1.15',
version='2024.1.24',
description='cfr: a Python package for Climate Field Reconstruction',
long_description=long_description,
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit a7c52a3

Please sign in to comment.