anthirini

Trying to write data in an ascii file

Discussion created by anthirini on Oct 26, 2012
Latest reply on Nov 1, 2012 by anthirini
Dear all,

I have written some Python code.

In this code I am separately reading the cell values from two grid files (cell by cell) and according to several scenarios (concerning the cell values), a parameter "D" is calculated for every grid cell. I need to save (write) the calculated "D" values in an ascii file, keeping the initial format of the grid files, in order to subsequently create a grid file of the calculated "D" values.

Can you help me???

Thank you in advance!!!

I should mention here that the two grid files have the same dimensions a x a.

Outcomes