Ejemplo n.º 1
0
    def __init__(self,
                 sobj,
                 mtype='bedding',
                 fpath=None,
                 ftype='generic',
                 dip_dir=None,
                 dip=None,
                 time=None,
                 series=None,
                 **options):
        super(Bedding, self).__init__(sobj=sobj,
                                      mtype=mtype,
                                      fpath=fpath,
                                      ftype=ftype,
                                      series=series,
                                      **options)

        self._data = {
            'data':
            RockPy3.RockPyData(
                column_names=['variable', 'dip_dir', 'dip', 'time'])
        }
        self._data['data']['dip_dir'] = dip_dir
        self._data['data']['dip'] = dip
        self._data['data']['time'] = time
Ejemplo n.º 2
0
    def __init__(self,
                 sobj,
                 mtype='location',
                 fpath=None,
                 ftype='generic',
                 lat=None,
                 lon=None,
                 alt=None,
                 coordinate_system='wgs84',
                 time=None,
                 series=None,
                 **options):
        super(LocationGeo, self).__init__(sobj=sobj,
                                          mtype=mtype,
                                          fpath=fpath,
                                          ftype=ftype,
                                          series=series,
                                          **options)

        if coordinate_system != 'wgs84':
            self.log.warning(
                'support for geographic coordinate systems is not implemented yet.'
            )

        self._data = {
            'data':
            RockPy3.RockPyData(
                column_names=['variable', 'lat', 'lon', 'alt', 'time'])
        }
        self._data['data']['lat'] = lat
        self._data['data']['lon'] = lon
        self._data['data']['alt'] = alt
        self._data['data']['time'] = time
Ejemplo n.º 3
0
    def __init__(self,
                 sobj,
                 mtype='orientationgeo',
                 fpath=None,
                 ftype='generic',
                 dec=None,
                 inc=None,
                 sun=None,
                 time=None,
                 series=None,
                 **options):
        super(OrientationGeo, self).__init__(sobj=sobj,
                                             mtype=mtype,
                                             fpath=fpath,
                                             ftype=ftype,
                                             series=series,
                                             **options)

        self._data = {
            'data':
            RockPy3.RockPyData(
                column_names=['variable', 'dec', 'inc', 'sun', 'time'])
        }
        self._data['data']['dec'] = dec
        self._data['data']['inc'] = inc
        self._data['data']['sun'] = sun
        self._data['data']['time'] = time