References
Class Summary
Static Public Class Summary | ||
public |
|
Function Summary
Static Public Function Summary | ||
public |
addCollectionQueryFunction(collection: *) Adds a basic query() function to the coverage collection object. |
|
public |
addLoadRangesFunction(cov: *) |
|
public |
addSubsetFunctions(cov: *) |
|
public |
asCovJSONDomainType(cov: Coverage): Promise<Coverage> Tries to transform the given Coverage object into a new one that conforms to one of the CovJSON domain types. |
|
public |
asTime(inp: *): * |
|
public |
checkCoverage(obj: *) |
|
public |
checkDomain(obj: *) |
|
public |
ensureClockwisePolygon(rings: Array, isCartesian: boolean) Modifies the point order of the given polygon rings such that the first ring is ordered clockwise and all others anti-clockwise. |
|
public |
fromDomain(domain: Domain): Coverage Wraps a Domain into a Coverage object by adding dummy parameter and range data. |
|
public |
fromXndarray(xndarr: xndarray, options: object): Coverage Creates a Coverage with a single parameter from an xndarray object. |
|
public |
getCategory(parameter: Parameter, val: number): Category Returns the category of the given parameter corresponding to the encoded integer value. |
|
public |
getHorizontalCRSComponents(domain: *): * Return the component names of the horizontal CRS of the domain. |
|
public |
getHorizontalCRSReferenceObject(domain: *): * Return the reference system connection object of the horizontal CRS of the domain,
or |
|
public |
getLanguageString(map: object, preferredLanguage: string): string |
|
public |
getLanguageTag(map: object, preferredLanguage: string): string |
|
public |
getPointInPolygonsFn(polygons: Array): function Preprocesses an array of polygons to answer the point-in-polygon question efficiently. |
|
public |
getProjection(domain: Domain): IProjection Return a projection object based on the CRS found in the coverage domain. |
|
public |
getReferenceObject(domain: *, component: *): * Return the reference system connection object for the given domain component, or undefined if none exists. |
|
public |
indexOfNearest(a: Array<number>, x: number): number Return the index of the value closest to the given number in a sorted array. |
|
public |
indicesOfNearest(a: Array<number>, x: number): [lo,hi] Return the indices of the two neighbors in the sorted array closest to the given number. |
|
public |
isCoverage(obj: *): * |
|
public |
isDomain(obj: *): * |
|
public |
isEllipsoidalCRS(rs: *): * Return whether the reference system is a CRS in which horizontal position is specified by geodetic latitude and longitude. |
|
public |
isISODateAxis(domain: *, axisName: *): * Returns true if the given axis has ISO8601 date strings as axis values. |
|
public |
iterateRange(range: *, fn: *) Iterate over all range values and run a function for each value. |
|
public |
loadProjection(domain: Domain): Promise<IProjection> Like getProjection but will also try to remotely load a projection definition via the uriproj library. |
|
public |
|
|
public |
maskByPolygon(cov: Coverage, polygon: Object, axes: array): Promise<Coverage> Returns a copy of the given Coverage object where the range values which belong to domain areas outside the given polygon are returned as null (no data). |
|
public |
minMax(arr: *): * |
|
public |
minMaxOfRange(range: Range<number>): [min,max] Return the minimum/maximum across all range values, ignoring null's. |
|
public |
normalizeIndexSubsetConstraints(domain: *, constraints: *): * After normalization, all constraints are start,stop,step objects. |
|
public |
reduceRange(range: Range, callback: function, start: *): * Apply a reduce function over the range values. |
|
public |
renameAxes(cov: Coverage, mapping: Map<String, String>): Coverage |
|
public |
Reproject a coverage. |
|
public |
reprojectCoords(pos: *, fromProjection: *, toProjection: *): * Reprojects coordinates from one projection to another. |
|
public |
stringifyUnit(unit: *, language: *): * Converts a unit object to a human-readable symbol or label, where symbols are preferred. |
|
public |
subsetByBbox(cov: Coverage, bbox: array, axes: array): Promise<Coverage> Returns a copy of the grid coverage subsetted to the given bounding box. |
|
public |
subsetByIndex(cov: *, constraints: *): * Generic subsetByIndex function that can be used when building new Coverage objects. |
|
public |
subsetByValue(cov: *, constraints: *): * Generic subsetByValue function that can be used when building new Coverage objects. |
|
public |
subsetDomainByIndex(domain: *, constraints: *): * |
|
public |
withCategories(cov: Coverage, key: String, observedProperty: object, mapping: Map<String, String>): Coverage Returns a copy of the given Coverage object with the categories of a given parameter replaced by the supplied ones and the encoding adapted to the given mapping from old to new. |
|
public |
withDerivedParameter(cov: *, options: *): * |
|
public |
withDomainType(cov: Coverage, domainType: String): Coverage Returns a new coverage where the domainType field of the coverage and the domain is set to the given one. |
|
public |
withParameters(cov: *, params: *): * Returns a copy of the given Coverage object with the parameters replaced by the supplied ones. |
|
public |
withSimpleDerivedParameter(cov: *, options: *): * |
Variable Summary
Static Public Variable Summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
External Summary
Static Public External Summary | ||
public |
|