GEOS-ESM / MAPL

MAPL is a foundation layer of the GEOS architecture, whose original purpose is to supplement the Earth System Modeling Framework (ESMF)
https://geos-esm.github.io/MAPL/
Apache License 2.0
25 stars 18 forks source link

Split only selected fields in History #2013

Open atrayano opened 1 year ago

atrayano commented 1 year ago

Currently, when History is asked to split a field along the ungridded dimensions, it create as many new fields as the number of items in the ungridded dimension. However, there is a need to support a scenario where the user might want to output only selected split-fields

For example: In GOCART2G we specify a list of wavelengths and several diagnostics are computed for all these wavelengths. However, for some diagnostics, only 1 diagnostic need to appear on file. For example, say we have 4 wavelengths (470,550,670,870) and only 550 needs to be written to file. A siyntax like:

                              'DUSTSCATAU'     , 'DU'        ,  nil,duscattau,nil,nil

Would write only DUSCATAU(:,:,2) to file with variable name duscattau.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days, it will be closed. You can add the "long term" tag to prevent the Stale bot from closing this issue.

mathomp4 commented 1 year ago

Not sure if we have this now in MAPL or not. So, I'll mark as "long term" until @atrayano can weigh in.