Skip to content

Sim-vs-obs plots for the 3 BU SIPNET ensembles (#238)#31

Open
AritraDey-Dev wants to merge 7 commits into
mainfrom
cal-val-plots-238
Open

Sim-vs-obs plots for the 3 BU SIPNET ensembles (#238)#31
AritraDey-Dev wants to merge 7 commits into
mainfrom
cal-val-plots-238

Conversation

@AritraDey-Dev

@AritraDey-Dev AritraDey-Dev commented Jun 10, 2026

Copy link
Copy Markdown
Member

Sim-vs-obs plots for the 3 BU SIPNET ensembles (Salinas SOCS, Modesto Nichols, Russell Ranch).

Closes ccmmf/organization#238.

Salinas SOCS — TotSoilCarb

salinas

Modesto Nichols — N₂O flux

modesto

Russell Ranch — TotSoilCarb (derived)

image

@AritraDey-Dev AritraDey-Dev deleted the cal-val-plots-238 branch June 10, 2026 14:48
@AritraDey-Dev AritraDey-Dev restored the cal-val-plots-238 branch June 10, 2026 14:51
@AritraDey-Dev AritraDey-Dev reopened this Jun 10, 2026
@AritraDey-Dev AritraDey-Dev requested a review from dlebauer June 10, 2026 14:55
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>

@divine7022 divine7022 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for plots, highlevel
not totally sure on where it belongs at this moment but for sure not workflows.
for now i would suggest have this under benckmarking/ dir or similar in uncertainity repo

droped some inline, nice to have a look

# ----------------------------------------------------------------------------
WORKBOOK_DIR <- Sys.getenv(
"WORKBOOK_DIR",
unset = "/projectnb2/dietzelab/ccmmf/usr/adey2/workflows"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

small thing, nothing blocking. right now WORKBOOK_DIR points at your scc folder and the script grabs the raw xlsx straight from there

i just got cal-val-data repo stood up where the cleaned cal/val data lives as csv. once that settles it would be nicer to read from those csvs instead of the workbook so anybody can run this. so no need to touch anything now, just leaving a note so we circle back and hook it up later

# Read a single PEcAn-style NetCDF (one year file) and return a tibble with
# posix + the requested variable. Time is encoded in the standard CF way
# (units = "days since YYYY-01-01" or similar).
read_one_nc <- function(nc_path, variable) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

read_one_nc is hand rolling the netcdf read here and parsing cf time units by chopping the string apart.

any reason not to lean on read.output/ ncdf4 helpers we already have for pulling the time origin and doing the unit conversion ? feels like a lot less to get wrong than re rolling it ourselves

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

these plot pngs are checked into the repo, and since they get regenerated they will keep churning in the diffs and go stale fast. might be cleaner drop the plots folder and just let folks rebuild them from the script, that way repo only carries code and not the output

this totally fine now, in intent to get it documented of records is more priority

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.

Sim-vs-obs plots for Salinas+Modesto+Russell Ranch SIPNET ensembles

2 participants