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

correct_unit branch #496

Merged
merged 4 commits into from
Oct 9, 2020
Merged

correct_unit branch #496

merged 4 commits into from
Oct 9, 2020

Conversation

mzhangw
Copy link
Collaborator

@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/fv3atm#170.

Copy link
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!

@@ -22,7 +22,7 @@ subroutine GFS_rrtmg_pre_run (Model, Grid, Sfcprop, Statein, & ! input
Tbd, Cldprop, Coupling, &
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
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).

@@ -113,32 +113,32 @@
intent = in
optional = F
[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
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.

units = flag
dimensions = ()
type = integer
intent = in
optional = F
[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
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.

@@ -534,7 +498,7 @@
standard_name = instantaneous_3d_cloud_fraction
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
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.

units = flag
dimensions = ()
type = integer
intent = in
optional = F
[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
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.

units = flag
dimensions = ()
type = integer
intent = in
optional = F
[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
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.

standard_name = in_number_concentration
long_name = IN number concentration
units = kg-1?
standard_name = ice_nucleation_number
Copy link
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?

standard_name = ccn_number_concentration
long_name = CCN number concentration
units = kg-1?
standard_name = tendency_of_ccn_activated_number
Copy link
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?

@@ -185,7 +184,7 @@ SUBROUTINE mp_fer_hires_run(NCOL, NLEV, DT ,SPEC_ADV &
integer :: I,J,K,N
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
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.

@@ -214,15 +214,6 @@
kind = kind_phys
intent = inout
optional = F
[cwm]
Copy link
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
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
Collaborator Author

mzhangw commented Oct 1, 2020 via email

@climbfuji
Copy link
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