Search Results

Search: Posts Made By: mattings
2,834
Posted By mattings
Perfect! This works great! Thanks a lot! ...
Perfect! This works great!

Thanks a lot!

Rune
2,834
Posted By mattings
Interpolating on a line between to points
I have two points which represent the start and end points of a line. I need to interpolate a number of points on the line between the two points.

Point 1:
x = 455989.0
y = 8673453.4

Point...
6,769
Posted By mattings
It still didn't work quite as I wanted it to. ...
It still didn't work quite as I wanted it to.

Anyway, I managed to get a friend to write a python code which solved the problem. If anyone is interested the code is included:
#!/usr/bin/python...
6,769
Posted By mattings
This did not produce quite the result I'm looking...
This did not produce quite the result I'm looking for.

To make it a bit easier to understand my problem, I've included a simple example below:

Original dataset stored in rows of six columns...
6,769
Posted By mattings
Yes, I'm sure the real rows consists of 1977...
Yes, I'm sure the real rows consists of 1977 numbers. The header looks like this:

NCOLS 1977
NROWS 1253
XLLCORNER 554650.000000
YLLCORNER 8040950.000000
CELLSIZE 25
NODATA_VALUE...
6,769
Posted By mattings
Yes, your solution works well for the simplified...
Yes, your solution works well for the simplified dataset i provided. Thanks.

However, after I tried it on one of my real datasets (10s of MBs of numbers) it turned out I actually need a more...
6,769
Posted By mattings
This code does exactly the job I was looking for....
This code does exactly the job I was looking for. Thanks a lot!
But I noticed a little problem when I tried it on one of my datafiles.

The datafile looks simplified as:
01 02 03 04 05 06
07 08...
6,769
Posted By mattings
Reversing numbers in a datafile of rows and columns
Hello,

I've tried searching the forum for an answer to my question, but without any luck...

I have a datafile looking simplified as follows:
01 02 03 04 05 06
07 08 09 10 11 12
13 14 15 16...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy