Skip to content

API reference

# SpaceLiDAR._downloadMethod.

This is a method because it will segfault if precompiled.

source

# SpaceLiDAR.angleFunction.

Rough approximation of the track angle on a Euclidian lon/lat plot.

source

# SpaceLiDAR.angle!Method.

Calculatitudee angle of direction in degrees where North is 0° for a DataFrame.

source

# SpaceLiDAR.angleMethod.

angle(longitude::Vector{Number}, latitude::Vector{Number})

Calculate the angle of direction from previous points in degrees where North is 0°. Points are given as longitude and latitude pairs in their own vector. The angle for the first point is undefined and set to the second.

Returns a Vector{Number} of angles

source

# SpaceLiDAR.classifyFunction.

Retrieve all points as classified as ground in ATL08.

source

# SpaceLiDAR.download_curlMethod.

Hacked version of Base.download which adds cookies and (optional) netrc parsing.

source

# SpaceLiDAR.gedi_infoMethod.

Derive info based on file id.

The id is built up as follows, see section 2.4 in the user guide GEDI02A2019110014613O01991T049050200101.h5 or newer (V2) GEDI02A2019242104318O0404601T023430200302V002.h5

source

# SpaceLiDAR.granule_from_fileMethod.

Generate granule from .h5 file.

source

# SpaceLiDAR.granules_from_folderMethod.

Generate granules from folder filled with .h5 files.

source

# SpaceLiDAR.in_bboxMethod.

Filter with bbox.

source

# SpaceLiDAR.infoMethod.

Derive info based on file id.

The id is built up as follows, see 1.2.5 in the user guide ATL03[yyyymmdd][hhmmss][ttttccss][vvvrr].h5

source

# SpaceLiDAR.infoMethod.

Derive info based on file id.

The id is built up as follows, see 1.2.5 in the user guide ATL03[yyyymmdd][hhmmss][ttttccss][vvvrr].h5

source

# SpaceLiDAR.netrc!Method.

Writes/updates netrc file for ICESat-2 and GEDI downloads.

source

# SpaceLiDAR.s3!Function.

Change default download locatio n to a S3 bucket.

source

# SpaceLiDAR.shiftMethod.

shift(longitude, latitude, angle, distance)

Shift longitude and latitude with distance m in direction angle, where North is 0°. Returns a tuple of the shifted coordinates: (longitude, latitude)

source

# SpaceLiDAR.splitlineFunction.

Split a linestring if the next point is further than distance. Not using Haversine here, as we want to split on meridians and such.

source

# SpaceLiDAR.track_powerMethod.

Return whether track is a strong or weak beam. See Section 7.5 The Spacecraft Orientation Parameter of the ATL03 ATDB.

source