#  Fortran programs and datas to run compare GWS parameterization
#  Rouitines to strateole values of MFs:
#
#  1. List of directories
#
#     1.1 run_v4
#         Containes the scripts to launch the ENKF analisys and one 
#         prediction of the MFs fluxes for 2 set  of tuning parameters
#          (ENKF_launch.sh and one_launch.sh respectively)
#
#     1.2 prog_v4
#         Fortran programs that run in offline modes the parameterizations
#         and the parameterization subroutines:

#         flott_gwd_rando_COST.f90 and flott_gwd_rando_ENKF.f90
#    Two slightly different version of the Lott and Guez convective 
#    parameterization scheme. Differ only to adapt the Openmp framework
#    neede for ENKF
#         acama_gwd_rando_JGR22.f90: Frontal GW scheme, not used in the ENKf paper
#         orografi_strato_JGR22.f90:  Lott and Miller (1997) SSO scheme
#
#         laun_gwd_era5_JGR25.f90 :  Main program launching the schemes
#         for one set of parameters all the balloon flights in a row 
#
#          laun_gwd_era5_ENKF.f90: Programm launching the ENKf for one balloon
#                                 flight
Lott, F. and L. Guez, 2013: A stochastic parameterization of the gravity waves due to convection and its impact on the equatorial stratosphere, Journal of Geophysical Research, J. Geophys. Res., 118, 16, 8897-8909. DOI: 10.1002/jgrd.50705.
A. de la Camara and F. Lott, 2015: A parameterization of gravity waves emitted by fronts and jets, Geophys. Res. Lett., 42, doi:10.1002/2015GL063298.
Lott, F., and M. Miller,  A new subgrid scale orographic drag parameterization;  its testing in the ECMWF model,  Quarterly Journal of the Royal Meteorological Society, 123, 101--127, 1997
#
#    1.3:  hourly_1deg_ph1_ph2:  Hourly averaged data
#          Strateole 2 datas of MFs : STRATEOLE2_ph1_ph2_1hrs15min.nc
#          ERA5_Strateole_ph1_ph2.nc: ERA5 field collocated with balloons
#          sso_ph1_ph2.nc: subgrid scale orography parameter below balloon
#          Balloon_alt_ph1_ph2.txt: altitde of the flights
#          nstart.txt and nend.txt, indexes giving the beginning and end of each
#          fligths counted in hours
#
#  For details on data and one single parameter setup, see:
F. Lott, R. Rani, A. Podglajen, F. Codron, L. Guez, A. Hertzog, and R. Plougonven, 2022 : Direct comparison between a non orographic gravity wave drag scheme and constant level balloons, JGR:atmosphere, 128, e2022JD037585. https://doi.org/10.1029/2022JD037585.
#
#
#   1.4:  divr_v4: Various programs and parameter set to make xmgrace visualizations
#
#   1.5:  xmgr_v4:  Storage of results
#
#   1.5:  Slatec:  A copy of the slatec library:
#
#  2 How to proceed:
#      You need xmgrace to plot and netcdf for fortran to read the data.
       the link to the netcdf library
#      has to be provided in the Makefiles used in run_v4
#
#  In Slatec:
#      You need to compile the Slatec library, just go into it and "make"
#
#  In run_v4:
#             ./ENKF_launch.sh to launch the ENKF, many different options
#             are propsed in the script, not all work in the provided setup

#            ./one_launch.sh, launch one set of parameter, two scenarios
#            are proposed (those in the ENKf paper) but feel free to modify
#            the namelist.
          




    
