Skip to content

Commit a9084f3

Browse files
committed
Allow for missing in areacello
1 parent 72a28f4 commit a9084f3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OceanTransportMatrixBuilder"
22
uuid = "c2b4a04e-6049-4fc4-aa6a-5508a29a1e1c"
33
authors = ["Benoit Pasquier <briochemc@gmail.com> and contributors"]
4-
version = "0.2.5"
4+
version = "0.2.6"
55

66
[deps]
77
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ That's it! You've got yourself the transport matrix of your dreams!
8383
## List of models tested
8484

8585
```
86+
ACCESS1-0
8687
ACCESS1-3
8788
ACCESS-ESM1-5
8889
ACCESS-CM2

src/preprocessing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function makemodelgrid(; areacello, volcello, lon, lat, lev, lon_vertices, lat_v
134134

135135
# area (2D)
136136
FillValue = areacello.properties["_FillValue"]
137-
area2D = areacello |> Array{Float64}
137+
area2D = areacello |> Array{Union{Missing, Float64}}
138138
area2D = replace(area2D, missing => NaN, 0 => NaN, FillValue => NaN)
139139

140140
# depth and cell height (3D)

0 commit comments

Comments
 (0)