mesmer.io.load_constant_files.load_regs_ls_wgt_lon_lat

mesmer.io.load_constant_files.load_regs_ls_wgt_lon_lat#

mesmer.io.load_constant_files.load_regs_ls_wgt_lon_lat(reg_type=None, lon=None, lat=None)#

Load constant files.

Parameters:
  • reg_type (str, optional, default: None) – Deprecated, no longer has an effect.

  • lon (dict) – longitude dictionary with key

    • [“c”] (1d array with longitudes at center of grid cell)

  • lat (dict) – latitude dictionary with key

    • [“c”] (1d array with latitudes at center of grid cell)

Returns:

  • reg_dict (dict) – Deprecated (empty dict).

  • ls (dict) – land-sea dictionary with keys

    • [“grid_raw”] (2d array (lat, lon) of subsampled land fraction)

    • [“grid_no_ANT”] (grid_raw with Antarctica removed)

  • wgt (np.ndarray) – 2d array (lat,lon) of weights to be used for area weighted means

  • lon (dict) – longitude dictionary with added keys

    • [“e”] (1d array with longitudes at edges of grid cells)

    • [“grid”] (2d array (lat,lon) of longitudes)

  • lat (dict) – latitude dictionary with added keys

    • [“e”] (1d array with latitudes at edges of grid cells)

    • [“grid”] (2d array (lat,lon) of latitudes)