GS2 can output many different quantities. Many are written into the netCDF output file, and unfortunately many more are written into a plethora of undocumented ascii files. Some are always written out, and some are only written out if you set one of a number of flags in the namelist diagnostics. This section tries to make sense of them.
There are perhaps 2 important things we want from GS2 output:
These are dealt with separately. Though sometimes the distinction can seem a little arbitrary, as most diagnostic quantities are in fact physical quantities, hopefully it makes it easier to get the full picture.
Suppose you don't have the input file, how do you find out what the input parameters were? The simple answer is
ncdump -c run_name.out.nc
In the various toroidal geometries, GS2 calculates all sorts of interesting quantities -- , , and so on. How do you find out what they were?
What values of theta
, ky
, kx
are the physical quantities given for?
Again the simple answer is
ncdump -c run_name.out.nc
Until this section is fleshed out try
grep fluxes run_name.out
There is no complete answer to this question, but here is a rough sketch. L stands for linear runs, N stands for non-linear.
shat
non-zeroky
on the extended grid
(instructions coming soon). They should go to 0 at either edge. (L&N)Set gs2_diagnostics_config_type to true.
In the file run_name.lpc
the columns are:
In the file run_name.verr
the columns are: