Skip to main content

Class: SimbriefDataExtraction

Simbrief data utilities

Constructors

constructor

new SimbriefDataExtraction(): SimbriefDataExtraction

Returns

SimbriefDataExtraction

Methods

extractSimBriefWind

extractSimBriefWind(ofp, facLoader, latLongNaming): Promise<SimbriefWind>

Extracts wind data from a simbrief OFP

Parameters

NameTypeDescription
ofpSimbriefOfpthe simbrief ofp
facLoaderFacilityLoaderthe facility loader
latLongNaming(position: GeoPointInterface) => stringa function that returns the user facility ICAO for a given lat/lon fix

Returns

Promise<SimbriefWind>

extracted wind data

Defined in

src/sdk/simbrief/SimbriefDataExtraction.ts:291


extractSimbriefRoute

extractSimbriefRoute(ofp, facLoader, facRepo, latLongNaming): Promise<SimbriefRoute>

Extracts route data from a simbrief OFP using a facility loader

Parameters

NameTypeDescription
ofpSimbriefOfpthe simbrief ofp
facLoaderFacilityLoaderthe facility loader
facRepoFacilityRepositorythe facility repository
latLongNaming(position: GeoPointInterface) => stringa function that returns the user facility ICAO for a given lat/lon fix

Returns

Promise<SimbriefRoute>

extracted route data

Defined in

src/sdk/simbrief/SimbriefDataExtraction.ts:145