gcmParameters#

class VSPEC.params.gcm.gcmParameters(gcm_getter: Callable[[...], PyGCM], mean_molec_weight: float, is_static: bool)#

Bases: BaseParameters

Class to store GCM parameters.

Parameters:
  • gcm_getter (Callable) – A function that returns a PyGCM instance.

  • mean_molec_weight (float) – The mean molecular weight of the atmosphere in g/mol.

  • is_staic (bool) – If true, the GCM does not change over time. In the case that this is false a time parameter will be passed to the gcm_getter.

content(**kwargs)#

Get a bytes representation of the GCM.

to_pycfg(**kwargs) PyConfig#

Get pypsg.PyConfig representation of the GCM.

Parameters:

obs_time (astropy.time.Time, optional) – The time of the observation. Necessary for a waccm GCM.