FV3 Bundle
read_mosaic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void handle_netcdf_error (const char *msg, int status)
 
void get_file_dir (const char *file, char *dir)
 
int field_exist (const char *file, const char *name)
 
int get_dimlen (const char *file, const char *name)
 
void get_string_data_level (const char *file, const char *name, char *data, const unsigned int *level)
 
void get_var_data (const char *file, const char *name, void *data)
 
void get_var_data_region (const char *file, const char *name, const size_t *start, const size_t *nread, void *data)
 
void get_string_data (const char *file, const char *name, char *data)
 
void get_var_text_att (const char *file, const char *name, const char *attname, char *att)
 
int read_mosaic_xgrid_size (const char *xgrid_file)
 
void read_mosaic_xgrid_order1 (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area)
 
void read_mosaic_xgrid_order1_region (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area, int *isc, int *iec)
 
void read_mosaic_xgrid_order2 (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area, double *di, double *dj)
 
double get_global_area (void)
 
int read_mosaic_ntiles (const char *mosaic_file)
 
int read_mosaic_ncontacts (const char *mosaic_file)
 
void read_mosaic_grid_sizes (const char *mosaic_file, int *nx, int *ny)
 
void read_mosaic_contact (const char *mosaic_file, int *tile1, int *tile2, int *istart1, int *iend1, int *jstart1, int *jend1, int *istart2, int *iend2, int *jstart2, int *jend2)
 
int transfer_to_model_index (int istart_in, int iend_in, int *istart_out, int *iend_out, int refine_ratio)
 
void read_mosaic_grid_data (const char *mosaic_file, const char *name, int nx, int ny, double *data, unsigned int level, int ioff, int joff)
 
void read_mosaic_contact_ (const char *mosaic_file, int *tile1, int *tile2, int *istart1, int *iend1, int *jstart1, int *jend1, int *istart2, int *iend2, int *jstart2, int *jend2)
 
int read_mosaic_xgrid_size_ (const char *xgrid_file)
 
int read_mosaic_ntiles_ (const char *mosaic_file)
 
int read_mosaic_ncontacts_ (const char *mosaic_file)
 
void read_mosaic_grid_sizes_ (const char *mosaic_file, int *nx, int *ny)
 
double get_global_area_ (void)
 
void read_mosaic_xgrid_order1_ (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area)
 
void read_mosaic_xgrid_order1_region_ (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area, int *isc, int *iec)
 
void read_mosaic_xgrid_order2_ (const char *xgrid_file, int *i1, int *j1, int *i2, int *j2, double *area, double *di, double *dj)
 

Function Documentation

◆ field_exist()

int field_exist ( const char *  file,
const char *  name 
)

Definition at line 69 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_dimlen()

int get_dimlen ( const char *  file,
const char *  name 
)

Definition at line 102 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_file_dir()

void get_file_dir ( const char *  file,
char *  dir 
)

Definition at line 48 of file read_mosaic.c.

Here is the caller graph for this function:

◆ get_global_area()

double get_global_area ( void  )

Definition at line 404 of file read_mosaic.c.

Here is the caller graph for this function:

◆ get_global_area_()

double get_global_area_ ( void  )

Definition at line 419 of file read_mosaic.c.

◆ get_string_data()

void get_string_data ( const char *  file,
const char *  name,
char *  data 
)

Definition at line 150 of file read_mosaic.c.

Here is the call graph for this function:

◆ get_string_data_level()

void get_string_data_level ( const char *  file,
const char *  name,
char *  data,
const unsigned int *  level 
)

Definition at line 186 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_var_data()

void get_var_data ( const char *  file,
const char *  name,
void *  data 
)

Definition at line 228 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_var_data_region()

void get_var_data_region ( const char *  file,
const char *  name,
const size_t *  start,
const size_t *  nread,
void *  data 
)

Definition at line 288 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_var_text_att()

void get_var_text_att ( const char *  file,
const char *  name,
const char *  attname,
char *  att 
)

Definition at line 349 of file read_mosaic.c.

Here is the call graph for this function:

◆ handle_netcdf_error()

void handle_netcdf_error ( const char *  msg,
int  status 
)

Definition at line 34 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_contact()

void read_mosaic_contact ( const char *  mosaic_file,
int *  tile1,
int *  tile2,
int *  istart1,
int *  iend1,
int *  jstart1,
int *  jend1,
int *  istart2,
int *  iend2,
int *  jstart2,
int *  jend2 
)

Definition at line 728 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_contact_()

void read_mosaic_contact_ ( const char *  mosaic_file,
int *  tile1,
int *  tile2,
int *  istart1,
int *  iend1,
int *  jstart1,
int *  jend1,
int *  istart2,
int *  iend2,
int *  jstart2,
int *  jend2 
)

Definition at line 684 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_grid_data()

void read_mosaic_grid_data ( const char *  mosaic_file,
const char *  name,
int  nx,
int  ny,
double *  data,
unsigned int  level,
int  ioff,
int  joff 
)

Definition at line 827 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_grid_sizes()

void read_mosaic_grid_sizes ( const char *  mosaic_file,
int *  nx,
int *  ny 
)

Definition at line 656 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_grid_sizes_()

void read_mosaic_grid_sizes_ ( const char *  mosaic_file,
int *  nx,
int *  ny 
)

Definition at line 651 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_ncontacts()

int read_mosaic_ncontacts ( const char *  mosaic_file)

Definition at line 630 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_ncontacts_()

int read_mosaic_ncontacts_ ( const char *  mosaic_file)

Definition at line 625 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_ntiles()

int read_mosaic_ntiles ( const char *  mosaic_file)

Definition at line 609 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_ntiles_()

int read_mosaic_ntiles_ ( const char *  mosaic_file)

Definition at line 604 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_xgrid_order1()

void read_mosaic_xgrid_order1 ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area 
)

Definition at line 446 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_xgrid_order1_()

void read_mosaic_xgrid_order1_ ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area 
)

Definition at line 435 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_xgrid_order1_region()

void read_mosaic_xgrid_order1_region ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area,
int *  isc,
int *  iec 
)

Definition at line 497 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_xgrid_order1_region_()

void read_mosaic_xgrid_order1_region_ ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area,
int *  isc,
int *  iec 
)

Definition at line 486 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_xgrid_order2()

void read_mosaic_xgrid_order2 ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area,
double *  di,
double *  dj 
)

Definition at line 559 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_xgrid_order2_()

void read_mosaic_xgrid_order2_ ( const char *  xgrid_file,
int *  i1,
int *  j1,
int *  i2,
int *  j2,
double *  area,
double *  di,
double *  dj 
)

Definition at line 549 of file read_mosaic.c.

Here is the call graph for this function:

◆ read_mosaic_xgrid_size()

int read_mosaic_xgrid_size ( const char *  xgrid_file)

Definition at line 391 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_mosaic_xgrid_size_()

int read_mosaic_xgrid_size_ ( const char *  xgrid_file)

Definition at line 385 of file read_mosaic.c.

Here is the call graph for this function:

◆ transfer_to_model_index()

int transfer_to_model_index ( int  istart_in,
int  iend_in,
int *  istart_out,
int *  iend_out,
int  refine_ratio 
)

Definition at line 696 of file read_mosaic.c.

Here is the call graph for this function:
Here is the caller graph for this function: