tdb

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsolidateMetadata

func ConsolidateMetadata(dir string, region string) (err error)

ConsolidateMetadata - consolidate the metadata in a given array

func ConvertBytesToUint16

func ConvertBytesToUint16(bytes []byte) (uint16, error)

ConvertBytesToUint16 converts a slice of two bytes to a uint16 using BigEndian byte order.

func ConvertUint16ToBytes

func ConvertUint16ToBytes(num uint16) []byte

ConvertUint16ToBytes converts a uint16 to a slice of two bytes assuming BigEndian byte order.

func CreateArray

func CreateArray(srcArrayPath, destArrayPath string, region string) (err error)

CreateArray creates a new TileDB array using the schema from the provided path to a reference array

func CreateTDCPArray

func CreateTDCPArray(arr, region string) (err error)

func GPSWeekSowToTime

func GPSWeekSowToTime(gpsWeek uint16, tow int32) (dt time.Time)

func ReadMetArray

func ReadMetArray(arr, region string, queryParams MetQueryParams) (epochs []met.Epoch, err error)

func ReadMetV2Array

func ReadMetV2Array(arr, region string, queryParams MetV2QueryParams) (epochs []met.Epoch, err error)

func ReadNavArray

func ReadNavArray(arr string, region string, queryParams NavQueryParams) (ephems []ephemeris.GenericEphemeris, err error)

func ReadNavV2Array

func ReadNavV2Array(arr string, region string, queryParams NavV2QueryParams) (ephems []ephemeris.GenericEphemeris, err error)

func ReadObsArray

func ReadObsArray(arr string, region string, queryParams ObsQueryParams) (epochs []observation.Epoch, err error)

func ReadObsV2Array

func ReadObsV2Array(arr string, region string, queryParams ObsV2QueryParams) (epochs []observation.Epoch, err error)

func ReadObsV3Array

func ReadObsV3Array(arr string, region string, queryParams ObsQueryParams) (epochs []observation.Epoch, err error)

ReadObsV3Array reads GNSS observations to a TileDB array

func ReadPosArray

func ReadPosArray()

func VacuumMetadata

func VacuumMetadata(dir string, region string) (err error)

Vacuum the metadata in a given array

func WriteBottleArray

func WriteBottleArray(arr string, region string, bSlice []bottle.Bottle3DFloat64) (err error)

WriteBottleArray writes strain observations to a TileDB array

func WriteMetArray

func WriteMetArray(arr, edid, region string, epochs []met.Epoch) (err error)

WriteMetArray - writes meteorolgical data to a TileDB array

func WriteMetV2Array

func WriteMetV2Array(arr, region string, epochs []met.Epoch) (err error)

WriteMetArray - writes meteorolgical data to a TileDB array

func WriteNavArray

func WriteNavArray(arr string, edid string, region string, ephs []ephemeris.GenericEphemeris) (err error)

WriteNavArray -

func WriteNavV2Array

func WriteNavV2Array(arr string, region string, ephs []ephemeris.GenericEphemeris) (err error)

WriteNavV2Array -

func WriteObsArray

func WriteObsArray(arr string, region string, epochs []observation.Epoch) (err error)

WriteObsArray writes GNSS observations to a TileDB array

func WriteObsV2Array

func WriteObsV2Array(arr, edid, region string, epochs []observation.Epoch) (err error)

WriteObsArray writes GNSS observations to a TileDB array

func WriteObsV3Array

func WriteObsV3Array(arr string, region string, epochs []observation.Epoch) (err error)

WriteObsV3Array writes GNSS observations to a TileDB array

func WritePosArray

func WritePosArray(arr string, region string, positionEpochs []position.GAGEPosition) (err error)

func WriteSP3Array

func WriteSP3Array(arr string, region string, tag string, epochs []precise.SP3Epoch) (err error)

func WriteTDCPArray

func WriteTDCPArray(arr, region, edid string, tdcpResults []tdcp.Velocity) (err error)

Types

type MetQueryParams

type MetQueryParams struct {
	EDID []StringRange `json:"edid"`
	Time []TimeRange   `json:"time"`
	Key  []StringRange `json:"key"`
}

type MetV2QueryParams

type MetV2QueryParams struct {
	Time []TimeRange   `json:"time"`
	Key  []StringRange `json:"key"`
}
type NavQueryParams struct {
	EDID []StringRange `json:"edid"`
	Time []TimeRange   `json:"time"`
	Key  []StringRange `json:"key"`
}
type NavV2QueryParams struct {
	Time []TimeRange   `json:"time"`
	Sys  []Uint8Range  `json:"system"`
	SvID []Uint8Range  `json:"svid"`
	Key  []StringRange `json:"key"`
}

type ObsQueryParams

type ObsQueryParams struct {
	Time []TimeRange   `json:"time"`
	Sys  []Uint8Range  `json:"system"`
	SvID []Uint8Range  `json:"svid"`
	Obs  []StringRange `json:"obs"`
}

type ObsV2QueryParams

type ObsV2QueryParams struct {
	EDID      []StringRange `json:"edid"`
	Time      []TimeRange   `json:"time"`
	Satellite []StringRange `json:"sat"`
	Obs       []StringRange `json:"obs"`
}

type StringRange

type StringRange struct {
	Start string `json:"start"`
	End   string `json:"end"`
}

type TimeRange

type TimeRange struct {
	Start time.Time `json:"start"`
	End   time.Time `json:"end"`
}

type Uint8Range

type Uint8Range struct {
	Start uint8 `json:"start"`
	End   uint8 `json:"end"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL