From 261ff6461df63e102588835f88159ac74435afa4 Mon Sep 17 00:00:00 2001 From: Nathanael Wong Date: Fri, 23 Aug 2024 01:32:02 -0400 Subject: [PATCH] Some debugging, bump to v6.0.2 --- Project.toml | 2 +- src/georegions/read.jl | 2 +- src/landsea/landsea.jl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 6d8989f7..b5835e35 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GeoRegions" uuid = "b001f823-fa75-4bff-bf55-6610c8f3688a" authors = ["natgeo-wong "] -version = "6.0.1" +version = "6.0.2" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/georegions/read.jl b/src/georegions/read.jl index 90a6d6e5..e88503b0 100644 --- a/src/georegions/read.jl +++ b/src/georegions/read.jl @@ -115,7 +115,7 @@ function TiltRegion( name = replace(name," "=>"") name = replace(name,"-"=>" ") - N,S,E,W = getTiltShape(X,Y,ΔX,ΔY,θ) + N,S,E,W = getTiltBounds(X,Y,ΔX,ΔY,θ) is180,is360 = checkbounds(N,S,E,W) return TiltRegion{ST,FT}( diff --git a/src/landsea/landsea.jl b/src/landsea/landsea.jl index 9094f75d..93e91b1c 100644 --- a/src/landsea/landsea.jl +++ b/src/landsea/landsea.jl @@ -85,8 +85,8 @@ function getLandSea( tW = geo.W - (ceil(σlon*20*mulf)+1); if tW < -180; tW = -180 end if (tE - tW) > 360; tW = 0; tE = 360 end geo = RectRegion( - "TMP", "GLB", "Temporary GeoRegion", - [tN,tS,tE,tW], savegeo = false + "", "", "", + [tN,tS,tE,tW], save = false ) end @@ -178,7 +178,7 @@ function getLandSea( if (tE - tW) > 360; tW = 0; tE = 360 end geo = RectRegion( "TMP", "GLB", "Temporary GeoRegion", - [tN,tS,tE,tW], savegeo = false + [tN,tS,tE,tW], save = false ) end