Skip to content

Error in combine_restarts #374

@lwhorowitz

Description

@lwhorowitz

Describe the bug
File globbing error is producing incorrect results for river restart files. Script is incorrectly treating both physics_driver and river restart files together.

To Reproduce
Steps to reproduce the behavior
On gaea ...
module load fre-nctools/2024.05
tar -xvf /gpfs/f5/gfdl_b/scratch/Larry.Horowitz/ESM4/ESM4.5/AM4p5_v14_longamip/ncrc5.intel23-prod-openmp/restart/19790101.tar
combine_restarts -v
--> produces incorrect river.res.tile?.nc files

Expected behavior
A clear and concise description of what you expected to happen.
The expected results are in /gpfs/f5/gfdl_b/scratch/Larry.Horowitz/ESM4/ESM4.5/AM4p5_v14_longamip/ncrc5.intel23-prod-openmp/restart/19790101.combined.tar

System Environment
Describe the system environment, include:

  • OS: [e.g. RHEL 7.2]
  • Compiler(s): Type and version [e.g. Intel 19.1]
  • netCDF Version: For both C and Fortran
  • Configure options: Any additional flags, or macros passed to configure

gaea c5 (gaea54)

Currently Loaded Modules:

  1. craype-x86-rome 6) intel/2025.0 11) PrgEnv-intel/8.6.0 16) nccmp/1.9.1.0 21) hsm/1.3.0 26) qa/1.5
  2. libfabric/1.20.1 7) craype/2.7.34 12) CmrsEnv/default 17) fms-yaml-tools/2025.01 22) fre/bronx-23
  3. craype-network-ofi 8) cray-dsmml/0.3.1 13) TimeZoneEDT/default 18) gridcf-gct/6.2.20220524 23) nco/5.1.9
  4. perftools-base/25.03.0 9) cray-mpich/8.1.32 14) DefApps/default 19) uberftp/2_8 24) perlbrew/5.38.2
  5. xpmem/2.9.6-1.1_20240510205610__g087dc11fc19d 10) cray-libsci/25.03.0 15) cray-pmi/6.1.15 20) gcp/2.3 25) fre-nctools/2024.05

Additional context
Add any other context about the problem. If applicable, include where any files
that help describe, or reproduce the problem exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions