Final MARBL modifications for CESM3#434
Conversation
If optional print_lev argument is present and true, include "Level: k" when printing (i,j) location.
|
According to an answer on Stack Overflow, it is not okay to write to an internal file, i.e., a character string, and include that string on the right-hand of write statement. |
bummer! I guess the options are to either have very similar |
|
In my sandbox, my adhoc implementation had very similar |
This is cleaner than overloading log_message. Also, message_suffix only needs to be O(10) characters (same with message_prefix), so I was made both variables character(len=16) instead of 256
One of my most frequent typos is including a , between the write(_,_) and the list of items to write. Unlike most cases, this was just a flat-out mistake and not changing print*, -> write(_,_), which is how it usually gets introduced
shortened the message a little bit, changed presentation of level info
FE_BIOAVAIL_FRAC_OFFSET was still in the MARBL forcing control structure but had been removed from MOM_input; it is back replacing a hard-coded "- 0.0134" in the code. Also added a minimum dust ratio (9.903) and an offset for dust ratio (replacing a hard-coded "- 5.5")
This PR will eventually address all issues in https://github.com/NCAR/MOM6/milestone/6 but for now it
print_levargument toprint_marbl_log()Fixes #432
Fixes #433