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.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file coreframe-1.0.1.tar.gz.

File metadata

  • Download URL: coreframe-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 28d8fb876e353d1036d31daf507fed870725b3dcd059822527a3baad75a7b51f
MD5 44a889ee00c55bfd1df512045bf482b3
BLAKE2b-256 035d62ccf5d51dc8a551ee07fae1e0f3e89f5f94ac771ad318feaa4b59acd902

See more details on using hashes here.

File details

Details for the file coreframe-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: coreframe-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39c5e19e31e9188ae89e4af6881e404295b6165863c9dcaf8ec5abb307d281fa
MD5 bfad895afe818f020f7179f90dd76bf1
BLAKE2b-256 fa2ce8f5350a76fe175e2c224d23962ee787b366889120747d7c050afd9792e8

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