Skip to content

Commit 0380057

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

31 files changed

+1757
-742
lines changed

.buildkite/Manifest-v1.11.toml

Lines changed: 64 additions & 66 deletions
Large diffs are not rendered by default.

.buildkite/Project.toml

Lines changed: 2 additions & 4 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"
@@ -17,6 +15,7 @@ ClimaUtilities = "b3f4f4ca-9299-4f7f-bd9b-81e1242a7513"
1715
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1816
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
1917
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
18+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
2019
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
2120
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
2221
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
@@ -36,13 +35,12 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
3635
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
3736
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
3837
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
39-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
4038
SurfaceFluxes = "49b00bb7-8bd4-4f2b-b78c-51cd0450215f"
4139
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4240
Thermodynamics = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
4341

4442
[compat]
4543
ClimaAnalysis = "0.5.16"
4644
ClimaTimeSteppers = "0.7, 0.8"
47-
Flux = "0.15"
45+
Flux = "0.15, 0.16"
4846
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)