How to create a grid file


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to create a grid file
Prev   Next
# 1  
Old 07-12-2005
Error How to create a grid file

Hi everybody:
I want to create a grid file for export to statistical program.
My aid is create a file with both rows, one row are x coordenates and other for y coordenates.
All grid obviousolly are same space.
the form that i want is this:

x=(400000 ........ 600000) and y=(4000000 ....... 4550000), the increment is 10000 and then appear a matrix like:

(600000,4550000)----------------(800000, 4550000)
. .
. .
. .
(600000,4000000)----------------(800000, 4000000)

The statistical program read the file for rows.
It's possible do it with awk, or it's better do it with other language.? Smilie
Thanks in advance.
tonet
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Awk getting statistics of a grid file,

Hi , I have the following file which is basically a grid (has more than 100000 rows) LLL1 PPP1 LLL1 PPP2 LLL1 PPP3 ............... LLL1 5500 ..... LLL2 PPP1 LLL2 PPP2 LLL2 PPP3 ............... LLL1 5500 ..... L100 PPP1 L100 PPP2 L100 PPP3 ............... 2100 5500... (6 Replies)
Discussion started by: alex2005
6 Replies

2. High Performance Computing

Alternative to Sun Grid Engine

Does anybody know of a good alternative to Sun Grid Engine? It seems that Oracle is now charging for this software. I am running a HPC cluster that has Solaris 10 machines and I am adding some nodes that will be running Ubuntu 10.04, eventually the Solaris machines will be migrating to Ubuntu. (0 Replies)
Discussion started by: ccj4467
0 Replies

3. High Performance Computing

how to do GRID COMPUTING?

Hello, I want to know how to combine the processing power of given 2 FEDORA machines in LAN. Can you please tell me the commands,etc used to perform such an operations.Can you please give me the links where I can find more info on this topic. (5 Replies)
Discussion started by: nsharath
5 Replies

4. High Performance Computing

Grid vs. Parallel vs. Distributed

Hello all, I was wondering if someone could either explain or maybe point me to another article somewhere that explains the difference between: distributed computing grid computing parallel computing I see these terms thrown around a lot in server and cluster environments, but I'd like a... (2 Replies)
Discussion started by: Heathe_Kyle
2 Replies

5. AIX

GRID containers technology

Hi forum, I am aware that on Hp-Superdome technology (Blade Servers) is avaliable while on Solaris GRID technology is the latest in the market. I would like to know if similar high end technology is also available for AIX ? (1 Reply)
Discussion started by: dheram
1 Replies

6. Shell Programming and Scripting

Python tkinter grid problem?

There seems to be some problem with the grid geometry manager, or maybe its just my syntax thats incorrect. Im using Python 2.3.4. My problem is that even when I use the sticky='news' option in any grid method, it just doesnt work period. For example, the following code gives be a window with a... (0 Replies)
Discussion started by: SRCoder!
0 Replies
Login or Register to Ask a Question
GLMAPGRID(3G)															     GLMAPGRID(3G)

NAME
glMapGrid1d, glMapGrid1f, glMapGrid2d, glMapGrid2f - define a one- or two-dimensional mesh C SPECIFICATION
void glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) void glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) void glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) void glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) PARAMETERS
un Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. u1, u2 Specify the mappings for integer grid domain values i=0 and i=un. vn Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). v1, v2 Specify the mappings for integer grid domain values j=0 and j=vn (glMapGrid2 only). DESCRIPTION
glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the integer domain of a one- or two-dimensional grid, whose range is the domain of the evaluation maps specified by glMap1 and glMap2. glMapGrid1 and glMapGrid2 specify the linear grid mappings between the i (or i and j) integer grid coordinates, to the u (or u and v) floating-point evaluation map coordinates. See glMap1 and glMap2 for details of how u and v coordinates are evaluated. glMapGrid1 specifies a single linear mapping such that integer grid coordinate 0 maps exactly to u1, and integer grid coordinate un maps exactly to u2. All other integer grid coordinates i are mapped so that u = i(u2-u1)/un+u1 glMapGrid2 specifies two such linear mappings. One maps integer grid coordinate i=0 exactly to u1, and integer grid coordinate i=un exactly to u2. The other maps integer grid coordinate j=0 exactly to v1, and integer grid coordinate j=vn exactly to v2. Other integer grid coordinates i and j are mapped such that u = i(u2-u1)/(un+u1) v = j(v2-v1)/(vn+v1) The mappings specified by glMapGrid are used identically by glEvalMesh and glEvalPoint. ERRORS
GL_INVALID_VALUE is generated if either un or vn is not positive. GL_INVALID_OPERATION is generated if glMapGrid is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_MAP1_GRID_DOMAIN glGet with argument GL_MAP2_GRID_DOMAIN glGet with argument GL_MAP1_GRID_SEGMENTS glGet with argument GL_MAP2_GRID_SEGMENTS SEE ALSO
glEvalCoord, glEvalMesh, glEvalPoint, glMap1, glMap2 GLMAPGRID(3G)