pyRTX.classes.Atmosphere
Classes
|
An utility class for providing a python interface to VenusGram2005 |
- class pyRTX.classes.Atmosphere.VenusGram(dataFolder='/home/cascioli/VenusGram2005/', execFolder='/home/cascioli/VenusGram2005/', tmpFolder='./tmp')[source]
An utility class for providing a python interface to VenusGram2005
Requirements: - python3 - numpy - spiceypy - A compiled version of VenusGram2005
Note: This version has been tested only on UNIX machines
The intended usage:
vg = VenusGram() rho, T = vg.compute(epoch, lat, lon, height, inputUnits = ‘deg’)
Parameters: *all these patameters can be either float or numpy arrays of floats epoch: epoch output of spiceypy.str2et [The epoch must be provided in TDB. This can be changed modyfying ‘epoch_converter’ sub] lat: latitude in the units specified in inputUnits lon: longitude in the units specified in inputUnits height: height above the reference ellipsoid [km]
Returns: rho: density in kg/m3 T: temperature in K
- __init__(dataFolder='/home/cascioli/VenusGram2005/', execFolder='/home/cascioli/VenusGram2005/', tmpFolder='./tmp')[source]
Initialize the istance of the class
Parameters: dataFolder: [str] the path to the data folder of VenusGram2005 execFolder: [str] the path to where the venusgrm_V05.x executable is tmpFolder: [str] the path to create a temporary convenience folder for Vgram input/output caching. Defaults to ./tmp