From 59e4e9a86073030a53efdb38973c480ee3528632 Mon Sep 17 00:00:00 2001 From: gaelforget Date: Wed, 27 Mar 2024 17:26:09 -0400 Subject: [PATCH 1/4] update deps --- Project.toml | 10 +++++----- docs/make.jl | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 324499a..52079bb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NCTiles" uuid = "4c1fdd90-559f-11e9-1abf-07ceafc4ffc0" authors = ["Gael Forget", "Lauren Milechin"] -version = "0.1.15" +version = "0.2.0" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" @@ -13,7 +13,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" [compat] -MeshArrays = "0.2" -NCDatasets = "0.9, 0.10, 0.11, 0.12" -NetCDF = "0.8, 0.9, 0.10, 0.11" -julia = "1.2" +MeshArrays = "0.3" +NCDatasets = "0.13, 0.14" +NetCDF = "0.11" +julia = "1.9" diff --git a/docs/make.jl b/docs/make.jl index 3a78a56..83abdbc 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -27,6 +27,7 @@ makedocs( ], "maindocs.md", "API.md"], + warnonly = [:cross_references,:missing_docs], modules = [NCTiles] ) From b9d2423abacc502ab79148148b77f411553b74d2 Mon Sep 17 00:00:00 2001 From: gaelforget Date: Wed, 27 Mar 2024 17:35:52 -0400 Subject: [PATCH 2/4] updates --- .github/workflows/ci.yml | 2 +- docs/Project.toml | 2 +- docs/src/index.md | 2 +- examples/ex_3.jl | 2 +- examples/ex_4.jl | 2 +- examples/helper_functions.jl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30ac34f..d207ed3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. + - '1.9' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. - '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia. os: - ubuntu-latest diff --git a/docs/Project.toml b/docs/Project.toml index 2188207..c8fd44f 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -2,7 +2,7 @@ ClimateBase = "35604d93-0fb8-4872-9436-495b01d137e2" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" -MITgcmTools = "62725fbc-3a66-4df3-9000-e33e85b3a198" +MITgcm = "dce5fa8e-68ce-4431-a242-9469c69627a0" MeshArrays = "cb8c808f-1acf-59a3-9d2b-6e38d009f683" NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab" NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9" diff --git a/docs/src/index.md b/docs/src/index.md index bb53daa..f3ed419 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -2,7 +2,7 @@ [NCTiles.jl](https://github.com/gaelforget/NCTiles.jl) mainly aims to make it easier to write (and read) [NetCDF](https://en.wikipedia.org/wiki/NetCDF) files that represent e.g. the whole Earth surface or a subdomain (`tiles`) based on the [CF conventions](http://cfconventions.org). -Goals of [NCTiles.jl](https://github.com/gaelforget/NCTiles.jl) include (1) inter-operability with climate model grids via [MeshArrays.jl](https://github.com/JuliaClimate/MeshArrays.jl), [MITgcmTools.jl](https://github.com/gaelforget/MITgcmTools.jl), and [ClimateModels.jl](https://github.com/gaelforget/ClimateModels.jl); (2) generation of [CF-compliant](http://cfconventions.org) files from suitable array formats. +Goals of [NCTiles.jl](https://github.com/gaelforget/NCTiles.jl) include (1) inter-operability with climate model grids via [MeshArrays.jl](https://github.com/JuliaClimate/MeshArrays.jl), [MITgcm.jl](https://github.com/gaelforget/MITgcm.jl), and [ClimateModels.jl](https://github.com/gaelforget/ClimateModels.jl); (2) generation of [CF-compliant](http://cfconventions.org) files from suitable array formats. ```@contents Pages = [ diff --git a/examples/ex_3.jl b/examples/ex_3.jl index 70c6060..8049e8c 100644 --- a/examples/ex_3.jl +++ b/examples/ex_3.jl @@ -1,4 +1,4 @@ -using NCTiles,NCDatasets,NetCDF,Dates,Printf,MITgcmTools +using NCTiles,NCDatasets,NetCDF,Dates,Printf,MITgcm examplesdir = joinpath("data","ex3") indir = joinpath(examplesdir,"data","cs510","diags_interp") diff --git a/examples/ex_4.jl b/examples/ex_4.jl index 2bf5307..bc26bdb 100644 --- a/examples/ex_4.jl +++ b/examples/ex_4.jl @@ -1,4 +1,4 @@ -using MeshArrays, NCDatasets, NCTiles, MITgcmTools,NetCDF +using MeshArrays, NCDatasets, NCTiles, MITgcm,NetCDF exampledir = joinpath("data","ex4") diff --git a/examples/helper_functions.jl b/examples/helper_functions.jl index 480bc79..71237f8 100644 --- a/examples/helper_functions.jl +++ b/examples/helper_functions.jl @@ -1,4 +1,4 @@ -using MeshArrays, MITgcmTools +using MeshArrays, MITgcm # this is needed cause writeNetCDFtiles uses `name` etc """ From 38b2a58d72c6c3e952f9fe28dc72d66fbddc19df Mon Sep 17 00:00:00 2001 From: gaelforget Date: Wed, 27 Mar 2024 18:16:31 -0400 Subject: [PATCH 3/4] add compat for docs --- docs/Project.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Project.toml b/docs/Project.toml index c8fd44f..e6740ed 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -7,3 +7,8 @@ MeshArrays = "cb8c808f-1acf-59a3-9d2b-6e38d009f683" NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab" NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" + +[compat] +ClimateBase = "0.17" +NCDatasets = "0.12, 0.13, 0.14" + From 02db36b62e4da486f9086997c98625e3db05396f Mon Sep 17 00:00:00 2001 From: gaelforget Date: Wed, 27 Mar 2024 18:19:51 -0400 Subject: [PATCH 4/4] looser compat --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 52079bb..536a260 100644 --- a/Project.toml +++ b/Project.toml @@ -14,6 +14,6 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" [compat] MeshArrays = "0.3" -NCDatasets = "0.13, 0.14" +NCDatasets = "0.12, 0.13, 0.14" NetCDF = "0.11" julia = "1.9"