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

Feature/init trop cyclone #567

Merged
merged 9 commits into from
Nov 14, 2022
Merged

Conversation

aleeciu
Copy link
Collaborator

@aleeciu aleeciu commented Oct 27, 2022

Changes proposed in this PR:

  • Add types hints to TropCyclone.init, classmethods and functions therein

PR Author Checklist

PR Reviewer Checklist

@aleeciu aleeciu changed the title add type hints Feature/init trop cyclone Oct 27, 2022
@chahank chahank requested a review from tovogt October 28, 2022 11:46
@tovogt
Copy link
Collaborator

tovogt commented Oct 28, 2022

I think we should wait for the Hazard base class to be ready before continuing here.

@chahank
Copy link
Member

chahank commented Oct 28, 2022

I agree!

emanuel-schmid and others added 3 commits November 2, 2022 16:30
# Conflicts:
#	climada/hazard/trop_cyclone.py

Conflicts resolved manually.
In particular the radius arguments in Holland methods is given in 'km' (default value and doc-string)
@tovogt
Copy link
Collaborator

tovogt commented Nov 14, 2022

I think this is ready to be merged. 🎉

@emanuel-schmid
Copy link
Collaborator

🥳

@emanuel-schmid emanuel-schmid merged commit 76cd4e2 into develop Nov 14, 2022
@emanuel-schmid emanuel-schmid deleted the feature/init_trop_cyclone branch November 14, 2022 10:05
simonameiler pushed a commit that referenced this pull request Aug 24, 2023
* add type hints

* trop_cyclone: order imports

* trop_cyclone: remove trailing whitespaces

* trop_cyclone: np.array -> np.ndarray

* trop_cyclone: pass kwargs to Hazard base class

* TropCyclone: more type hinting

Co-authored-by: Thomas Vogt <[email protected]>
Co-authored-by: emanuel-schmid <[email protected]>
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.

4 participants