Skip to content

Error while using R to access the API #40

@ymutua

Description

@ymutua

I just followed the example provided in the package to access daily data, see below.

library(nasapower)
daily_single_ag <- get_power(community = "AG",
                             lonlat = c(151.81, -27.48),
                             pars = c("RH2M", "T2M", "PRECTOT"),
                             dates = c("1985-01-01", "1985-01-31"),
                             temporal_average = "DAILY"
)

daily_single_ag

It through the error below

Error: 
Something went wrong with the query, no data were returned. Please see <https://power.larc.nasa.gov> for potential server issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions