Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bnb32/issue51 #59

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Bnb32/issue51 #59

merged 3 commits into from
Apr 13, 2023

Conversation

bnb32
Copy link
Collaborator

@bnb32 bnb32 commented Apr 12, 2023

Resolves MERRA interpolation issue #51. Also incorporates various changes to accommodate pandas v2.0.0.

With interpolation fix:

meera_interp_test

Without:

meera_interp_test

@bnb32 bnb32 force-pushed the bnb32/issue51 branch 4 times, most recently from 9d7f425 to ec281b3 Compare April 12, 2023 21:07
Fixes #51. added properties to base handler and merra handler for accessing next date file. edited temporal intepolation to integrate next date data. pandas date_range wrapper addition.
@bnb32 bnb32 force-pushed the bnb32/issue51 branch 2 times, most recently from ae304a1 to 200bbd2 Compare April 12, 2023 23:11
Copy link
Member

@grantbuster grantbuster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks really good, one minor docstring underscore missing (so minor that i almost deleted the comment) but really 10/10

Parameters
----------
key : str
The should be either 'pattern' or 'next pattern', corresponding to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need underscore on "next pattern"

if self.next_file_exists:
data = np.concatenate([data, self._get_data(self.next_file)],
axis=0)
return data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful!

@bnb32 bnb32 merged commit 97e2f5c into main Apr 13, 2023
@bnb32 bnb32 deleted the bnb32/issue51 branch April 13, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants