YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_core.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_core
 

Functions

 test_core._main ()
 

Variables

 test_core.comm = MPI.COMM_WORLD
 
 test_core.rank = comm.rank
 
 test_core.level
 
 test_core.WARNING
 
 test_core.format
 
 test_core.grid_dir = sys.argv[1]
 
 test_core.reg_grid
 
 test_core.coords = reg_grid.add_coordinates(yac_location.YAC_LOC_CORNER)
 
 test_core.is_fatal
 
 test_core.src_field = InterpField(coords)
 
 test_core.icon_grid
 
 test_core.icon_cell_field
 
 test_core.interp_stack
 
 test_core.weights
 
 test_core.on_existing
 
 test_core.interpolate = weights.get_interpolation(collection_selection=[1, 4, 2])
 
 test_core.src_size = src_field.basic_grid.get_data_size(yac_location.YAC_LOC_CORNER)
 
 test_core.src = np.stack([i*np.ones(src_size, dtype=np.float64) for i in range(5)], axis=0)
 
 test_core.tgt = interpolate(src)
 
 test_core.local_is_io
 
 test_core.io_ranks
 

Detailed Description

Test
Simple tests using python core API

Definition in file test_core.py.