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

Bug fix to computation of the AGL height #1213

Merged

Conversation

ldfowler58
Copy link
Contributor

In ./src/core_atmosphere/physics/mpas_atmphys_driver_microphysics.F, the height Above the Ground Level was improperly computed. The k index of the layer thickness needed to compute variable dz was always defined as dz_p(i,1,j) instead of dz_p(i,k,j). This bug fix corrects the calculation of zp, and therefore, that of the 1km radar reflectivity.

…F, corrected

  the calculation of the height Above Ground Level (AGL) prior to computing radar
  in subroutine compute_radar_reflectivity.
@mgduda mgduda merged commit cbd2679 into MPAS-Dev:hotfix-v8.2.1 Aug 6, 2024
mgduda added a commit that referenced this pull request Aug 6, 2024
This merge corrects the calculation of height above ground level (AGL) that
is used in the computation of the 1-km simulated radar reflectivity field in
mpas_atmphys_driver_microphysics.F. Specifically, the fixes in this merge
affect the refl10cm_1km and refl10cm_1km_max fields.

* NSF-MPAS/physics_big_fix_zd:
  * In ./src/core_atmosphere//physics/mpas_atmphys_driver_microphysics.F, corrected...
mgduda added a commit that referenced this pull request Aug 7, 2024
This merge addresses several issues in the MPAS-Atmosphere model and in the MPAS
infrastructure. Specific changes in this merge include:

* Improved detection of an 'mpi_f08' module (PR #1202), as well as improved
  detection of netCDF and PnetCDF library paths (PR #1203), in the top-level
  Makefile.

* The addition of a missing dependency in the physics Makefile to correct
  parallel build issues (PR #1204).

* Fixes to the CMake build files used by MPAS-JEDI (PR #1205).

* Fixes to double-precision builds of MPAS-Atmosphere (PR #1207, PR #1208).

* Correction of the calculation of height AGL used in the computation of 1-km
  radar reflectivity fields (PR #1213).

* Correction of an issue that prevented the MYNN PBL scheme from being used
  without also using the Thompson aerosol-aware microphysics (PR #1215).

* Fixes to allow MPAS-Atmosphere to be built without physics (i.e., dynamics-
  only builds) (PR #1221).

* Various code cleanup and minor corrections (PR #1206, PR #1212, PR #1224,
  PR #1226).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants