FileEOPProvider¶
Module: brahe.eop
Load Earth Orientation Parameters from IERS data files, in either Standard (finals2000A.all) or C04 (eopc04_IAU2000.XX) format.
FileEOPProvider ¶
File-based Earth Orientation Parameter provider.
Loads EOP data from files in standard IERS formats and provides interpolation and extrapolation capabilities.
Example
Initialize instance.
from_c04_file builtin ¶
from_c04_file(filepath: str, interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from a C04 format EOP file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filepath | str | Path to C04 EOP file | required |
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with C04 file data |
from_default_c04 builtin ¶
from_default_c04(interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from the default C04 EOP file location.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with default C04 file |
from_default_file builtin ¶
from_default_file(eop_type: str, interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from default EOP file location with specified type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
eop_type | str | EOP file type ("C04" or "StandardBulletinA") | required |
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with default file of specified type |
from_default_standard builtin ¶
from_default_standard(interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from the default standard IERS EOP file location.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with default standard file |
from_file builtin ¶
from_file(filepath: str, interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from an EOP file with automatic format detection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filepath | str | Path to EOP file | required |
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with file data |
from_standard_file builtin ¶
from_standard_file(filepath: str, interpolate: bool, extrapolate: str) -> FileEOPProvider
Create provider from a standard IERS format EOP file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filepath | str | Path to standard IERS EOP file | required |
interpolate | bool | Enable interpolation between data points | required |
extrapolate | str | Extrapolation method ("Hold", "Zero", or "Error") | required |
Returns:
| Name | Type | Description |
|---|---|---|
FileEOPProvider | FileEOPProvider | Provider initialized with standard file data |
get_dxdy method descriptor ¶
get_eop method descriptor ¶
get_lod method descriptor ¶
get_pm method descriptor ¶
get_ut1_utc method descriptor ¶
is_empty method descriptor ¶
is_empty() -> bool
Check if the provider contains no EOP data points.
Returns:
| Name | Type | Description |
|---|---|---|
bool | bool | True if the provider has no EOP data points |
See Also¶
- StaticEOPProvider - Built-in historical EOP data
- EOP Functions - Global EOP management
- Frames - Coordinate transformations using EOP