Trying to make a function for suitability #658
Unanswered
annaposlednik
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@eculler can you help with this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I have a bunch of data arrays which all start with one of my two site names. I was wondering if there's a way to create a function where I tell the function what site and year I want and for it to multiply across the respective data arrays. This is what I have so far, but I know its not right and I'm not sure if this is even possible to do. Any insights would be greatly appreciated!
def suitability(site, year):
"""
This function uses fuzzy logic to calculate the habitat suitability for Indiangrass
by multiplying together pixels of elevation, slope, soil pH, and precipitation.
Beta Was this translation helpful? Give feedback.
All reactions