Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODIS v6 vs. v6.1 #78

Open
stineb opened this issue Apr 2, 2024 · 0 comments
Open

MODIS v6 vs. v6.1 #78

stineb opened this issue Apr 2, 2024 · 0 comments

Comments

@stineb
Copy link
Contributor

stineb commented Apr 2, 2024

MODIS data is downloaded for FDK as:

    product <- "MCD15A2H"
    bands <- c(
      "Lai_500m",
      "LaiStdDev_500m",
      "FparStdDev_500m",
      "Fpar_500m",
      "FparLai_QC"
    )

    df_modis <- try(
      MODISTools::mt_subset(
        site_name = as.character(x['sitename']),
        lat = x['lat'],
        lon = x['lon'],
        product = product,
        band = bands,
        start = "2000-01-01",
        end = format(Sys.time(), "%Y-%m-%d"),
        km_lr = 1,
        km_ab = 1,
        internal = TRUE
      )
    )

Should make sure to download v6.1, not v6 (see here).

This is related to the issue on MODISTools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant