1

I am using ModelBuilder to perform inverse distance weighting. I would like to interpolate values using a point file with values for several unique dates - resulting in a raster dataset for each unique day. My data is in long format where each row has a value for each coordinate/date.

I have tried to create a model that performs the IDW on each unique day, using row iterator to iterate through each "date". It runs, but I don't think it's correct. Here is the model.

Model

This results in a raster dataset for each unique day. The problem is, each raster is identical. They should not be - the interpolated values should vary each day. Maybe I am using the wrong iterator.

Can you please suggest ways to get this to work?

Hornbydd
44.9k5 gold badges42 silver badges84 bronze badges
asked Dec 20, 2018 at 20:32
2
  • 1
    Welcome to GIS SE! As a new user, please be sure to take the short tour to learn about this site's focused Q&A format. Also please edit your question to elaborate on your output so far ("not quite working"), and how it doesn't meet your needs. Commented Dec 20, 2018 at 20:43
  • @Andy Thank you! I've edited my question to one specific issue I am running into. With the error message and my troubleshooting attempts. Commented Dec 21, 2018 at 1:41

1 Answer 1

1

It is a little confusing without seeing the data but I will assume your point layer o3_12days_v3 has a date field. In your iterator your group by field would be the date field so you can imagine that I_o3_12days_v3_date_id is a subset of points for a specific date being pulled out of o3_12days_v3. It is that green blob that needs to be the input into the IDW tool. This make sense as then the input is always changing with each iteration, at the moment you have only a static input but an iterator driving a loop that never feeds into the IDW tool.

Top tip is if you are going to ask these types of questions you need to provide an image and a sample of data along with your question as that is critical in helping people understand your question.

answered Dec 24, 2018 at 13:40
1
  • thank you for the suggestion! that worked! i connected the I_o3_12days_v3_date_id to the IDW tool and now have a dataset per day. Commented Jan 5, 2019 at 4:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.