Git Product home page Git Product logo

caliver's Issues

get_gfed4() does not run in RStudio, only in terminal

When I try to run the following test in RStudio, the process gets stuck

MonthlyBurnedAreas <- get_gfed4(start_date = "2003-01-01",  
                                end_date = "2003-01-31",
                                temporal_resolution = "monthly", 
                                varname = "BurnedArea")

If I try the same code in the terminal, everything works OK!

Tests for mask_crop_subset() generate warning/error

Tests for mask_crop_subset() generate the following warning/error:

attempt to apply non-function

According to the annotations in GH actions, this only happens in ubuntu and windows os.

Tests for get_perc_risk_index() are also affected as the function calls mask_crop_subset().

can't modify default fire season

Hi,

I have a question regarding the get_fire_season function. I just realized that adjusting the fire season, e. g. to a shorter period, does not return the shorter period. Instead the dataset is subsetted to the default fire season from April to October. Is this a mistake from my side or a bug?

cheers!
Julia

> #open file
> kfc <- brick("D:/RProjects/fwi/01_fastdata/KFC/fwi_KFC_1981010100_to_2010123100.nc")
> names(kfc) <- seq.Date(from = as.Date("1981-01-01"),
>                      to = as.Date("2010-12-31"),
>                      by = "day")
> dataDates <- as.Date(substr(names(kfc), 2, 11), format = "%Y.%m.%d") #create dates from layer name
> seasons <- get_fire_season(dates = dataDates,
>                            fss = as.Date("2012-04-01", format = "%Y-%m-%d"),
>                            fse = as.Date("2012-09-30", format = "%Y-%m-%d"),
>                            zone='north') #returns true false layer
> kfc_season <- kfc[[which(seasons==TRUE)]]
> seasonDates <- dataDates[which(seasons==TRUE)]

CRAN submission

Caliver is not yet on CRAN, a submission needs to be prepared.

Migrate CI

Travis-ci.org is shutting down. Will need to migrate CI from Travis to GitHub actions.

Data for 2019 or years going forward?

Hi all,

caliver is a wonderful package! It is proving extremely helpful for some projects.

I was wondering - is there any intent of the authors to provide 2019, 2020, or ongoing data? Or is caliver specifically for the original 1980โ€“2018 study period?

Thank you so much!

Appveyor build failing

I have tried to set up Appveyor but never managed to get it to work. This might be related to the cdo/netcdf installation on windows. Any help to sort this out would be greatly appreciated!

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.