Rev 3 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
Tropopause folding calculator:(*original reference to be added*)original work by B.Skerlak (bojan.skerlak@env.ethz.ch)extended for netcdf data by A.Pozzer (andrea.pozzer@mpic.de)------------------------------------------------------------------To use the algorithm:1) Extract the zip file2) Modify the Makefile to the current machine set-up3) Compile to code with the command "make".Other options possible with "make help".4) Create a namelist file (filename.nml) with the specific of thenetcdf files to be analyzed (see EMAC.nml for example).5) run the code with the command "3d_labelling_and_fold_id.exe filename.nml"-------------------------------------------------------------------NML format:the namelist file should contain the following fields:------------------------------------------------------------------&CTRL! input file (path included)file_input = '/ptmp/andrep/ZANIS/ZANIS__________20000801_0000_fold.nc'! output file (path included)file_output = 'test.nc'! name of the longitude dimension in the fileX_name = 'lon'! name of the latitude dimension in the fileY_name = 'lat'! name of the level dimension in the fileZ_name = 'lev'! name of the time dimension in the fileT_name = 'time'! name of the surface pressureAPS_name = 'aps'! name of the hybrid coefficient AHYAM_name = 'hyam'! name of the hybrid coefficient BHYBM_name = 'hybm'! name of the specific humidity fieldQ_name = 'qm1'! name of the potential vorticity fieldPV_name = 'PV'! name of the potential temperature fieldPT_name = 'tpot'/------------------------------------------------------------------WARNINGS:1) The code works automatically only if all the needed data (i.e. Q,PV,PT)are included in the same input file.2) Only hybrid pressure coordinates included in the pressurecalculation.------------------------------------------------------------------