EcoJulia / RasterDataSources.jl

Easily download and use raster data sets in Julia
MIT License
21 stars 10 forks source link

GeoData tests failing and not included in runtests #12

Closed jamesmaino closed 3 years ago

jamesmaino commented 3 years ago

Also not sure series is being exported from GeoData.

using GeoData, RasterDataSources, Test, Dates, NCDatasets, ArchGDAL

    # Weather time-series
    ser = series(WorldClim{Climate}, (:prec,); res="10m", month=Jan:March)
    ser[Jan][:prec] 
    # Select Australia, using regular lat/lon selectors
    A = geoarray(WorldClim{Climate}, :prec; month=1, mappedcrs=EPSG(4326))
    A[Lat(Between(-10, -45)), Lon(Between(110, 160))]
    st = stack(WorldClim{BioClim}, (1, 2))
    st[:BIO1]
    @test st isa DiskStack
    @test A isa GDALarray
GeoData.series
ERROR: UndefVarError: series not defined