Closed rdoddanavar closed 3 years ago
Related to #20
RASP engine files are *.eng
, Rocksim engine files are *.rse
(XML)
import pathlib
print(pathlib.Path('yourPath.example').suffix) # '.example'
Single load
function, point towards specific function based on file extension (*.rse
vs *.eng
)
Help for working with XML files: https://stackabuse.com/reading-and-writing-xml-files-in-python/
Proposed
preproc_model.py
that defines parsing routines specific to model input files; ex. aero model, prop model, etc.Engine model file format: http://www.thrustcurve.org/raspformat.shtml
Module should create data suitable for initializing prop model