YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
grid_file_common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void write_dummy_scrip_grid_file_ext (char *grid_name, char *grid_filename, char *mask_filename, size_t num_corners, size_t num_lon, size_t num_lat, double lon_range[2], double lat_range[2], size_t invalid_cell_stride)
 
void write_dummy_mpiom_grid_file (char *grid_filename, size_t num_x, size_t num_y, double lon_range[2], double lat_range[2], int mask_ndims)
 

Function Documentation

◆ write_dummy_mpiom_grid_file()

void write_dummy_mpiom_grid_file ( char * grid_filename,
size_t num_x,
size_t num_y,
double lon_range[2],
double lat_range[2],
int mask_ndims )

Writes a dummy MPIOM grid file.

Parameters
[in]grid_filenamename of the grid file to be written
[in]num_xnumber of grid points in x-direction
[in]num_ynumber of grid points in y-direction
[in]lon_rangelongitude range (min, max) in degree
[in]lat_rangelatitude range (min, max) in degree
[in]mask_ndimsnumber of dimensions of the mask variable (3 or 4)

Definition at line 668 of file grid_file_common.c.

Here is the call graph for this function:

◆ write_dummy_scrip_grid_file_ext()

void write_dummy_scrip_grid_file_ext ( char * grid_name,
char * grid_filename,
char * mask_filename,
size_t num_corners,
size_t num_lon,
size_t num_lat,
double lon_range[2],
double lat_range[2],
size_t invalid_cell_stride )

Writes a dummy SCRIP grid file and an associated mask file.

Parameters
[in]grid_namename of the grid
[in]grid_filenamename of the grid file to be written
[in]mask_filenamename of the mask file to be written
[in]num_cornersnumber of corners per cell (0 writes a grid without corners); corners beyond the four lon-lat corners are placed on the edge that closes the cell
[in]num_lonnumber of longitude points
[in]num_latnumber of latitude points
[in]lon_rangelongitude range (min, max) in degree
[in]lat_rangelatitude range (min, max) in degree
[in]invalid_cell_strideevery invalid_cell_stride-th cell is masked out (0 masks out no cell)

Definition at line 456 of file grid_file_common.c.

Here is the call graph for this function: