Skip to content

Commit

Permalink
Rename geostatsimage -> image
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Nov 1, 2023
1 parent ea4fc37 commit 090d2fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GeoArtifacts"
uuid = "2a3f1dca-97a5-4513-bfd8-b69f0106a87e"
authors = ["Elias Carvalho <[email protected]> and contributors"]
version = "0.1.0"
version = "0.2.0"

[deps]
GADM = "a8dd9ffe-31dc-4cf5-a379-ea69100a8233"
Expand Down
4 changes: 3 additions & 1 deletion src/GeoArtifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ using GeoStatsImages
include("gadm.jl")
include("inmet.jl")

export GADM, INMET, GeoStatsImages
image(name) = geostatsimage(name)

export GADM, INMET

end
9 changes: 7 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ using Meshes
using Test

@testset "GeoArtifacts.jl" begin
# @testset "GADM" begin
@testset "GeoStatsImages.jl" begin
gtb = GeoArtifacts.image("Strebelle")
@test names(gtb) == ["facies", "geometry"]
end

# @testset "GADM.jl" begin
# gtb = GADM.get("SVN", depth=1, ϵ=0.04)
# @test length(gtb.geometry) == 12

Expand All @@ -14,7 +19,7 @@ using Test
# @test length(gtb.geometry) == 7
# end

@testset "INMET" begin
@testset "INMET.jl" begin
# automatic stations
gtb = INMET.stations()
@test all(isequal("Automatica"), gtb.TP_ESTACAO)
Expand Down

2 comments on commit 090d2fe

@juliohm
Copy link
Member Author

@juliohm juliohm commented on 090d2fe Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/94599

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.0 -m "<description of version>" 090d2fe5e2b8f624f1ccf064987f574784787c4a
git push origin v0.2.0

Please sign in to comment.