CliMA / CliMA/ClimaAnalysis.jl

Add warning for duplicate times in OutputVar in `read_var`

Open
#361 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
12
Forks
5
Avg merge
6d 17h
Merged PRs (30d)
3

Description

In https://github.com/CliMA/ClimaDiagnostics.jl/issues/153, NetCDF files produced from multiple simulations with restarts can share the same dates. For now, it would be helpful to throw a warning that duplicate time values are in the OutputVar.

I am not sure if removing the time value should be something that ClimaAnalysis handle or the user should handle.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the read_var entry point and how OutputVar stores or checks time values. Reproduce the duplicate-date case described in issue 153, then add a warning when duplicate times are present and verify that the warning appears without deciding whether values should be removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.