Skip to content

Commit afd1cb4

Browse files
committed
Refactor NeuralExt, move default depth neural model out of extension, remove dependencies in extension, add new functionality
1 parent 2f3e948 commit afd1cb4

31 files changed

+1714
-717
lines changed

.buildkite/Manifest-v1.11.toml

Lines changed: 17 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.11.4"
3+
julia_version = "1.11.5"
44
manifest_format = "2.0"
5-
project_hash = "e4b1a9cc973a615585faa8b8b39819c8a681fdc7"
5+
project_hash = "6000c3c7cfdaf9a32a3b9f892ef0de826a5cefc7"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "e2478490447631aedba0823d4d7a80b2cc8cdb32"
@@ -210,11 +210,6 @@ git-tree-sha1 = "3b642331600250f592719140c60cf12372b82d66"
210210
uuid = "ab4f0b2a-ad5b-11e8-123f-65d77653426b"
211211
version = "0.5.1"
212212

213-
[[deps.BSON]]
214-
git-tree-sha1 = "4c3e506685c527ac6a54ccc0c8c76fd6f91b42fb"
215-
uuid = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
216-
version = "0.3.9"
217-
218213
[[deps.BandedMatrices]]
219214
deps = ["ArrayLayouts", "FillArrays", "LinearAlgebra", "PrecompileTools"]
220215
git-tree-sha1 = "e35c672b239c5105f597963c33e740eeb46cf0ab"
@@ -327,12 +322,6 @@ git-tree-sha1 = "e329286945d0cfc04456972ea732551869af1cfc"
327322
uuid = "4e9b3aee-d8a1-5a3d-ad8b-7d824db253f0"
328323
version = "1.0.1+0"
329324

330-
[[deps.CSV]]
331-
deps = ["CodecZlib", "Dates", "FilePathsBase", "InlineStrings", "Mmap", "Parsers", "PooledArrays", "PrecompileTools", "SentinelArrays", "Tables", "Unicode", "WeakRefStrings", "WorkerUtilities"]
332-
git-tree-sha1 = "deddd8725e5e1cc49ee205a1964256043720a6c3"
333-
uuid = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
334-
version = "0.10.15"
335-
336325
[[deps.CUDA]]
337326
deps = ["AbstractFFTs", "Adapt", "BFloat16s", "CEnum", "CUDA_Driver_jll", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "Crayons", "DataFrames", "ExprTools", "GPUArrays", "GPUCompiler", "GPUToolbox", "KernelAbstractions", "LLVM", "LLVMLoopInfo", "LazyArtifacts", "Libdl", "LinearAlgebra", "Logging", "NVTX", "Preferences", "PrettyTables", "Printf", "Random", "Random123", "RandomNumbers", "Reexport", "Requires", "SparseArrays", "StaticArrays", "Statistics", "demumble_jll"]
338327
git-tree-sha1 = "ee44b6eaaf518e8001ed6ed1d08a04662d63a242"
@@ -455,15 +444,15 @@ uuid = "1ecacbb8-0713-4841-9a07-eb5aa8a2d53f"
455444
version = "0.2.13"
456445

457446
[[deps.ClimaLand]]
458-
deps = ["ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "SurfaceFluxes", "Thermodynamics"]
447+
deps = ["ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Downloads", "Flux", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "Statistics", "SurfaceFluxes", "Thermodynamics"]
459448
path = ".."
460449
uuid = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
461450
version = "0.15.14"
462-
weakdeps = ["BSON", "CSV", "ClimaParams", "DataFrames", "Flux", "HTTP", "StatsBase"]
451+
weakdeps = ["ClimaParams", "DataFrames"]
463452

464453
[deps.ClimaLand.extensions]
465454
CreateParametersExt = "ClimaParams"
466-
NeuralSnowExt = ["CSV", "DataFrames", "HTTP", "Flux", "StatsBase", "BSON"]
455+
NeuralSnowExt = ["DataFrames", "Statistics", "Downloads"]
467456

468457
[[deps.ClimaParams]]
469458
deps = ["TOML"]
@@ -708,9 +697,9 @@ version = "1.9.1"
708697

709698
[[deps.DiffEqBase]]
710699
deps = ["ArrayInterface", "ConcreteStructs", "DataStructures", "DocStringExtensions", "EnumX", "EnzymeCore", "FastBroadcast", "FastClosures", "FastPower", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "Logging", "Markdown", "MuladdMacro", "Parameters", "PrecompileTools", "Printf", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SciMLStructures", "Setfield", "Static", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "TruncatedStacktraces"]
711-
git-tree-sha1 = "aa2e1ba33d15245205e45ca87f1f9402cd26275c"
700+
git-tree-sha1 = "ae6f0576b4a99e1aab7fde7532efe7e47539b588"
712701
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
713-
version = "6.169.0"
702+
version = "6.170.1"
714703

715704
[deps.DiffEqBase.extensions]
716705
DiffEqBaseCUDAExt = "CUDA"
@@ -1056,9 +1045,9 @@ version = "0.8.5"
10561045

10571046
[[deps.Flux]]
10581047
deps = ["Adapt", "ChainRulesCore", "Compat", "EnzymeCore", "Functors", "LinearAlgebra", "MLDataDevices", "MLUtils", "MacroTools", "NNlib", "OneHotArrays", "Optimisers", "Preferences", "ProgressLogging", "Random", "Reexport", "Setfield", "SparseArrays", "SpecialFunctions", "Statistics", "Zygote"]
1059-
git-tree-sha1 = "40c77b726f127356110a3f0aa6e3ecd3ac14159b"
1048+
git-tree-sha1 = "49d213a90b159c74e9fc2b53162b5f699b6f3516"
10601049
uuid = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1061-
version = "0.15.2"
1050+
version = "0.16.3"
10621051

10631052
[deps.Flux.extensions]
10641053
FluxAMDGPUExt = "AMDGPU"
@@ -1464,9 +1453,9 @@ weakdeps = ["DiffRules", "ForwardDiff", "IntervalSets", "RecipesBase"]
14641453
IntervalArithmeticRecipesBaseExt = "RecipesBase"
14651454

14661455
[[deps.IntervalSets]]
1467-
git-tree-sha1 = "dba9ddf07f77f60450fe5d2e2beb9854d9a49bd0"
1456+
git-tree-sha1 = "5fbb102dcb8b1a858111ae81d56682376130517d"
14681457
uuid = "8197267c-284f-5f27-9208-e0e47529a953"
1469-
version = "0.7.10"
1458+
version = "0.7.11"
14701459
weakdeps = ["Random", "RecipesBase", "Statistics"]
14711460

14721461
[deps.IntervalSets.extensions]
@@ -2216,7 +2205,7 @@ version = "2.5.4+0"
22162205
[[deps.OpenLibm_jll]]
22172206
deps = ["Artifacts", "Libdl"]
22182207
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
2219-
version = "0.8.1+4"
2208+
version = "0.8.5+0"
22202209

22212210
[[deps.OpenMPI_jll]]
22222211
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Hwloc_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "MPIPreferences", "TOML", "Zlib_jll"]
@@ -3152,12 +3141,6 @@ git-tree-sha1 = "cea8abaa6e43f72f97a09cf95b80c9eb53ff75cf"
31523141
uuid = "409d34a3-91d5-4945-b6ec-7529ddf182d8"
31533142
version = "0.4.9"
31543143

3155-
[[deps.WeakRefStrings]]
3156-
deps = ["DataAPI", "InlineStrings", "Parsers"]
3157-
git-tree-sha1 = "b1be2855ed9ed8eac54e5caff2afcdb442d52c23"
3158-
uuid = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
3159-
version = "1.4.2"
3160-
31613144
[[deps.WebP]]
31623145
deps = ["CEnum", "ColorTypes", "FileIO", "FixedPointNumbers", "ImageCore", "libwebp_jll"]
31633146
git-tree-sha1 = "aa1ca3c47f119fbdae8770c29820e5e6119b83f2"
@@ -3170,11 +3153,6 @@ git-tree-sha1 = "c1a7aa6219628fcd757dede0ca95e245c5cd9511"
31703153
uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6"
31713154
version = "1.0.0"
31723155

3173-
[[deps.WorkerUtilities]]
3174-
git-tree-sha1 = "cd1659ba0d57b71a464a29e64dbc67cfe83d54e7"
3175-
uuid = "76eceee3-57b5-4d4a-8e66-0e911cebbf60"
3176-
version = "1.6.1"
3177-
31783156
[[deps.XML2_jll]]
31793157
deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Zlib_jll"]
31803158
git-tree-sha1 = "b8b243e47228b4a3877f1dd6aee0c5d56db7fcf4"
@@ -3247,17 +3225,19 @@ uuid = "3161d3a3-bdf6-5164-811a-617609db77b4"
32473225
version = "1.5.7+1"
32483226

32493227
[[deps.Zygote]]
3250-
deps = ["AbstractFFTs", "ChainRules", "ChainRulesCore", "DiffRules", "Distributed", "FillArrays", "ForwardDiff", "GPUArrays", "GPUArraysCore", "IRTools", "InteractiveUtils", "LinearAlgebra", "LogExpFunctions", "MacroTools", "NaNMath", "PrecompileTools", "Random", "Requires", "SparseArrays", "SpecialFunctions", "Statistics", "ZygoteRules"]
3251-
git-tree-sha1 = "3c73ed65f928f8602e9a30e93125b209133498a9"
3228+
deps = ["AbstractFFTs", "ChainRules", "ChainRulesCore", "DiffRules", "Distributed", "FillArrays", "ForwardDiff", "GPUArraysCore", "IRTools", "InteractiveUtils", "LinearAlgebra", "LogExpFunctions", "MacroTools", "NaNMath", "PrecompileTools", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "ZygoteRules"]
3229+
git-tree-sha1 = "207d714f3514b0d564e3a08f9e9f753bf6566c2d"
32523230
uuid = "e88e6eb3-aa80-5325-afca-941959d7151f"
3253-
version = "0.6.76"
3231+
version = "0.7.6"
32543232

32553233
[deps.Zygote.extensions]
3234+
ZygoteAtomExt = "Atom"
32563235
ZygoteColorsExt = "Colors"
32573236
ZygoteDistancesExt = "Distances"
32583237
ZygoteTrackerExt = "Tracker"
32593238

32603239
[deps.Zygote.weakdeps]
3240+
Atom = "c52e3926-4ff0-5f6e-af25-54175e0327b1"
32613241
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
32623242
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
32633243
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"

.buildkite/Project.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[deps]
22
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
4-
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
5-
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
64
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
75
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
86
ClimaAnalysis = "29b5916a-a76c-4e73-9657-3c8fd22e65e6"
@@ -18,6 +16,7 @@ ClimaUtilities = "b3f4f4ca-9299-4f7f-bd9b-81e1242a7513"
1816
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1917
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
2018
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
19+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
2120
EnsembleKalmanProcesses = "aa8a2aa5-91d8-4396-bcef-d4f2ec43552d"
2221
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
2322
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
@@ -38,17 +37,16 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
3837
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
3938
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
4039
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
41-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
4240
SurfaceFluxes = "49b00bb7-8bd4-4f2b-b78c-51cd0450215f"
4341
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
4442
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4543
Thermodynamics = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
4644

4745
[compat]
4846
ClimaAnalysis = "0.5.17"
49-
ClimaTimeSteppers = "0.7, 0.8"
50-
ClimaDiagnostics = "0.2.13"
5147
ClimaCalibrate = "0.0.15"
48+
ClimaDiagnostics = "0.2.13"
49+
ClimaTimeSteppers = "0.7, 0.8"
5250
EnsembleKalmanProcesses = "2.4.1"
53-
Flux = "0.15"
51+
Flux = "0.15, 0.16"
5452
Statistics = "1"

Artifacts.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,10 @@ git-tree-sha1 = "c35ba0e899040cb8153226ab751f69100f475d39"
185185
[[mizoguchi_soil_freezing_data.download]]
186186
sha256 = "0027cc080ba45ba33dc790b176ec2854353ce7dce4eae4bef72963b0dd944e0b"
187187
url = "https://caltech.box.com/shared/static/tn1bnqjmegyetw5kzd2ixq5pbnb05s3u.gz"
188+
189+
[snow_depth_model_weights]
190+
git-tree-sha1 = "2ff7c38faa5cefa82ed1298249445c10c33a7249"
191+
192+
[[snow_depth_model_weights.download]]
193+
sha256 = "8d3b59da970ef7bf1fb92d325947f632bb6f98ed0d79387adb20fbc9d8810bd9"
194+
url = "https://caltech.box.com/shared/static/miza4cec2b91qgn9kacqoiuqhd3obehd.gz"

Project.toml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,28 @@ ClimaDiagnostics = "1ecacbb8-0713-4841-9a07-eb5aa8a2d53f"
1010
ClimaUtilities = "b3f4f4ca-9299-4f7f-bd9b-81e1242a7513"
1111
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
1212
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
13+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
14+
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1315
Insolation = "e98cc03f-d57e-4e3c-b70c-8d51efe9e0d8"
1416
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
1517
LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
1618
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1719
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
1820
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1921
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
22+
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2023
SurfaceFluxes = "49b00bb7-8bd4-4f2b-b78c-51cd0450215f"
2124
Thermodynamics = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
2225

2326
[weakdeps]
24-
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
25-
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
2627
ClimaParams = "5c42b081-d73a-476f-9059-fd94b934656c"
2728
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
28-
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
29-
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
30-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
3129

3230
[extensions]
3331
CreateParametersExt = "ClimaParams"
34-
NeuralSnowExt = ["CSV", "DataFrames", "HTTP", "Flux", "StatsBase", "BSON"]
32+
NeuralSnowExt = ["DataFrames", "Statistics", "Downloads"]
3533

3634
[compat]
37-
BSON = "0.3.9"
38-
CSV = "0.10.14"
3935
ClimaComms = "0.6.2"
4036
ClimaCore = "0.14.23"
4137
ClimaDiagnostics = "0.2.10"
@@ -44,16 +40,16 @@ ClimaUtilities = "0.1.24"
4440
DataFrames = "1.4"
4541
Dates = "1"
4642
DocStringExtensions = "0.9"
43+
Downloads = "1.6.0"
4744
Flux = "0.15, 0.16"
48-
HTTP = "1.10"
4945
Insolation = "0.9.2"
5046
Interpolations = "0.15.1"
5147
LazyArtifacts = "1"
5248
LinearAlgebra = "1"
5349
NCDatasets = "0.14"
5450
SciMLBase = "2.53"
5551
StaticArrays = "1.6"
56-
StatsBase = "0.34"
52+
Statistics = "1.10"
5753
SurfaceFluxes = "0.11, 0.12"
5854
Thermodynamics = "0.12.4"
5955
julia = "1.10"

0 commit comments

Comments
 (0)