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

Error in metric.EB and calcAnchors #49

Open
nasreen11 opened this issue Mar 11, 2020 · 0 comments
Open

Error in metric.EB and calcAnchors #49

nasreen11 opened this issue Mar 11, 2020 · 0 comments

Comments

@nasreen11
Copy link

Hello
I am trying to use your water toolbox and metric code for Landsat 8. I am using the following command
Energy.Balance <- METRIC.EB(image.DN = image, image.SR = image.SR,

  •                         plain=TRUE, n = 1, WeatherStation = WeatherStation, 
    
  •                         ETp.coef = 1.2, sat="L8", alb.coeff = "Olmedo", LST.method = "SW", 
    
  •                         LAI.method = "metric2010", Z.om.ws = 0.03,  anchors.method = "flexible", MTL = MTLfile)
    

But it is showing the following error message.

Error in .local(x, ...) :
RasterLayer has no NA cells (for which to compute a distance)

I also tried the advanced option but it also shows the same errors while calculating hot and cold pixels using calcAnchors although I could calculate G and Rn. Can anyone help me??

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