Skip to content

Commit

Permalink
Removed lines to write out filename_trcr
Browse files Browse the repository at this point in the history
  • Loading branch information
andytangborn committed Nov 20, 2024
1 parent 7664109 commit 17ef5a2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions utils/chem/chem_diagb.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,6 @@ namespace gdasapp {
global_rescale.zero();
const eckit::LocalConfiguration GlobalRescaleStdConfig(GlobalRescaleConfig,
"rescale stddev");
// Get the 'datapath' and 'filename_trcr' from the YAML configuration
std::string datapath, filename_trcr;
GlobalRescaleStdConfig.get("datapath", datapath);
GlobalRescaleStdConfig.get("filename_trcr", filename_trcr);

// Combine the path and filename to get the full file path
std::string fullPath = datapath + filename_trcr;

// Print out the full path to verify
std::cout << "Attempting to read the global rescale file from: " << fullPath << std::endl;

global_rescale.read(GlobalRescaleStdConfig);
// interpolate to background resolution
fv3jedi::Increment global_rescale_interp(geom, global_rescale);
Expand Down

0 comments on commit 17ef5a2

Please sign in to comment.