I have 3 numpy arrays, one is lat, lon and values. I want to write it as a raster file. I know there is a very similar case answered here

But the lat lon is not evenly spaced as the reference. rather the lat lon are unevenly distributed, which does not form a rectangular shape, rather it forms a parallelogram. Is there any way to write it as a rater file?

For example



I have tried to create a grid using the lat lon by interpolation, but what do I do with the values? I am not supposed to change the values of the raster.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.