NorESMhub / BLOM

Bergen Layered Ocean Model
GNU Lesser General Public License v3.0
17 stars 25 forks source link

simplified output choices for BLOM #252

Open adagj opened 1 year ago

adagj commented 1 year ago

Hi, would it be possible to add simplified output choices for BLOM as a name list option in the username list? E.g. to only write diagnostics on z-levels (and not sigma levels) in order to reduce output and storage needs, but without listing every variable needed in the user_nl_blom (long list!)? I'm thinking something similar to aerosol_history = .false. in user_nl_cam, e.g. if we had a sigma_diag =.false. option in user_nl_blom.

Cheers, Ada

TomasTorsvik commented 1 year ago

@adagj @matsbn @JorgSchwinger Hi, I see that it could be convenient to have this as a namelist option. It would then be necessary to check two places to see if a variable output will be written, but I don't think it should be a major problem if we have e.g. sigma_diag = .true. as the default option, so that by default we write all fields. Anyone else want to chime in on this?

JorgSchwinger commented 1 year ago

I think the option to choose pre-defined output sets for BLOM/iHAMOCC is mostly (only?) needed in the NorESM context. I would assume that in a BLOM standalone context, we can assume expert users that would choose the level of output themselves.

So if it is a NorESM issue, then an option could be placed in env_run.xml (e.g. "BLOM_OUTPUT=large|medium|small|cmip6|cmip7" or similar) and then the buildnml script could handle this somehow.

Just a thought, this wouldn't require code modifications in BLOM.