Skip to content

Commit

Permalink
define ClimateModel before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Aug 22, 2024
1 parent 12f6ede commit 2e1cc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,22 +181,22 @@ abstract type CMIPphase end
The Coupled Model Intercomparison Project, Phase 5.
"""
struct CMIP5 <: CMIPphase end
const CMIP5_MODELS = Type{<:ClimateModel{CMIP5}}[]

"""
CMIP6 <: CMIPphase
The Coupled Model Intercomparison Project, Phase 6.
"""
struct CMIP6 <: CMIPphase end
const CMIP6_MODELS = Type{<:ClimateModel{CMIP6}}[]

"""
ClimateModel
Abstract supertype for climate models use in [`Future`](@ref) datasets.
"""
abstract type ClimateModel{CMIP<:CMIPphase} end
const CMIP6_MODELS = Type{<:ClimateModel{CMIP6}}[]
const CMIP5_MODELS = Type{<:ClimateModel{CMIP5}}[]

"""
ClimateScenario
Expand Down

0 comments on commit 2e1cc4a

Please sign in to comment.