Tabular Listings of GeoRegions
A list of GeoRegions and their basic properties can be called using the function tableGeoRegions()
, which lists all available GeoRegions, both predefined and custom/user-defined.
julia> using GeoRegions
julia> resetGeoRegions(allfiles=true)
[ Info: 2024-01-12T00:13:59.630 - GeoRegions.jl - Resetting both the master and custom lists of GeoRegions back to the default ┌ Warning: 2024-01-12T00:13:59.630 - GeoRegions.jl - Overwriting /home/runner/.julia/files/GeoRegions/rectlist.txt with original file in /home/runner/work/GeoRegions.jl/GeoRegions.jl/src/georegions/../../extra/rectlist.txt ... └ @ GeoRegions ~/work/GeoRegions.jl/GeoRegions.jl/src/georegions/read.jl:417 ┌ Warning: 2024-01-12T00:13:59.636 - GeoRegions.jl - Overwriting /home/runner/.julia/files/GeoRegions/polylist.txt with original file in /home/runner/work/GeoRegions.jl/GeoRegions.jl/src/georegions/../../extra/polylist.txt ... └ @ GeoRegions ~/work/GeoRegions.jl/GeoRegions.jl/src/georegions/read.jl:417 ┌ Warning: 2024-01-12T00:13:59.636 - GeoRegions.jl - Overwriting /home/runner/.julia/files/GeoRegions/giorgi.txt with original file in /home/runner/work/GeoRegions.jl/GeoRegions.jl/src/georegions/../../extra/giorgi.txt ... └ @ GeoRegions ~/work/GeoRegions.jl/GeoRegions.jl/src/georegions/read.jl:417 ┌ Warning: 2024-01-12T00:13:59.636 - GeoRegions.jl - Overwriting /home/runner/.julia/files/GeoRegions/srex.txt with original file in /home/runner/work/GeoRegions.jl/GeoRegions.jl/src/georegions/../../extra/srex.txt ... └ @ GeoRegions ~/work/GeoRegions.jl/GeoRegions.jl/src/georegions/read.jl:417 ┌ Warning: 2024-01-12T00:13:59.636 - GeoRegions.jl - Overwriting /home/runner/.julia/files/GeoRegions/ar6.txt with original file in /home/runner/work/GeoRegions.jl/GeoRegions.jl/src/georegions/../../extra/ar6.txt ... └ @ GeoRegions ~/work/GeoRegions.jl/GeoRegions.jl/src/georegions/read.jl:417
julia> tableGeoRegions(onlycustom=true)
----- ------------ ------- -------- -------------- ID Type Name Parent File ----- ------------ ------- -------- -------------- GLB RectRegion Globe GLB rectlist.txt ----- ------------ ------- -------- --------------
GeoRegions.tableGeoRegions
— MethodtableGeoRegions(; onlycustom::Bool) -> nothing
Display all available GeoRegions in tabular format.
Keyword Arguments
onlycustom
: If true, only custom, user-defined GeoRegions will be displayed. To show all available GeoRegions (including predefined GeoRegions), setonlycustom
tofalse
More specific lists of GeoRegions
Besides listing all available GeoRegions, it is also possible to list a variety of different specifications of GeoRegions with the tableGeoRegions()
function, as well as tableRectRegions()
and tablePolyRegions()
.
GeoRegions.tableRectRegions
— FunctiontableRectRegions(;
custom :: Bool = true,
giorgi :: Bool = false
) -> nothing
Display all available RectRegions in tabular format.
Keyword Arguments
custom
: If true, display custom user-defined GeoRegions. Default istrue
giorgi
: If true, display Giorgi predefined GeoRegions. Default isfalse
GeoRegions.tablePolyRegions
— FunctiontablePolyRegions(;
custom :: Bool = true,
srex :: Bool = false,
ar6 :: Bool = false
) -> nothing
Display all available PolyRegions in tabular format.
Keyword Arguments
custom
: If true, display custom user-defined GeoRegions. Default istrue
srex
: If true, display SREX predefined GeoRegions. Default isfalse
ar6
: If true, display IPCC AR6 predefined GeoRegions. Default isfalse
Listing GeoRegions inside a Custom File
Similarly, it is also possible to list the GeoRegions in custom files. The template for these files can be retrieved using the function templateGeoRegions()
GeoRegions.tableGeoRegions
— MethodtableGeoRegions(fname::AbstractString) -> nothing
Display all available GeoRegions in tabular format.
Keyword Arguments
onlycustom
: If true, only custom, user-defined GeoRegions will be displayed. To show all available GeoRegions (including predefined GeoRegions), setonlycustom
tofalse