Creation of a branch for the development of a new country version - GaelleLeTreut/IMACLIM-Country GitHub Wiki

The master is the trunk branch, which includes all developed national versions and serves as the basis for the development of a new IMACLIM-country. We take as an example in this quick tutorial, the creation of a new branch for the country "France"

1. Create a new branch from the master and name it by the name of the developing country (ex: France)

2. Add "France" in the list of countries available to run IMACLIM following these steps:

  • Go to study_frame and open the Country_Selection.cvs file
  • Using the model of the countries already listed, add a line in the format: Country; Country Name; Name in 2 letters.

ex: Country;France;FR

The country that is uncommented will be the one for running IMACLIM.

The 2-letter name is chosen according to ISO standards. https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

3. Create specific data, params, study_frames folder

  • In the data folder, create a folder in the format data_"3letter_country name" (ex= data_FRA)

The three-letter country code must be written as in the country selection file.

  • Do the same for the params and study_frames folders.

4. Load your parameters, and data in the corresponding folders. They must be built on the same basis as other countries.