Exemplo n.º 1
0
    def _run_hwm93(self, location_time, f107, f107a, ap_daily):
        """
        HWM 1993 Climatological model.

        :param location_time: Instance of LocationTime
        :param f107: f107 indice
        :param f107a: f107a indice
        :param ap_daily: ap_daily indice
        """

        # Call HWM93 wrapper:
        w = hwm93(
            location_time.iyd,
            location_time.utc_sec,
            location_time.alt,
            location_time.lat,
            np.mod(location_time.lon, 360),
            location_time.slt_hour,
            f107a,
            f107,
            ap_daily,
        )
        self.v = w[0]
        self.u = w[1]
        self.hwm_version = '93'

        return self
Exemplo n.º 2
0
Arquivo: hwm.py Projeto: zfb132/pyglow
    def _run_hwm93(self, location_time, f107, f107a, ap_daily):
        """
        HWM 1993 Climatological model.

        :param location_time: Instance of LocationTime
        :param f107: f107 indice
        :param f107a: f107a indice
        :param ap_daily: ap_daily indice
        """

        # Call HWM93 wrapper:
        w = hwm93(
            location_time.iyd,
            location_time.utc_sec,
            location_time.alt,
            location_time.lat,
            np.mod(location_time.lon, 360),
            location_time.slt_hour,
            f107a,
            f107,
            ap_daily,
        )
        self.v = w[0]
        self.u = w[1]
        self.hwm_version = '93'

        return self
Exemplo n.º 3
0
    def run_hwm93(self):
        from hwm93py import gws5 as hwm93
        import numpy as np

        w = hwm93(self.iyd, self.utc_sec, self.alt, self.lat,
                  np.mod(self.lon, 360), self.slt_hour, self.f107a, self.f107,
                  self.ap_daily)
        self.v = w[0]
        self.u = w[1]
        self.hwm_version = '93'
        return self
Exemplo n.º 4
0
    def run_hwm93(self):
        from hwm93py import gws5 as hwm93
        import numpy as np

        w = hwm93(self.iyd,\
                self.utc_sec,\
                self.alt,\
                self.lat,\
                np.mod(self.lon,360),\
                self.slt_hour,\
                self.f107a,\
                self.f107,\
                self.ap_daily)
        self.v = w[0]
        self.u = w[1]
        self.hwm_version = '93'
Exemplo n.º 5
0
    def _run_hwm93(self):
        """
        HWM 1993 Climatological model.

        """

        w = hwm93(
            self.iyd,
            self.utc_sec,
            self.alt,
            self.lat,
            np.mod(self.lon, 360),
            self.slt_hour,
            self.f107a,
            self.f107,
            self.ap_daily,
        )
        self.v = w[0]
        self.u = w[1]
        self.hwm_version = '93'

        return self