CLM vector-format history files and restart files pfts1d_wt varnames
- Dominant language
- Fortran
- Stars
- 352
- Forks
- 361
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 7
Description
As far as I can tell, the PFT weight variables names with the same long_name attribute could be made more consistent in the CLM vector-format history files and the CLM restart files.
In the CLM restart files, the variable is pfts1d_wtxy
In the CLM vector files, the variable is pfts1d_wtgcell
ditto for pfts1d_wtlnd and pfts1d_wtlunit
double pfts1d_wtxy(pft) ;
pfts1d_wtxy:long_name = "pft weight relative to corresponding gridcell" ;
double pfts1d_wtlnd(pft) ;
pfts1d_wtlnd:long_name = "pft weight relative to corresponding landunit" ;
double pfts1d_wtcol(pft) ;
pfts1d_wtcol:long_name = "pft weight relative to corresponding column" ;
double pfts1d_wtgcell(pft) ;
pfts1d_wtgcell:long_name = "pft weight relative to corresponding gridcell" ;
double pfts1d_wtlunit(pft) ;
pfts1d_wtlunit:long_name = "pft weight relative to corresponding landunit" ;
double pfts1d_wtcol(pft) ;
pfts1d_wtcol:long_name = "pft weight relative to corresponding column" ;
Next time you get to code refactoring, please consider. It makes the accessor routines easier to support.
Contributor guide
Assessment
This issue has not been assessed yet.