Giter VIP home page Giter VIP logo

Comments (2)

mikejohnson51 avatar mikejohnson51 commented on May 31, 2024

Hi Max,

Thanks for this - these were a casualty of not having any tests written to catch changes in URL creation :).

As you suspected, it was the related dates being passed!

It should be fixed in 89cecf3.

library(raster)
#> Loading required package: sp
library(climateR)
#> Loading required package: AOI
#> Loading required package: leaflet

bcca = getBCCA(AOI = getAOI(state = 'CO'),
        param = 'tmax',
        model = 'inmcm4',
        scenario = 'rcp45',
        startDate = '2030-10-29',
        endDate = '2030-12-29')

names(bcca)
#> [1] "inmcm4_r1i1p1_tasmax"
message(paste("This stack has", nlayers(bcca[[1]]), "layers with XY dims:", nrow(bcca[[1]]), ncol(bcca[[1]])))
#> This stack has 62 layers with XY dims: 36 59


loca = getLOCA(getAOI(state = 'CO'),
        param = 'tmax',
        model = 'ACCESS1-0',
        scenario = 'rcp45',
        startDate = '2030-10-29',
        endDate = '2030-12-29')

names(loca)
#> [1] "ACCESS1-0_tmax"
message(paste("This stack has", nlayers(loca[[1]]), "layers with XY dims:", nrow(loca[[1]]), ncol(loca[[1]])))
#> This stack has 62 layers with XY dims: 68 115

Created on 2019-08-12 by the reprex package (v0.3.0)

Please let me know if it works for you. FYI, you may need to update AOI due to a new error catch that checks if requested domains are within the model domains.

Thanks again,

Mike

from climater.

mbjoseph avatar mbjoseph commented on May 31, 2024

Great - thank you @mikejohnson51! I'm getting the expected results now. 👍

from climater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.