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

Make Atm_block, IPD_control, and IPD_Data public in SHiELD/atmos_model.F90 #26

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

spencerkclark
Copy link
Member

@spencerkclark spencerkclark commented Oct 4, 2023

Description

This PR makes the Atm_block, IPD_control, and IPD_data structures public in SHiELD/atmos_model.F90. This is needed for interaction within the Python-wrapped version of SHiELD under development starting with ai2cm/SHiELD-wrapper#1.

How Has This Been Tested?

These changes have been tested in ai2cm/SHiELD-wrapper#1. The continuous integration setup there builds the fortran model and its dependencies using the SHiELD_build COMPILE script, builds the Python wrapper, and runs several tests, including some that leverage interaction with these structures.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included

@spencerkclark spencerkclark changed the title Make Atm_block, IPD_control, and IPD_data public in SHiELD/atmos_model.F90 Make Atm_block, IPD_control, and IPD_Data public in SHiELD/atmos_model.F90 Oct 4, 2023
Copy link
Contributor

@lharris4 lharris4 left a comment

Choose a reason for hiding this comment

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

I think this is fine; it merely exposes data structures outside of SHiELD which is useful.

@bensonr
Copy link
Contributor

bensonr commented Oct 4, 2023

@lharris4 - and more importantly, these are not FV3 (dycore) elements where unexpected results can occur by an inadvertent overwrite of a data element.

@lharris4
Copy link
Contributor

lharris4 commented Oct 4, 2023 via email

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