Uncategorized

Batch file used at LRO to process data Nov 2025

REM Identify data folder structure.
REM The folder structure should be LRO folder with sub-folder called data. Save .txt data files in data and any .ezb and .npz data files in LRO

D:
cd D:\ezRA_Programs+Data\ezRABase\LRO\

REM Initial analysis of data on which further further processing depends.

py ..\ezRA\ezCon.py -ezConAstroMath 1 data -ezRAObsLat 52.7 -ezRAObsLon -1.8  -ezRAObsAmsl 81.0 -ezRAObsName LRO -ezConGalCrossingGLonCenterL 20 90 15  -ezConGalCrossingGLonNear 2.0
REM Above selects only readings within 2 degrees of data selected elsewhere (-ezConGalCrossingGLonNear 2.0)
REM -ezConGalCrossingGLonCenterL 20 90 15 - defines which galactic longitudes you want - 20 90 15 - start at 20 degs to left of galactic centre and keep adding 15 degrees until get to 90 degrees, ie. 20 degrees, 35 degrees, 50 degrees, 65 degrees, 80 degrees.
REM The 2 degrees selected in -ezConGalCrossingGLonNear 2.0 selects data for each of the above within 2.0 degrees of 20 degs, 35 degs, etc.

REM Below creates principal plots to display data in accessible format.

py ..\ezRA\ezPlot.py .
py ..\ezRA\ezSky.py  . -ezSkyVOGain 200
py ..\ezRA\ezGal.py  .
REM In following line I am trying to find the older version of ezGal which produces Milky Way 2D map correctly, as newest version has problem unless lot of data
py ..\ezRA\ezGal241126.py .
py ..\ezRA\ezGal240227a.py .

REM Below adds in ezGlon.py command to run on NPZ files to produce range cross sections of galaxy, which should show where galactic arms are - in galactic plane or above or below galactic plane.

py ..\ezRA\ezGLon.py . -ezGLonGalCrossingGLonCenterL 20 90 15

REM Above below generates mesh CSV data file for Rinearn3D.

py  ..\ezRA\ezGal250218e.py  .  -ezGal510Csv 1  -ezGalPlotRangeL 510 510

REM Below processes data using ezGLon241118a-py for variety angles part of 4D(3 spatial dimensions) processing & combine CSVs to create ezGLonAll580-csv for Rinearn3D LRO Folder:

py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 90
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 85
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 80
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 75
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 70
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 65
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 60
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 55
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 50
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 45
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 40
py ..\ezRA\ezGLon241118a.py . -ezGLonGalCrossingGLonNear 2 -ezGLonPlotRangeL 580 580 -ezGLon580CsvFrac 0.15 -ezGLonGalCrossingGLonCenter 35
TYPE ezGLon580*.csv > ezGLonAll580.csv
REM The line above generates a single combined file within “LRO” folder called ezGLonAll580.csv which can be opened in Rinearn3D.

PAUSE

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.