ClimaCoupler.jl icon indicating copy to clipboard operation
ClimaCoupler.jl copied to clipboard

Tr/move co2 to clima artifacts

Open imreddyTeja opened this issue 4 months ago • 0 comments

Purpose

Reduce usage of ArtifactWrapper Closes #997 Relates to ClimaArtifact PR 51

To-do

  • Check that this does not change results of run_amip.jl

Content

  • Replace ArtifactWrapper in co2_dataset_path with a clima artifact
  • The new co2 artifact contains a text file with co2 monthly means and a text file with daily means
  • The old co2 artifact was a NetCDF file generated from the monthly means text file
  • run_amip.jl now uses the monthly txt file and parses it into a TimeVaryingInput. There are several differences between the old data in the artifact and the new data. First, the new data does not have lat/lon, but the old Netcdf file did not vary in space even though the dimensions existed. Second, the dates in the new file all fall exactly on the 15th of the month, while the old file varied by a few hours in each direction. Third the mean co2 is very slightly off (greatest diff is .01%) due to floating points during unit conversion, but this also seems like an issue in the old data file.
  • Change truncate test to not rely on old NetCDF file

  • [x] I have read and checked the items on the review checklist.

imreddyTeja avatar Oct 11 '24 23:10 imreddyTeja