docs: def to_json(self):
          """Write Wea to json file
              {
              "location": {} , // ladybug location schema
              "direct_normal_irradiance": (), // Tuple of hourly direct normal
                  irradiance
              "diffuse_horizontal_irradiance": (), // Tuple of hourly diffuse
                  horizontal irradiance
              "timestep": float //timestep between measurements, default is 1
              }
          """
          return {
              'location': self.location.to_json(),
              'direct_normal_irradiance':
                  self.direct_normal_irradiance.to_json(),
              'diffuse_horizontal_irradiance':
                  self.diffuse_horizontal_irradiance.to_json(),
              'timestep': self.timestep,
              'is_leap_year': self.is_leap_year
          }