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

Gb/hr exo #100

Merged
merged 7 commits into from
Oct 13, 2022
Merged

Gb/hr exo #100

merged 7 commits into from
Oct 13, 2022

Conversation

grantbuster
Copy link
Member

No description provided.

t_exogenous = None
if exogenous_data is not None:
s_exogenous = exogenous_data[:len(self.spatial_models)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe this is still worth keeping just for readability?

Copy link
Member Author

Choose a reason for hiding this comment

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

Im trying to avoid the variable-to-variable pointer here: s_exogenous = exogenous_data which always seems kind of silly. Is it worth the readability? I could go either way.

Copy link
Collaborator

@bnb32 bnb32 Oct 12, 2022

Choose a reason for hiding this comment

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

Oh yeah thats fair. I could go either way also. Could just pass exo_data[:len(self.spatial_models)] directly into generate.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah but the reason im not doing that now is so that the spatial models can have access to ALL of the exo_data including the 4km data that is technically assigned to the temporal model.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh yeah I suppose that spatial models need up to len(self.spatial_models) + 1 if theyre using the concat or add layers.

Copy link
Collaborator

@bnb32 bnb32 left a comment

Choose a reason for hiding this comment

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

Looks like it was pretty simple to extend the forward pass. Good work.

@grantbuster
Copy link
Member Author

Thanks! yeah the key was realizing the fwp can handle multiple exo layers up to a pretty high resolution and then the multi step model can decide on how to distribute those layers

@grantbuster grantbuster force-pushed the gb/hr_exo branch 2 times, most recently from b482020 to d8a5e3d Compare October 12, 2022 20:35
@grantbuster grantbuster merged commit 0840697 into main Oct 13, 2022
@grantbuster grantbuster deleted the gb/hr_exo branch October 13, 2022 16:40
github-actions bot pushed a commit that referenced this pull request Oct 13, 2022
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.

None yet

2 participants