Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent diagnostic file suffix across parm/atm/obs/config yamls #911

Closed
RussTreadon-NOAA opened this issue Feb 7, 2024 · 1 comment · Fixed by #933
Closed

Inconsistent diagnostic file suffix across parm/atm/obs/config yamls #911

RussTreadon-NOAA opened this issue Feb 7, 2024 · 1 comment · Fixed by #933

Comments

@RussTreadon-NOAA
Copy link
Contributor

Different yamls in parm/atm/obs/config use different suffixes for diagnostic files. As a result the finalize method in g-w atm_analysis.py fails to gzip and tar all diagnostic files. Currently the finalize method only processes diagnostic files ending in the suffix .nc4.

        # get list of diag files to put in tarball
        diags = glob.glob(os.path.join(self.task_config.DATA, 'diags', 'diag*nc4'))

The diagnostic suffixes used by yamls in parm/atm/obs/config are tabulated below

.nc .nc4
atms_n20.yaml aircraft.yaml
atms_npp.yaml amsua_n19.yaml
conv_ps.yaml cris-fsr_n20.yaml
iasi_metop-a.yaml cris-fsr_npp.yaml
iasi_metop-b.yaml gnssro.yaml
satwind_abi_goes-16.yaml omi_aura.yaml
satwind_abi_goes-17.yaml ompsnp_npp.yaml
satwind_seviri_m11.yaml ompsnp_npp.yaml
satwind_seviri_m8.yaml ompstc8_npp.yaml
scatwind_ascat_metop-a.yaml satwind.yaml
scatwind_ascat_metop-b.yaml satwind_ahi_h8.yaml
sfc.yaml
sfcship.yaml
sondes.yaml
ssmis_f17.yaml
ssmis_f18.yaml

The NetCDF 4.92. FAQ recommends .nc

What convention should be used for the names of netCDF files?
NetCDF files should have the file name extension ".nc". The recommended extension for netCDF files was changed from ".cdf" to ".nc" in 1994 in order to avoid a clash with the NASA CDF file extension, and now it also avoids confusion with "Channel Definition Format" files.

@RussTreadon-NOAA
Copy link
Contributor Author

Note: Closing this issue will also close GDASAPpp issue #735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant