NAME

sep_put_grid_window - write a window of the grid


SYNOPSIS

int sep_put_grid_window(tag_history,n_dim_grid,n_grid,n_wind,f_wind,j_wind,header_numbers)


INPUT PARAMETER

char* - tag_history
        tag of History File
int* - n_dim_grid
        Number of Dimensions in the Grid Cube
int* - n_grid
        vector of lenght n_dim_grid-1 length of the axes in the Grid Cube
int* - n_wind
        vector of length n_dim_grid axes length after windowing
int* - f_wind
        vector of length n_dim_grid-1 index of first elements (0<= o < n)
int* - j_wind
        vector of length n_dim_grid-1 sampling rate along axes (1<= j < n)
int* - header_numbers
        array containing Header Record Numbes of dimensions
        n_wind[0],n_wind[1],..n_wind[n_dim_grid-2]


RETURN VALUE

 -2=if the values in n_wind, f_wind, j_wind are incorrect
 -1=if fails for other reasons
 0=if successful
 +1=if tag_history is a Sep77 History File but has no GFF file


DESCRIPTION

   Writes gridding information.


COMMENTS

   Thes routines are based on the sep_window routine that it is the kernel
   of the new sreed_window and srite_window routines.
   ATTENTION: Since the first dimension of the grid is the first axis
              of the data record only the parameter for dimensions >=2
              are specified in n_wind,f_wind,d_wind.


SEE ALSO

the sep_get_grid_window manpage


LIBRARY

sep3d