Skip to content

Regrid & NA values #263

@CaptainMiao123

Description

@CaptainMiao123

It all goes well using the newest version 1.10.3 of esd R package untill I regrid the NC file to some specific stations. It bothered me a lot since for a specific station location the regrid function of some NC file returns NA while others not.

       And my regrid code is like:

       gcm.can <- retrieve(file='pr_day_CanESM5_historical_r19i1p1f1_gn_18500101-20141231.nc',param="pr",
                  lon=c(89,105),lat=c(24,36),plot=TRUE)
       y<-regrid(gcm.can,is=list(lon=104.32,lat=28.49))
       
       gcm.bcc <- retrieve(file='pr_day_BCC-CSM2-MR_historical_r1i1p1f1_gn_19500101-19741231.nc',param="pr",
                  lon=c(89,105),lat=c(24,36),plot=TRUE)
       y<-regrid(gcm.bcc,is=list(lon=104.32,lat=28.49))

       There are other stations that found NA from other NC files. And I am not sure if my code usage is correct. Could you help me with this? 

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