SYMBOL INDEX (160 symbols across 11 files) FILE: xesmf/backend.py function warn_f_contiguous (line 30) | def warn_f_contiguous(a): function warn_lat_range (line 45) | def warn_lat_range(lat): class Grid (line 60) | class Grid(ESMF.Grid): method from_xarray (line 62) | def from_xarray(cls, lon, lat, periodic=False, mask=None): method get_shape (line 148) | def get_shape(self, loc=ESMF.StaggerLoc.CENTER): class LocStream (line 154) | class LocStream(ESMF.LocStream): method from_xarray (line 156) | def from_xarray(cls, lon, lat): method get_shape (line 186) | def get_shape(self): function add_corner (line 191) | def add_corner(grid, lon_b, lat_b): class Mesh (line 233) | class Mesh(ESMF.Mesh): method from_polygons (line 235) | def from_polygons(cls, polys, element_coords='centroid'): method get_shape (line 312) | def get_shape(self, loc=ESMF.MeshLoc.ELEMENT): function esmf_regrid_build (line 317) | def esmf_regrid_build( # noqa: C901 function esmf_regrid_apply (line 541) | def esmf_regrid_apply(regrid, indata): function esmf_regrid_finalize (line 589) | def esmf_regrid_finalize(regrid): function esmf_locstream (line 615) | def esmf_locstream(lon, lat): function esmf_grid (line 623) | def esmf_grid(lon, lat, periodic=False, mask=None): FILE: xesmf/data.py function wave_smooth (line 8) | def wave_smooth(lon, lat): FILE: xesmf/frontend.py function subset_regridder (line 42) | def subset_regridder( function as_2d_mesh (line 58) | def as_2d_mesh(lon, lat): function _get_lon_lat (line 69) | def _get_lon_lat(ds): function _get_lon_lat_bounds (line 86) | def _get_lon_lat_bounds(ds): function ds_to_ESMFgrid (line 115) | def ds_to_ESMFgrid(ds, need_bounds=False, periodic=None, append=None): function ds_to_ESMFlocstream (line 173) | def ds_to_ESMFlocstream(ds): function polys_to_ESMFmesh (line 207) | def polys_to_ESMFmesh(polys): class BaseRegridder (line 233) | class BaseRegridder(object): method __init__ (line 234) | def __init__( method A (line 479) | def A(self): method w (line 492) | def w(self) -> xr.DataArray: method _get_default_filename (line 505) | def _get_default_filename(self): method _compute_weights (line 522) | def _compute_weights(self, grid_in, grid_out): method __call__ (line 538) | def __call__(self, indata, keep_attrs=False, skipna=False, na_thres=1.... method _regrid (line 644) | def _regrid(indata, weights, *, shape_in, shape_out, skipna, na_thres): method regrid_array (line 663) | def regrid_array(self, indata, weights, skipna=False, na_thres=1.0, ou... method regrid_numpy (line 724) | def regrid_numpy(self, indata, **kwargs): method regrid_dask (line 731) | def regrid_dask(self, indata, **kwargs): method regrid_dataarray (line 738) | def regrid_dataarray( method regrid_dataset (line 758) | def regrid_dataset( method _parse_xrinput (line 788) | def _parse_xrinput(self, dr_in): method _format_xroutput (line 823) | def _format_xroutput(self, out, new_dims=None): method __repr__ (line 827) | def __repr__(self): method to_netcdf (line 847) | def to_netcdf(self, filename=None): class Regridder (line 877) | class Regridder(BaseRegridder): method __init__ (line 878) | def __init__( method _init_para_regrid (line 1144) | def _init_para_regrid(self, ds_in, ds_out, kwargs): method _format_xroutput (line 1261) | def _format_xroutput(self, out, new_dims=None): class SpatialAverager (line 1275) | class SpatialAverager(BaseRegridder): method __init__ (line 1276) | def __init__( method _check_polys_length (line 1412) | def _check_polys_length(polys, threshold=1): method _compute_weights_and_area (line 1428) | def _compute_weights_and_area(self, grid_in, mesh_out): method _compute_weights (line 1449) | def _compute_weights(self, grid_in, grid_out): method w (line 1499) | def w(self) -> xr.DataArray: method _get_default_filename (line 1511) | def _get_default_filename(self): method __repr__ (line 1519) | def __repr__(self): method _format_xroutput (line 1532) | def _format_xroutput(self, out, new_dims=None): FILE: xesmf/smm.py function read_weights (line 14) | def read_weights(weights, n_in, n_out): function _parse_coords_and_values (line 53) | def _parse_coords_and_values(indata, n_in, n_out): function check_shapes (line 104) | def check_shapes(indata, weights, shape_in, shape_out): function apply_weights (line 159) | def apply_weights(weights, indata, shape_in, shape_out): function post_apply_target_mask_to_weights (line 216) | def post_apply_target_mask_to_weights(weights, target_mask_2d): function add_nans_to_weights (line 270) | def add_nans_to_weights(weights): function mask_source_indices (line 315) | def mask_source_indices(weights, source_indices_to_mask): function gen_mask_from_weights (line 367) | def gen_mask_from_weights(weights, nlat, nlon): function _combine_weight_multipoly (line 399) | def _combine_weight_multipoly(weights, areas, indexes): FILE: xesmf/tests/conftest.py function threaded_scheduler (line 6) | def threaded_scheduler(): function processes_scheduler (line 12) | def processes_scheduler(): function distributed_scheduler (line 18) | def distributed_scheduler(): function pytest_addoption (line 30) | def pytest_addoption(parser): function pytest_configure (line 34) | def pytest_configure(config): function pytest_collection_modifyitems (line 38) | def pytest_collection_modifyitems(config, items): FILE: xesmf/tests/test_backend.py function test_warn_f_on_array (line 54) | def test_warn_f_on_array(): function test_warn_f_on_grid (line 60) | def test_warn_f_on_grid(): function test_warn_lat_range (line 66) | def test_warn_lat_range(): function test_esmf_grid_with_corner (line 75) | def test_esmf_grid_with_corner(): function test_esmf_build_bilinear (line 108) | def test_esmf_build_bilinear(): function test_esmf_extrapolation (line 123) | def test_esmf_extrapolation(): function test_esmf_extrapolation_creep_fill (line 145) | def test_esmf_extrapolation_creep_fill(): function test_regrid (line 172) | def test_regrid(): function test_regrid_periodic_wrong (line 227) | def test_regrid_periodic_wrong(): function test_regrid_periodic_correct (line 245) | def test_regrid_periodic_correct(): function test_esmf_locstream (line 262) | def test_esmf_locstream(): function test_read_weights (line 282) | def test_read_weights(tmp_path): function test_vector_regrid (line 325) | def test_vector_regrid(): function test_deprecated (line 355) | def test_deprecated(): FILE: xesmf/tests/test_frontend.py function _segmentize (line 102) | def _segmentize(p): function test_as_2d_mesh (line 112) | def test_as_2d_mesh(): function test_build_regridder (line 159) | def test_build_regridder(method, locstream_in, locstream_out, unmapped_t... function test_regridder_creep_fill_validation (line 173) | def test_regridder_creep_fill_validation(): function test_existing_weights (line 192) | def test_existing_weights(): function test_regridder_w (line 224) | def test_regridder_w(): function test_to_netcdf (line 249) | def test_to_netcdf(tmp_path, unmapped_to_nan): function test_conservative_without_bounds (line 296) | def test_conservative_without_bounds(): function test_regridder_from_dict (line 301) | def test_regridder_from_dict(): function test_regrid_periodic_wrong (line 311) | def test_regrid_periodic_wrong(): function test_regrid_periodic_correct (line 322) | def test_regrid_periodic_correct(): function ds_2d_to_1d (line 332) | def ds_2d_to_1d(ds): function test_regridded_respects_input_dtype (line 350) | def test_regridded_respects_input_dtype(dtype, data_in): function test_regrid_with_1d_grid (line 363) | def test_regrid_with_1d_grid(): function test_regrid_with_1d_grid_infer_bounds (line 380) | def test_regrid_with_1d_grid_infer_bounds(): function test_regrid_cfbounds (line 394) | def test_regrid_cfbounds(): function test_regrid_dataarray (line 414) | def test_regrid_dataarray(use_cfxr): function test_regrid_dataarray_endianess (line 467) | def test_regrid_dataarray_endianess(use_dask): function test_regrid_from_dataarray (line 486) | def test_regrid_from_dataarray(): function test_regrid_dataarray_to_locstream (line 491) | def test_regrid_dataarray_to_locstream(): function test_regrid_dataarray_from_locstream (line 508) | def test_regrid_dataarray_from_locstream(): function test_regrid_dask (line 531) | def test_regrid_dask(request, scheduler): function test_regrid_dask_to_locstream (line 585) | def test_regrid_dask_to_locstream(request, scheduler): function test_regrid_dask_from_locstream (line 597) | def test_regrid_dask_from_locstream(request, scheduler): function test_regrid_dataarray_dask (line 608) | def test_regrid_dataarray_dask(request, scheduler): function test_regrid_dataarray_dask_to_locstream (line 630) | def test_regrid_dataarray_dask_to_locstream(request, scheduler): function test_regrid_dataarray_dask_from_locstream (line 641) | def test_regrid_dataarray_dask_from_locstream(request, scheduler): function test_dask_output_chunks (line 651) | def test_dask_output_chunks(): function test_para_weight_gen (line 681) | def test_para_weight_gen(): function test_para_weight_gen_errors (line 719) | def test_para_weight_gen_errors(): function test_regrid_dataset (line 724) | def test_regrid_dataset(): function test_regrid_dataset_extracoords (line 760) | def test_regrid_dataset_extracoords(): function test_regrid_dataset_dask (line 785) | def test_regrid_dataset_dask(request, scheduler): function test_regrid_dataset_to_locstream (line 805) | def test_regrid_dataset_to_locstream(): function test_build_regridder_with_masks (line 813) | def test_build_regridder_with_masks(transpose): function test_regrid_dataset_from_locstream (line 835) | def test_regrid_dataset_from_locstream(): function test_ds_to_ESMFlocstream (line 842) | def test_ds_to_ESMFlocstream(): function test_spatial_averager (line 867) | def test_spatial_averager(poly, exp, use_dask): function test_spatial_averager_warns (line 881) | def test_spatial_averager_warns(): function test_spatial_averager_with_zonal_region (line 886) | def test_spatial_averager_with_zonal_region(): function test_compare_weights_from_poly_and_grid (line 908) | def test_compare_weights_from_poly_and_grid(): function test_polys_to_ESMFmesh (line 947) | def test_polys_to_ESMFmesh(): function test_skipna (line 980) | def test_skipna(method, skipna, na_thres, nvalid): function test_non_cf_latlon (line 988) | def test_non_cf_latlon(): function test_locstream_dim_name (line 1005) | def test_locstream_dim_name(var_renamer, dim_out): function test_spatial_averager_mask (line 1020) | def test_spatial_averager_mask(): function test_post_mask_source (line 1040) | def test_post_mask_source(): function test_post_mask_source_exceptions (line 1068) | def test_post_mask_source_exceptions(): function test_post_mask_source_parallel_mode (line 1103) | def test_post_mask_source_parallel_mode(): function test_locstream_input_grid_output_with_target_mask_applied (line 1142) | def test_locstream_input_grid_output_with_target_mask_applied(): function test_input_output_dims (line 1175) | def test_input_output_dims(): FILE: xesmf/tests/test_oceanmodels.py function test_mom6like_to_5x5 (line 62) | def test_mom6like_to_5x5(): FILE: xesmf/tests/test_smm.py function test_add_nans_to_weights (line 9) | def test_add_nans_to_weights(): function test_mask_source_indices (line 33) | def test_mask_source_indices(): function test_gen_mask_from_weights (line 51) | def test_gen_mask_from_weights(): function test_post_apply_target_mask_to_weights (line 71) | def test_post_apply_target_mask_to_weights(): function test_post_apply_target_mask_to_weights_exceptions (line 95) | def test_post_apply_target_mask_to_weights_exceptions(): FILE: xesmf/tests/test_util.py function test_grid_global (line 8) | def test_grid_global(): function test_grid_global_bad_resolution (line 31) | def test_grid_global_bad_resolution(): function test_cell_area (line 39) | def test_cell_area(): function test_get_edge_indices_2d (line 47) | def test_get_edge_indices_2d(): function test_simple_tripolar_grid (line 60) | def test_simple_tripolar_grid(): FILE: xesmf/util.py function _grid_1d (line 16) | def _grid_1d(start_b, end_b, step): function grid_2d (line 41) | def grid_2d(lon0_b, lon1_b, d_lon, lat0_b, lat1_b, d_lat): function cf_grid_2d (line 83) | def cf_grid_2d(lon0_b, lon1_b, d_lon, lat0_b, lat1_b, d_lat): function grid_global (line 132) | def grid_global(d_lon, d_lat, cf=False, lon1=180): function _flatten_poly_list (line 173) | def _flatten_poly_list(polys): function split_polygons_and_holes (line 183) | def split_polygons_and_holes(polys): function simple_tripolar_grid (line 223) | def simple_tripolar_grid(nlons, nlats, lat_cap=60, lon_cut=-300): function _bipolar_projection (line 263) | def _bipolar_projection(lamg, phig, lon_bp, rp, metrics_only=False): function _generate_bipolar_cap_mesh (line 333) | def _generate_bipolar_cap_mesh(Ni, Nj_ncap, lat0_bp, lon_bp, ensure_nj_e... function _mdist (line 355) | def _mdist(x1, x2): function cell_area (line 363) | def cell_area(ds, earth_radius=None): function _get_edge_indices_2d (line 410) | def _get_edge_indices_2d(nlons, nlats): function _unname_dataset (line 420) | def _unname_dataset(ds, sequence, dims, suffix): function _rename_dataset (line 445) | def _rename_dataset(ds, sequence, dims, suffix):