Skip to content

Commit b91ffcd

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

31 files changed

+1717
-736
lines changed

.buildkite/Manifest-v1.11.toml

Lines changed: 24 additions & 56 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 = "bd252a5b583cc001edfcddca9eefc0b370db099d"
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"
@@ -280,8 +275,10 @@ version = "0.1.6"
280275
[[deps.BlockArrays]]
281276
deps = ["ArrayLayouts", "FillArrays", "LinearAlgebra"]
282277
git-tree-sha1 = "be56ef2fb72f89e251af9b38136897d57fbdb211"
278+
git-tree-sha1 = "be56ef2fb72f89e251af9b38136897d57fbdb211"
283279
uuid = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
284280
version = "1.6.2"
281+
version = "1.6.2"
285282
weakdeps = ["Adapt", "BandedMatrices"]
286283

287284
[deps.BlockArrays.extensions]
@@ -327,12 +324,6 @@ git-tree-sha1 = "e329286945d0cfc04456972ea732551869af1cfc"
327324
uuid = "4e9b3aee-d8a1-5a3d-ad8b-7d824db253f0"
328325
version = "1.0.1+0"
329326

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-
336327
[[deps.CUDA]]
337328
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"]
338329
git-tree-sha1 = "ee44b6eaaf518e8001ed6ed1d08a04662d63a242"
@@ -400,8 +391,10 @@ weakdeps = ["SparseArrays"]
400391
[[deps.ClimaAnalysis]]
401392
deps = ["Artifacts", "Dates", "Interpolations", "NCDatasets", "NaNStatistics", "OrderedCollections", "Reexport", "Statistics", "Unitful"]
402393
git-tree-sha1 = "810e7bf67726ab1a3a3d7fc25fc5e07ff35b2f8e"
394+
git-tree-sha1 = "810e7bf67726ab1a3a3d7fc25fc5e07ff35b2f8e"
403395
uuid = "29b5916a-a76c-4e73-9657-3c8fd22e65e6"
404396
version = "0.5.17"
397+
version = "0.5.17"
405398
weakdeps = ["GeoMakie", "Makie"]
406399

407400
[deps.ClimaAnalysis.extensions]
@@ -434,8 +427,10 @@ weakdeps = ["CUDA", "MPI"]
434427
[[deps.ClimaCore]]
435428
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LazyBroadcast", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "UnrolledUtilities"]
436429
git-tree-sha1 = "caab12f8e366b120c31d07fd36305aea3af22c00"
430+
git-tree-sha1 = "caab12f8e366b120c31d07fd36305aea3af22c00"
437431
uuid = "d414da3d-4745-48bb-8d80-42e94e092884"
438432
version = "0.14.31"
433+
version = "0.14.31"
439434
weakdeps = ["CUDA", "Krylov"]
440435

441436
[deps.ClimaCore.extensions]
@@ -455,15 +450,15 @@ uuid = "1ecacbb8-0713-4841-9a07-eb5aa8a2d53f"
455450
version = "0.2.13"
456451

457452
[[deps.ClimaLand]]
458-
deps = ["ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "SurfaceFluxes", "Thermodynamics"]
453+
deps = ["ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Downloads", "Flux", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "Statistics", "SurfaceFluxes", "Thermodynamics"]
459454
path = ".."
460455
uuid = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
461456
version = "0.15.14"
462-
weakdeps = ["BSON", "CSV", "ClimaParams", "DataFrames", "Flux", "HTTP", "StatsBase"]
457+
weakdeps = ["ClimaParams", "DataFrames"]
463458

464459
[deps.ClimaLand.extensions]
465460
CreateParametersExt = "ClimaParams"
466-
NeuralSnowExt = ["CSV", "DataFrames", "HTTP", "Flux", "StatsBase", "BSON"]
461+
NeuralSnowExt = ["DataFrames", "Statistics", "Downloads"]
467462

468463
[[deps.ClimaParams]]
469464
deps = ["TOML"]
@@ -551,8 +546,10 @@ weakdeps = ["SpecialFunctions"]
551546
[[deps.Colors]]
552547
deps = ["ColorTypes", "FixedPointNumbers", "Reexport"]
553548
git-tree-sha1 = "64e15186f0aa277e174aa81798f7eb8598e0157e"
549+
git-tree-sha1 = "64e15186f0aa277e174aa81798f7eb8598e0157e"
554550
uuid = "5ae59095-9a9b-59fe-a467-6f913c188581"
555551
version = "0.13.0"
552+
version = "0.13.0"
556553

557554
[[deps.CommonDataModel]]
558555
deps = ["CFTime", "DataStructures", "Dates", "Preferences", "Printf", "Statistics"]
@@ -708,9 +705,9 @@ version = "1.9.1"
708705

709706
[[deps.DiffEqBase]]
710707
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"
708+
git-tree-sha1 = "0a36ac0631d275a43d53ee973cbf51c92140ac5d"
712709
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
713-
version = "6.169.0"
710+
version = "6.169.1"
714711

715712
[deps.DiffEqBase.extensions]
716713
DiffEqBaseCUDAExt = "CUDA"
@@ -1056,9 +1053,9 @@ version = "0.8.5"
10561053

10571054
[[deps.Flux]]
10581055
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"
1056+
git-tree-sha1 = "49d213a90b159c74e9fc2b53162b5f699b6f3516"
10601057
uuid = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1061-
version = "0.15.2"
1058+
version = "0.16.3"
10621059

10631060
[deps.Flux.extensions]
10641061
FluxAMDGPUExt = "AMDGPU"
@@ -2216,7 +2213,7 @@ version = "2.5.4+0"
22162213
[[deps.OpenLibm_jll]]
22172214
deps = ["Artifacts", "Libdl"]
22182215
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
2219-
version = "0.8.1+4"
2216+
version = "0.8.5+0"
22202217

22212218
[[deps.OpenMPI_jll]]
22222219
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Hwloc_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "MPIPreferences", "TOML", "Zlib_jll"]
@@ -2600,27 +2597,7 @@ version = "0.2.1"
26002597
deps = ["ExprTools", "SHA", "Serialization"]
26012598
git-tree-sha1 = "7cb9d10026d630ce2dd2a1fc6006a3d5041b34c0"
26022599
uuid = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47"
2603-
version = "0.5.14"
2604-
2605-
[[deps.SCS]]
2606-
deps = ["MathOptInterface", "PrecompileTools", "SCS_jll", "SparseArrays"]
2607-
git-tree-sha1 = "4aed85dec0209d638c241c34160999eaaf07965a"
2608-
uuid = "c946c3f1-0d1f-5ce8-9dea-7daa1f7e2d13"
2609-
version = "2.1.0"
2610-
2611-
[deps.SCS.extensions]
2612-
SCSSCS_GPU_jllExt = ["SCS_GPU_jll"]
2613-
SCSSCS_MKL_jllExt = ["SCS_MKL_jll"]
2614-
2615-
[deps.SCS.weakdeps]
2616-
SCS_GPU_jll = "af6e375f-46ec-5fa0-b791-491b0dfa44a4"
2617-
SCS_MKL_jll = "3f2553a9-4106-52be-b7dd-865123654657"
2618-
2619-
[[deps.SCS_jll]]
2620-
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "LLVMOpenMP_jll", "Libdl", "OpenBLAS32_jll"]
2621-
git-tree-sha1 = "902cc4e42ecca21bbd74babf899b2a5b12add323"
2622-
uuid = "f4f2fc5b-1d94-523c-97ea-2ab488bedf4b"
2623-
version = "3.2.7+0"
2600+
version = "0.5.13"
26242601

26252602
[[deps.SHA]]
26262603
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
@@ -3152,12 +3129,6 @@ git-tree-sha1 = "cea8abaa6e43f72f97a09cf95b80c9eb53ff75cf"
31523129
uuid = "409d34a3-91d5-4945-b6ec-7529ddf182d8"
31533130
version = "0.4.9"
31543131

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-
31613132
[[deps.WebP]]
31623133
deps = ["CEnum", "ColorTypes", "FileIO", "FixedPointNumbers", "ImageCore", "libwebp_jll"]
31633134
git-tree-sha1 = "aa1ca3c47f119fbdae8770c29820e5e6119b83f2"
@@ -3170,11 +3141,6 @@ git-tree-sha1 = "c1a7aa6219628fcd757dede0ca95e245c5cd9511"
31703141
uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6"
31713142
version = "1.0.0"
31723143

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

32493215
[[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"
3216+
deps = ["AbstractFFTs", "ChainRules", "ChainRulesCore", "DiffRules", "Distributed", "FillArrays", "ForwardDiff", "GPUArraysCore", "IRTools", "InteractiveUtils", "LinearAlgebra", "LogExpFunctions", "MacroTools", "NaNMath", "PrecompileTools", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "ZygoteRules"]
3217+
git-tree-sha1 = "207d714f3514b0d564e3a08f9e9f753bf6566c2d"
32523218
uuid = "e88e6eb3-aa80-5325-afca-941959d7151f"
3253-
version = "0.6.76"
3219+
version = "0.7.6"
32543220

32553221
[deps.Zygote.extensions]
3222+
ZygoteAtomExt = "Atom"
32563223
ZygoteColorsExt = "Colors"
32573224
ZygoteDistancesExt = "Distances"
32583225
ZygoteTrackerExt = "Tracker"
32593226

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

.buildkite/Project.toml

Lines changed: 2 additions & 8 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,7 +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"
21-
EnsembleKalmanProcesses = "aa8a2aa5-91d8-4396-bcef-d4f2ec43552d"
19+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
2220
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
2321
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
2422
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
@@ -38,7 +36,6 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
3836
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
3937
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
4038
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
41-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
4239
SurfaceFluxes = "49b00bb7-8bd4-4f2b-b78c-51cd0450215f"
4340
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
4441
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
@@ -47,8 +44,5 @@ Thermodynamics = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
4744
[compat]
4845
ClimaAnalysis = "0.5.17"
4946
ClimaTimeSteppers = "0.7, 0.8"
50-
ClimaDiagnostics = "0.2.13"
51-
ClimaCalibrate = "0.0.15"
52-
EnsembleKalmanProcesses = "2.4.1"
53-
Flux = "0.15"
47+
Flux = "0.15, 0.16"
5448
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)