Пример #1
0
 def _get_temperature(categorize_file: str) -> np.ndarray:
     """Returns interpolated temperatures in Celsius."""
     atmosphere = product_tools.interpolate_model(categorize_file, "temperature")
     return atmos.k2c(atmosphere["temperature"])
Пример #2
0
 def _get_temperature_field(cat_file):
     """Returns interpolated temperatures in Celsius."""
     temperature = p_tools.interpolate_model(cat_file, 'temperature')
     return atmos.k2c(temperature)