1 Planet Specification Format (PSF)

The planet specification format (PSF)

The idea is to define the atmosphere specification in a robust way, which is both future proof and misinterpretation-proof. The main characteristics of the format are:

Column nr Name Long Name Unit Range Type, Notation
0 alt_low altitude at bottom of the layer km 0- %12e
1 alt_high altitude at top of the layer km 0- %12e
2 phi_low azimuth angle start rad 0-6.2831853 %12e
3 phi_high azimuth angle stop rad 0-6.2831853 %12e
4 theta_low polar angle start rad 0-3.14159265 %12e
5 theta_high polar angle stop rad 0-3.14159265 %12e
6 SDID (0=core,1=crust), 2,3,… 0-666 %4i
7 Temperature K 0- %12e
8 Density $\rm{g}/\rm{cm}^3$ 0- %12e
9 Pressure hPa 0- %12e
10 Soil Mass fraction of soil $\%\,(\rm{kg}/\rm{kg})$ 0-1.0 %12e
11 $\rm{CO_2}$ Mass fraction of CO2 $\%\,(\rm{kg}/\rm{kg})$ 0-1.0 %12e
12 $\rm{N_2}$ Mass fraction of N2 $\%\,(\rm{kg}/\rm{kg})$ 0-1.0 %12e
13 $\rm{Ar}$ Mass fraction of Ar $\%\,(\rm{kg}/\rm{kg})$ 0-1.0 %12e
Examples files

The gdml files are created using the psf2gdml.py script. Note that the .psf files offers advantages for human use, since it is much easier to read. 1)


1) The specified number format has not been used, since we wanted the examples to be illustrative of the general features.