isa 1.0.0 copy "isa: ^1.0.0" to clipboard
isa: ^1.0.0 copied to clipboard

International Standard Atmosphere package. The package allows to find physical characteristics of standard or customized atmosphere at the given altitude (up to 80 km).

example/example.dart

// Copyright (c) 2021, Anton Antonchik.  All rights reserved. Use of this source
// code is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:isa/isa.dart';
import 'package:measures/measures.dart';

typedef ISA = InternationalStandardAtmosphere;

main() {
  final isa =
      ISA(); // Set ISA with standard values of temperature and pressure at 0.0 metres Above Mean Sea Level (AMSL)
  final curAltitude =
      Altitude.fromMetres(10000); // Set the altitude you seek params for
  final pressure = isa.getPressureAt(
      curAltitude); // Get the value of atmospheric pressure at 10000 metres AMSL
  final temperature = isa.getTemperatureAt(
      curAltitude); // Get the value of temperature at 10000 metres AMSL
  final soundSpeed = isa.getSoundSpdAt(
      curAltitude); // Get the value of speed of sound at 10000 metres AMSL
  print(pressure.hPa); // 264.9987
  print(temperature.celsius); // -49.8979
  print(soundSpeed.ms); // 299.53166
}
copied to clipboard
1
likes
160
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.19 - 2025.04.03

International Standard Atmosphere package. The package allows to find physical characteristics of standard or customized atmosphere at the given altitude (up to 80 km).

Repository

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

measures

More

Packages that depend on isa