This contains examples for yac_read_icon_basic_grid_data.
#include <stdlib.h>
#include <string.h>
#include "tests.h"
#include "test_common.h"
int main(
int argc,
char** argv) {
if (argc != 2) {
PUT_ERR("ERROR: missing grid file directory");
return TEST_EXIT_CODE;
}
char * grid_filename =
strcat(
strcpy(
malloc(strlen(argv[1]) + 32), argv[1]), "icon_grid_0030_R02B03_G.nc");
return EXIT_SKIP_TEST;
free(grid_filename);
PUT_ERR("wrong number of grid cells");
#ifdef WRITE_VTK_GRID_FILE
#endif
return TEST_EXIT_CODE;
}
void yac_basic_grid_data_free(struct yac_basic_grid_data grid)
int main(int argc, char **argv)
void yac_write_basic_grid_data_to_file(struct yac_basic_grid_data *grid, char const *name)
int yac_file_exists(const char *filename)
struct yac_basic_grid_data yac_read_icon_basic_grid_data(char const *filename)