import_rtheta
Create a polar coordinate .pf file from a windsave2table file.
Read the master file produced by windsave2table for a rtheta (polar-coordinate mode model and produce a file to be read by import in python
Command line usage (if any):
usage: import_rtheta.py rootname
e.g rtheta to read a the master.txt table
rtheta.0.master.txt
Description:
This routine allows one to create examples of files that can be imported into Sirocco. It is intended to be useful for creating examples, and for regression testing
Primary routines:
doit
Notes
Windsave2table saves the values of rho in the CMF frame, but Sirocco expects models to be in the observer frame so this routine corrects for this.
History:
171106 ksl Coding begun
Functions
|
Read a master.txt file produced by windsave2table for an rtheda coordinate model and produce a file which can be imported into python |
|
Read a file and split it into words, eliminating comments |
|
Read a file using astropy.io.ascii and return this |