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
Metadata
Release files for coreframe 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coreframe-1.0.3.tar.gz | 20.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coreframe-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.7 kB
Release files / coreframe-1.0.3.tar.gz
| Download URL | coreframe-1.0.3.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08ae4ebe9e9f0ead8273beae64d2a90cafc00ba4efdbb654087cb7728935148b
|
|
BLAKE2b-256 checksum How to use checksums |
4295daf968cb59ff0fb55c0f26f771393ca607eb721576b99fa947957bcfa1cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / coreframe-1.0.3-py3-none-any.whl
| Download URL | coreframe-1.0.3-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45234642de2d57934ecd75fc39117ebd225cb0d5508ae6e1321546c943267d55
|
|
BLAKE2b-256 checksum How to use checksums |
a6ff23788ecf09ef342008fd62e8df7ce2ea128f7f0a3f92dd50b732df8b43b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|