milescoder.MILESCoder
- class milescoder.MILESCoder
Generic encoder/decoder for MILES data using Pydantic model metadata.
- __init__()
Initialize the coder with layer models and element codes.
Methods
__init__()Initialize the coder with layer models and element codes.
decode(miles_str)Decode MILES string to structured data.
encode(data)Encode MILES data to string representation.