Skip to content

correct_unit branch#496

Merged
climbfuji merged 4 commits into
NCAR:masterfrom
mzhangw:correct_unit
Oct 9, 2020
Merged

correct_unit branch#496
climbfuji merged 4 commits into
NCAR:masterfrom
mzhangw:correct_unit

Conversation

@mzhangw
Copy link
Copy Markdown
Contributor

@mzhangw mzhangw commented Sep 10, 2020

This PR include metadata unit/dimension/name correctness.
It does not change answers on Hera.
The associated PR is NOAA-EMC/ufsatm#170.

Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

A few changes need to be reverted since they don't belong into this PR and conflict with other ongoing efforts, others are good to have despite not belonging here. A few questions as well. Please mark the PR as ready for review once you made the changes. Thanks!

Comment thread physics/GFS_rrtmg_pre.F90
Radtend, & ! input/output
imfdeepcnv, imfdeepcnv_gf, &
f_ice, f_rain, f_rimef, flgmin, cwm, & ! F-A mp scheme only
flgmin, & ! F-A mp scheme only
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This change is not associated with correcting units, nonetheless it is good to fix this (Dusan reported issues with those arrays not being allocated but having explicit dimensions).

Comment thread physics/GFS_rrtmg_setup.meta Outdated
[iovr_sw]
standard_name = flag_for_max_random_overlap_clouds_for_shortwave_radiation
long_name = sw: max-random overlap clouds
standard_name = flag_for_cloud_overlapping_method_for_shortwave_radiation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

Comment thread physics/GFS_rrtmg_setup.meta Outdated
[iovr_lw]
standard_name = flag_for_max_random_overlap_clouds_for_longwave_radiation
long_name = lw: max-random overlap clouds
standard_name = flag_for_cloud_overlapping_method_for_longwave_radiation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

long_name = instantaneous 3D cloud fraction for all MPs
units = frac
dimensions = (horizontal_dimension,vertical_dimension)
dimensions = (horizontal_dimension,adjusted_vertical_layer_dimension_for_radiation)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing those wrong dimensions.

Comment thread physics/GFS_rrtmg_setup.meta Outdated
[isubc_sw]
standard_name = flag_for_sw_clouds_without_sub_grid_approximation
long_name = flag for sw clouds without sub-grid approximation
standard_name = flag_for_subcolumn_cloud_approximation_for_shortwave_radiation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

Comment thread physics/GFS_rrtmgp_setup.meta Outdated
[isubc_lw]
standard_name = flag_for_lw_clouds_without_sub_grid_approximation
long_name = flag for lw clouds without sub-grid approximation
standard_name = flag_for_subcolumn_cloud_approximation_for_longwave_radiation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

Comment thread physics/m_micro.meta
standard_name = in_number_concentration
long_name = IN number concentration
units = kg-1?
standard_name = ice_nucleation_number
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@grantfirl @ligiabernardet has this change been coordinated with you?

Comment thread physics/m_micro.meta
standard_name = ccn_number_concentration
long_name = CCN number concentration
units = kg-1?
standard_name = tendency_of_ccn_activated_number
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@grantfirl @ligiabernardet has this change been coordinated with you?

Comment thread physics/mp_fer_hires.F90 Outdated
integer :: lowlyr(1:ncol)
integer :: dx1
!real(kind_phys) :: mprates(1:ncol,1:nlev,d_ss)
real(kind_phys) :: cwm(1:ncol,1:nlev)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

Comment thread physics/mp_fer_hires.meta
kind = kind_phys
intent = inout
optional = F
[cwm]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please revert this change.

@climbfuji
Copy link
Copy Markdown
Collaborator

Note: this PR will be pulled into a feature branch feature/transition-to-capgen-1 in the NCAR GitHub repo, which collects several non-answer-changing PRs for that effort of transitioning to cap_gen.py.

@mzhangw
Copy link
Copy Markdown
Contributor Author

mzhangw commented Oct 1, 2020 via email

@climbfuji
Copy link
Copy Markdown
Collaborator

This PR was merged into #506 for NCAR's feature/transition-to-capgen-1 branch. These changes will be merged into the authoritative branch in a couple of weeks, and this PR should be flagged as "merged' automatically.

@climbfuji climbfuji merged commit e6e8ef1 into NCAR:master Oct 9, 2020
@mzhangw mzhangw deleted the correct_unit branch December 15, 2021 21:18
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