#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <netcdf.h>
#include "yac_core.h"
Go to the source code of this file.
|
| static void | get_grid_dimensions (char const *grids_file_name, char const *grid_names[], size_t count, size_t(*grid_sizes)[2]) |
| |
| static int | create_mask_file (char const *ocean_grid_name, char const **atmos_grid_names, size_t atmo_count, size_t(*atmo_grid_sizes)[2], double threshold, int(*var_ids)[2]) |
| |
| static double * | read_interp_field (char const *path, char const *ocean_grid_name, char const *atmo_grid_name, size_t atmo_size, double const threshold) |
| |
| static void | write_mask (int ncid, int var_ids[2], double *frac, int *mask) |
| |
◆ create_mask_file()
| static int create_mask_file |
( |
char const * | ocean_grid_name, |
|
|
char const ** | atmos_grid_names, |
|
|
size_t | atmo_count, |
|
|
size_t(*) | atmo_grid_sizes[2], |
|
|
double | threshold, |
|
|
int(*) | var_ids[2] ) |
|
static |
◆ get_grid_dimensions()
| static void get_grid_dimensions |
( |
char const * | grids_file_name, |
|
|
char const * | grid_names[], |
|
|
size_t | count, |
|
|
size_t(*) | grid_sizes[2] ) |
|
static |
◆ read_interp_field()
| static double * read_interp_field |
( |
char const * | path, |
|
|
char const * | ocean_grid_name, |
|
|
char const * | atmo_grid_name, |
|
|
size_t | atmo_size, |
|
|
double const | threshold ) |
|
static |
◆ write_mask()
| static void write_mask |
( |
int | ncid, |
|
|
int | var_ids[2], |
|
|
double * | frac, |
|
|
int * | mask ) |
|
static |