ILAMB.Regions.Regions.hasData

Regions.hasData(label, var)[source]

Checks if the ILAMB.Variable has data on the given region.

Parameters
  • label (str) – the unique region identifier

  • var (ILAMB.Variable.Variable) – the variable to which we would like check for data

Returns

hasdata – returns True if variable has data on the given region

Return type

boolean