Giter VIP home page Giter VIP logo

Comments (5)

mikejohnson51 avatar mikejohnson51 commented on May 31, 2024

Hi, Thank you for the comment! This was a recent change (I am actually not sure when it occurred) in some of the THREDDS servers related to the in the orientation of the X and Y variables of the datasets. In the first round of climateR I looked at these and hard coded the results. Needless to say this was a bad idea since a few have since changed. By the end of the week I hope to have a generalized solution up in the package!

Thank you again and hope the package is useful (when the data is correct of course :))

from climater.

mhscott-usgs avatar mhscott-usgs commented on May 31, 2024

Ok great, thank you very much! I anticipate the package will certainly be useful.

from climater.

mikejohnson51 avatar mikejohnson51 commented on May 31, 2024

I can confirm the change is coming 👍 I can mimic your results with the GItHuv Install, and get this with the new version:

library(climateR)
library(raster)
#> Warning: package 'raster' was built under R version 4.0.2
#> Loading required package: sp
library(sf)
#> Warning: package 'sf' was built under R version 4.0.2
#> Linking to GEOS 3.8.1, GDAL 3.1.1, PROJ 6.3.1
library(AOI)

AOI = aoi_get(state = "MN")
p = getGridMET(AOI, param = 'tmax', startDate = "2018-11-20")

plot(p$tmax) 
plot(st_transform(AOI$geometry, st_crs(p$tmax)), add = TRUE, lwd = 3)

AOI = aoi_get(state = "FL")
p = getGridMET(AOI, param = 'tmax', startDate = "2018-11-20")

plot(p$tmax) 
plot(st_transform(AOI$geometry, st_crs(p$tmax)), add = TRUE, lwd = 3)

Created on 2020-10-07 by the reprex package (v0.3.0)

from climater.

mhscott-usgs avatar mhscott-usgs commented on May 31, 2024

Hi, I wanted to check in and ask whether the package had been updated yet? I tried reinstalling it a few days ago but was still getting the same results as before. Thanks!

from climater.

mikejohnson51 avatar mikejohnson51 commented on May 31, 2024

Hi @mhscott129 this should all be pushed in the new version 0.0.3. Hope it helps!

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.