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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coreframe-1.0.3-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coreframe-1.0.3.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for coreframe-1.0.3.tar.gz
Algorithm Hash digest
SHA256 08ae4ebe9e9f0ead8273beae64d2a90cafc00ba4efdbb654087cb7728935148b
MD5 63479fee713856dab1cb93f0bbba600a
BLAKE2b-256 4295daf968cb59ff0fb55c0f26f771393ca607eb721576b99fa947957bcfa1cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coreframe-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for coreframe-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45234642de2d57934ecd75fc39117ebd225cb0d5508ae6e1321546c943267d55
MD5 c21a8c35506ff9885e8fd26c1030c592
BLAKE2b-256 a6ff23788ecf09ef342008fd62e8df7ce2ea128f7f0a3f92dd50b732df8b43b9

See more details on using hashes here.

Supported by

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