Skip to content

Add GOES and cleanup dimension selection#8

Merged
benkozi merged 3 commits into
feat/cli-splitfrom
add_goes_interp_and_cleanup
Apr 16, 2026
Merged

Add GOES and cleanup dimension selection#8
benkozi merged 3 commits into
feat/cli-splitfrom
add_goes_interp_and_cleanup

Conversation

@jordanschnell
Copy link
Copy Markdown
Collaborator

  • Adds the capability to interpolate GOES L2 data (requires a temporary workaround using xarray)
  • Uses time/level sizes to determine function args rather than dataset names.

ds_averaged.to_netcdf(Path(output_dir + '/test_goes_aod_merged.nc'))

if not rave_paths:
print(f"No matching GOES files found for {date_to_process} (even after lookback).")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could raise a ValueError here instead of print + exit.

Comment on lines +1365 to +1366
print("will cat files: ")
print(files_to_cat)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best to use _LOGGER.info or _LOGGER.debug as opposed to prints

Comment thread src/regrid_wrapper/app/chem_regrid/chem_regrid_impl.py

# JLS - temporary fix for coords not in file
if self.context.dataset_name == "GOES":
pathsrc="/scratch4/BMC/acomp/cheMPAS-Fire/input/grids/domain_latlons/goes19_abi_conus_interpolated_lat_lon.nc"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you want this to run on Gaea-C6?

@jordanschnell
Copy link
Copy Markdown
Collaborator Author

Hi Ben, thanks for the change suggestions. Will get these done when Ursa is back up including addressing the extra domain_latlon hardcoded to Ursa.

@benkozi benkozi merged commit 4b250f3 into feat/cli-split Apr 16, 2026
1 check passed
@benkozi benkozi deleted the add_goes_interp_and_cleanup branch April 17, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants