You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an interface for a public method task (if not already done)
Provide the output files in an appropriate data structure (dict, list) as a public helper method on the object.
Description
Use stream files and other config settings to determine expected output for MPAS and MPAS Init and output in a dict with labels like those in stream file. Return a list (probably) of the ungribbed files.
No need to hook into CLI.
The text was updated successfully, but these errors were encountered:
Output files are named from namelist entries like this pseudo code:
for file_date in share.start_date to share.end_data in share.interval_seconds:
file_name = f"{ ungrib.prefix }:{ file_date.strfmt("%Y-%m-%d_%h") }"
MPAS Init
Output file is defined from the streams.init_atmosphere for any entries matching the type=output. The filename_template entry defines the name of the output files. They use templates that look like:
filename_template="lbc.$Y-$M-$D_$h.$m.$s.nc"
MPAS
Same approach as MPAS, but the name of the streams file is streams.atmosphere. Both can probably use the values defined in the UW YAML.
AC
Description
Use stream files and other config settings to determine expected output for MPAS and MPAS Init and output in a dict with labels like those in stream file. Return a list (probably) of the ungribbed files.
No need to hook into CLI.
The text was updated successfully, but these errors were encountered: