Skip to main content

A Python package entry for building the C-based mseedindex program

Project description

mseedindex - Generate miniSEED summary and synchronize database

This program reads miniSEED files, creates an index of the available data and stores this information into a database. Alternatively, the index information can be produced in JSON format. The index includes details such as identifers, time ranges, file names, location within files, and additional details. The database can be either PostgreSQL or SQLite.

Documentation

The Wiki provides an overview and documentation of the database schema.

For program usage see the mseedindex manual in the 'doc' directory.

Download release versions

The releases area contains release versions.

Building and Installing

In most environments a simple 'make' will build the program. The build system is designed for GNU make, which make be avilable as 'gmake'.

The CC, CFLAGS and LDFLAGS environment variables can be used to configure the build parameters.

To build with PostgreSQL support set the variable WITHPOSTGRESQL. This can be done in a single command with make like: $ WITHPOSTGRESQL=1 make

If Postgres is installed in non-system locations, specific their location using the CFLAGS and LDFLAGS environment variables:

  • CFLAGS='-I/Library/PostgreSQL/14/include'
  • LDFLAGS='-L/Library/PostgreSQL/14/lib/'

By default the build system will detect if necessary libraries are available for URL support and enable this capability. To build without support for reading URLs set the variable WIHOUTURL. This can be done in a single command with make like: $ WITHOUTURL=1 make

For further installation simply copy the resulting binary and man page (in the 'doc' directory) to appropriate system directories.

In the Win32 environment the Makefile.win can be used with the nmake build tool included with Visual Studio. PostgreSQL support is turned off by default in the Windows build procedure.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright (C) 2024 Chad Trabant, EarthScope Data Services

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseedindex-3.0.5.tar.gz (4.2 MB view details)

Uploaded Source

File details

Details for the file mseedindex-3.0.5.tar.gz.

File metadata

  • Download URL: mseedindex-3.0.5.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for mseedindex-3.0.5.tar.gz
Algorithm Hash digest
SHA256 37aaa85f1c321b915afe0d91a1b7cfaa154e88699558fe689167b354e8992336
MD5 5b00a075c0202ede14a06ff25d86c428
BLAKE2b-256 93720098c15720bf04cf7067c00a1081054ecddbec3ea84bb9d34c571b298b12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page