Skip to main content

COmmon REsearch FRAMEwork

Project description

test results

COREFRAME

COmmon REsearch FRAMEwork - A Python framework for Earth science research and data analysis.

Overview

COREFRAME is a specialized Python framework designed for Earth science research, providing robust tools for handling complex multidimensional datasets in atmospheric, oceanic, and climate sciences.

Features

CoreArray

  • Coordinate-aware array operations based on NumPy

  • Intelligent dimension handling

  • Seamless integration with NumPy's universal functions

  • Support for labeled dimensions and metadata

HDF5 Integration

  • High-level interface for HDF5 files

  • Automatic coordinate system management

  • Advanced time dimension handling with calendar support

  • Comprehensive metadata preservation

Performance Optimization

  • Result caching system for computationally intensive operations

  • Parallel processing capabilities with configurable worker pools

  • Compressed storage options

  • Hash-based cache management

Data Analysis Tools

  • Efficient time-series operations

  • Support for various calendar systems

  • Area-based spatial calculations

  • Geographical coordinate support

  • Gridded data handling

Installation

pip install coreframe

Requirements

  • Python 3.6 or higher

  • NumPy

  • h5py

Quick Start

import numpy as np

from coreframe import CoreArray



# Create a sample dataset

data = np.random.rand(500, 100, 100)

time = np.arange('2001-01-01', '2002-05-15', dtype='datetime64[D]')

lat = np.linspace(-90, 90, 100)

lon = np.linspace(-180, 180, 100)



# Create CoreArray with coordinates

coords = {

    'time': time,

    'lat': lat,

    'lon': lon

}

arr = CoreArray(data, coords)



# Perform operations

result = arr.apply_by_time("time", "1M", np.max, axis=0)

Key Use Cases

  • Climate data analysis

  • Atmospheric science research

  • Oceanographic studies

  • Earth system modeling

  • Geospatial data processing

  • Environmental time series analysis

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue on the GitHub repository.

Authors

Developed and maintained by the MetaEarth Lab.


For more information, please contact: hyungjun@gmail.com

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

coreframe-1.0.0a0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

coreframe-1.0.0a0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file coreframe-1.0.0a0.tar.gz.

File metadata

  • Download URL: coreframe-1.0.0a0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.20

File hashes

Hashes for coreframe-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 676c23574f6527f80acba6042ba7107ea47eb5ee6d762e1b1ec826165973fa0c
MD5 caa7582ac932750bcbf7ada6e568e5bf
BLAKE2b-256 4c644e24a107d494dfafa1a3f55da8a76ecb5b18f2a64c48e9a77251df2fa341

See more details on using hashes here.

File details

Details for the file coreframe-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: coreframe-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.20

File hashes

Hashes for coreframe-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdef024ecee07427e7e3f64fadac47d5cc5b9bce27d9a050a3895b3ef37dc45d
MD5 64704c9ba2148cca332d1d50959170c5
BLAKE2b-256 cfbbbd98f2c5fe4922b78136030658ad061fcdbf6831f1e0702dd0b070c7e9cb

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