Skip to content

Commit

Permalink
add & update dependencies & remove Pkg.Add calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jan 23, 2020
1 parent 4615f67 commit e58a45a
Show file tree
Hide file tree
Showing 8 changed files with 310 additions and 231 deletions.
434 changes: 217 additions & 217 deletions DataStructures/01_types.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion DataStructures/01_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using MeshArrays, Plots

# #### Select a pre-defined grid such as `LLC90`

mygrid=GridSpec("LLC90")
mygrid=GridSpec("LLC90","../inputs/")

# And download the pre-defined grid if needed

Expand Down
6 changes: 3 additions & 3 deletions DataStructures/06_nctiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand All @@ -69,13 +69,13 @@
" \"and contact point for user support.\" "
]
},
"execution_count": 2,
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"using Pkg; Pkg.add([\"NCTiles\",\"NCDatasets\",\"NetCDF\"])\n",
"#using Pkg; Pkg.add([\"NCTiles\",\"NCDatasets\",\"NetCDF\"])\n",
"using NCTiles,NCDatasets,NetCDF,MeshArrays\n",
"\n",
"# Set Paths\n",
Expand Down
2 changes: 1 addition & 1 deletion DataStructures/06_nctiles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ end
# Setting the paths and dimensions that will be used throughout this notebook.

# +
using Pkg; Pkg.add(["NCTiles","NCDatasets","NetCDF"])
#using Pkg; Pkg.add(["NCTiles","NCDatasets","NetCDF"])
using NCTiles,NCDatasets,NetCDF,MeshArrays

# Set Paths
Expand Down
81 changes: 78 additions & 3 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,24 @@
[[Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

[[BinDeps]]
deps = ["Compat", "Libdl", "SHA", "URIParser"]
git-tree-sha1 = "12093ca6cdd0ee547c39b1870e0c9c3f154d9ca9"
uuid = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
version = "0.8.10"

[[BinaryProvider]]
deps = ["Libdl", "SHA"]
git-tree-sha1 = "5b08ed6036d9d3f0ee6369410b830f8873d4024c"
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
version = "0.5.8"

[[CFTime]]
deps = ["Dates", "Printf"]
git-tree-sha1 = "90eddf050a4d4b35520f87b9ba82302643706a1e"
uuid = "179af706-886a-5703-950a-314cd64e0468"
version = "0.0.3"

[[CatViews]]
deps = ["Random", "Test"]
git-tree-sha1 = "23d1f1e10d4e24374112fcf800ac981d14a54b24"
Expand All @@ -27,6 +39,24 @@ git-tree-sha1 = "177d8b959d3c103a6d57574c38ee79c81059c31b"
uuid = "5ae59095-9a9b-59fe-a467-6f913c188581"
version = "0.11.2"

[[Compat]]
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
git-tree-sha1 = "ed2c4abadf84c53d9e58510b5fc48912c2336fbb"
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
version = "2.2.0"

[[Conda]]
deps = ["JSON", "VersionParsing"]
git-tree-sha1 = "9a11d428dcdc425072af4aea19ab1e8c3e01c032"
uuid = "8f4d0f93-b110-5947-807f-2305c1781a2d"
version = "1.3.0"

[[CondaBinDeps]]
deps = ["BinDeps", "Compat", "Conda", "Libdl"]
git-tree-sha1 = "3b868935adf4ce2115f5487e789553507739014c"
uuid = "a9693cdc-2bc8-5703-a9cd-1da358117377"
version = "0.1.0"

[[Contour]]
deps = ["LinearAlgebra", "StaticArrays", "Test"]
git-tree-sha1 = "b974e164358fea753ef853ce7bad97afec15bb80"
Expand All @@ -40,9 +70,9 @@ version = "1.1.0"

[[DataStructures]]
deps = ["InteractiveUtils", "OrderedCollections"]
git-tree-sha1 = "f784254f428fb8fd7ac15982e5862a38a44523d3"
git-tree-sha1 = "b7720de347734f4716d1815b00ce5664ed6bbfd4"
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
version = "0.17.7"
version = "0.17.9"

[[Dates]]
deps = ["Printf"]
Expand All @@ -67,6 +97,18 @@ git-tree-sha1 = "d14a6fa5890ea3a7e5dcab6811114f132fec2b4b"
uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
version = "0.6.1"

[[Formatting]]
deps = ["Printf"]
git-tree-sha1 = "a0c901c29c0e7c763342751c0a94211d56c0de5c"
uuid = "59287772-0a20-5a39-b81b-1366585eb4c0"
version = "0.4.1"

[[FortranFiles]]
deps = ["Compat"]
git-tree-sha1 = "261d0569724da4c9bd906586880a2ad0cc29c2a4"
uuid = "c58ffaec-ab22-586d-bfc5-781a99fd0b10"
version = "0.5.0"

[[GR]]
deps = ["Base64", "DelimitedFiles", "LinearAlgebra", "Printf", "Random", "Serialization", "Sockets", "Test"]
git-tree-sha1 = "c690c2ab22ac9ee323d9966deae61a089362b25c"
Expand Down Expand Up @@ -126,11 +168,29 @@ version = "0.4.3"
[[Mmap]]
uuid = "a63ad114-7e13-5084-954f-fe012c677804"

[[NCDatasets]]
deps = ["BinDeps", "CFTime", "Compat", "CondaBinDeps", "DataStructures", "Dates", "Libdl", "Missings", "Printf", "Random"]
git-tree-sha1 = "6c0398c68c2f1957a8368b8cc6c8f9ee98ad5738"
uuid = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
version = "0.9.5"

[[NCTiles]]
deps = ["Dates", "MeshArrays", "NCDatasets", "NetCDF", "Printf"]
git-tree-sha1 = "61acfd5c356703132faa7ace9f4191829edfc4ca"
uuid = "4c1fdd90-559f-11e9-1abf-07ceafc4ffc0"
version = "0.1.5"

[[NaNMath]]
git-tree-sha1 = "928b8ca9b2791081dc71a51c55347c27c618760f"
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
version = "0.3.3"

[[NetCDF]]
deps = ["BinDeps", "CondaBinDeps", "Formatting", "Libdl"]
git-tree-sha1 = "df78e4daf6148d9ca4657bfd44cb2c14d5cf7b05"
uuid = "30363a11-5582-574a-97bb-aa9a979735b9"
version = "0.8.2"

[[OrderedCollections]]
deps = ["Random", "Serialization", "Test"]
git-tree-sha1 = "c4c13474d23c60d20a67b217f1d7f22a40edf8f1"
Expand All @@ -144,7 +204,7 @@ uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "0.3.10"

[[Pkg]]
deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

[[PlotThemes]]
Expand Down Expand Up @@ -200,6 +260,10 @@ uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
[[Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"

[[SharedArrays]]
deps = ["Distributed", "Mmap", "Random", "Serialization"]
uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383"

[[Showoff]]
deps = ["Dates"]
git-tree-sha1 = "e032c9df551fb23c9f98ae1064de074111b7bc39"
Expand Down Expand Up @@ -239,9 +303,20 @@ version = "0.32.0"
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[URIParser]]
deps = ["Test", "Unicode"]
git-tree-sha1 = "6ddf8244220dfda2f17539fa8c9de20d6c575b69"
uuid = "30578b45-9adc-5946-b283-645ec420af67"
version = "0.4.0"

[[UUIDs]]
deps = ["Random", "SHA"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[[Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

[[VersionParsing]]
git-tree-sha1 = "80229be1f670524750d905f8fc8148e5a8c4537f"
uuid = "81def892-9a0e-5fdd-b105-ffc91e053289"
version = "1.2.0"
10 changes: 5 additions & 5 deletions OceanTransports/04_transports.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"using MeshArrays, Plots, Statistics\n",
"include(joinpath(dirname(pathof(MeshArrays)),\"Plots.jl\"))\n",
"\n",
"using Pkg; Pkg.add(\"FortranFiles\")\n",
"#using Pkg; Pkg.add(\"FortranFiles\")\n",
"using FortranFiles\n",
"include(\"prepare_transports.jl\")\n",
"\n",
Expand Down Expand Up @@ -6508,9 +6508,7 @@
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"lines_to_next_cell": 2
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -10072,7 +10070,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"lines_to_next_cell": 2
},
"outputs": [],
"source": []
}
Expand Down
2 changes: 1 addition & 1 deletion OceanTransports/04_transports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
using MeshArrays, Plots, Statistics
include(joinpath(dirname(pathof(MeshArrays)),"Plots.jl"))

using Pkg; Pkg.add("FortranFiles")
#using Pkg; Pkg.add("FortranFiles")
using FortranFiles
include("prepare_transports.jl")

Expand Down
4 changes: 4 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[deps]
FortranFiles = "c58ffaec-ab22-586d-bfc5-781a99fd0b10"
MeshArrays = "cb8c808f-1acf-59a3-9d2b-6e38d009f683"
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
NCTiles = "4c1fdd90-559f-11e9-1abf-07ceafc4ffc0"
NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

Expand Down

0 comments on commit e58a45a

Please sign in to comment.