Index: Source/Python/Classes/EcFlexpart.py
===================================================================
--- Source/Python/Classes/EcFlexpart.py	(revision 0f89116d0fc1de9b182758abd84208eb9c6933b5)
+++ Source/Python/Classes/EcFlexpart.py	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -321,9 +321,14 @@
 
         '''
+        if self.purefc:
+            # need to retrieve forecasts for step 000 in case of pure forecast
+            steps = '{}/to/{}/by/{}'.format(0, self.accmaxstep, self.dtime)
+        else:
+            steps = '{}/to/{}/by/{}'.format(self.dtime,
+                                            self.accmaxstep,
+                                            self.dtime)
+
         self.types[str(self.acctype)] = {'times': str(self.acctime),
-                                         'steps': '{}/to/{}/by/{}'.format(
-                                             self.dtime,
-                                             self.accmaxstep,
-                                             self.dtime)}
+                                         'steps': steps}
         return
 
@@ -781,6 +786,6 @@
 
                     elif self.basetime == 0:
-                        retr_param_dict['date'] = \
-                            datetime.strftime(elimit - t24h, '%Y%m%d')
+#                        retr_param_dict['date'] = \
+#                            datetime.strftime(elimit - t24h, '%Y%m%d')
 
                         timesave = ''.join(retr_param_dict['time'])
@@ -1602,9 +1607,9 @@
 
             # skip all temporary times
-            # which are outside the retrieval period                
+            # which are outside the retrieval period
             if timestamp < start_period or \
                timestamp > end_period:
                 continue
-                
+
 
             # @WRF
Index: Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_CERA.compare
===================================================================
--- Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_CERA.compare	(revision aad03f21fdf81584a239fec9ccb563159e4cc98c)
+++ Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_CERA.compare	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -1,3 +1,3 @@
-START_DATE 20090809
+START_DATE 20000908
 DTIME 3
 TYPE AN AN AN AN AN AN AN AN
@@ -21,2 +21,3 @@
 PREFIX CE
 ECTRANS 1
+FORMAT GRIB2
Index: Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_EI.compare
===================================================================
--- Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_EI.compare	(revision aad03f21fdf81584a239fec9ccb563159e4cc98c)
+++ Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_EI.compare	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -1,3 +1,3 @@
-START_DATE 20090809 
+START_DATE 20150809 
 DTIME 3
 TYPE AN FC FC FC AN FC FC FC
Index: Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.36hours.compare
===================================================================
--- Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.36hours.compare	(revision aad03f21fdf81584a239fec9ccb563159e4cc98c)
+++ Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.36hours.compare	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -21,2 +21,3 @@
 PREFIX FC
 ECTRANS 1
+FORMAT GRIB2
Index: Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.eta.compare
===================================================================
--- Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.eta.compare	(revision aad03f21fdf81584a239fec9ccb563159e4cc98c)
+++ Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.eta.compare	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -14,4 +14,5 @@
 RESOL 799
 ETA 1
+CWC 1
 FORMAT GRIB2
 PREFIX ENE
Index: Testing/Regression/Compare_gribfiles/Log/log_2020-01-31_13-17-45
===================================================================
--- Testing/Regression/Compare_gribfiles/Log/log_2020-01-31_13-17-45	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
+++ Testing/Regression/Compare_gribfiles/Log/log_2020-01-31_13-17-45	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -0,0 +1,135 @@
+Compare GRIB files between version  + old_version +  and version  + new_version +  : \n
+
+
+Welcome!
+Reference path is:  7.0.4/BASETIME/
+New path is:  7.1/BASETIME/
+Filepattern is:  *
+The input files are: ['BT19063015', 'BT19063018', 'BT19063021', 'BT19070100']
+The input files are: ['BT19063015', 'BT19063018', 'BT19063021', 'BT19070100']
+
+-- GRIB #55 -- shortName=ssr paramId=176 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [totalLength]: [220] != [583]
+
+... FILES HAVE DIFFERENCES IN GRIB MESSAGES!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/CERA/
+New path is:  7.1/CERA/
+Filepattern is:  *
+The input files are: ['CE00090800', 'CE00090803', 'CE00090806', 'CE00090809', 'CE00090812', 'CE00090815', 'CE00090818', 'CE00090821']
+The input files are: ['CE00090800', 'CE00090803', 'CE00090806', 'CE00090809', 'CE00090812', 'CE00090815', 'CE00090818', 'CE00090821']
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+
+-- GRIB #548 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [tablesVersion]: [23] != [5]
+string [typeOfProcessedData]: [1] != [fc]
+string [typeOfFirstFixedSurface]: [1] != [sfc]
+
+... FILES HAVE DIFFERENCES IN GRIB MESSAGES!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/EA5/
+New path is:  7.1/EA5/
+Filepattern is:  *
+The input files are: ['EA18120100', 'EA18120103', 'EA18120106', 'EA18120109', 'EA18120112', 'EA18120115', 'EA18120118', 'EA18120121']
+The input files are: ['EA18120100', 'EA18120103', 'EA18120106', 'EA18120109', 'EA18120112', 'EA18120115', 'EA18120118', 'EA18120121']
+GRIB_COMPARISON: SUCCESSFULL!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/EI/
+New path is:  7.1/EI/
+Filepattern is:  *
+The input files are: ['EI15080900', 'EI15080903', 'EI15080906', 'EI15080909', 'EI15080912', 'EI15080915', 'EI15080918', 'EI15080921']
+The input files are: ['EI15080900', 'EI15080903', 'EI15080906', 'EI15080909', 'EI15080912', 'EI15080915', 'EI15080918', 'EI15080921']
+GRIB_COMPARISON: SUCCESSFULL!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/ETAOD/
+New path is:  7.1/ETAOD/
+Filepattern is:  *
+The input files are: ['ENE18080900', 'ENE18080901', 'ENE18080902', 'ENE18080903', 'ENE18080904', 'ENE18080905', 'ENE18080906', 'ENE18080907', 'ENE18080908', 'ENE18080909', 'ENE18080910', 'ENE18080911', 'ENE18080912', 'ENE18080913', 'ENE18080914', 'ENE18080915', 'ENE18080916', 'ENE18080917', 'ENE18080918', 'ENE18080919', 'ENE18080920', 'ENE18080921', 'ENE18080922', 'ENE18080923']
+The input files are: ['ENE18080900', 'ENE18080901', 'ENE18080902', 'ENE18080903', 'ENE18080904', 'ENE18080905', 'ENE18080906', 'ENE18080907', 'ENE18080908', 'ENE18080909', 'ENE18080910', 'ENE18080911', 'ENE18080912', 'ENE18080913', 'ENE18080914', 'ENE18080915', 'ENE18080916', 'ENE18080917', 'ENE18080918', 'ENE18080919', 'ENE18080920', 'ENE18080921', 'ENE18080922', 'ENE18080923']
+GRIB_COMPARISON: SUCCESSFULL!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/GAUSSOD/
+New path is:  7.1/GAUSSOD/
+Filepattern is:  *
+The input files are: ['ENG18080900', 'ENG18080901', 'ENG18080902', 'ENG18080903', 'ENG18080904', 'ENG18080905', 'ENG18080906', 'ENG18080907', 'ENG18080908', 'ENG18080909', 'ENG18080910', 'ENG18080911', 'ENG18080912', 'ENG18080913', 'ENG18080914', 'ENG18080915', 'ENG18080916', 'ENG18080917', 'ENG18080918', 'ENG18080919', 'ENG18080920', 'ENG18080921', 'ENG18080922', 'ENG18080923']
+The input files are: ['ENG18080900', 'ENG18080901', 'ENG18080902', 'ENG18080903', 'ENG18080904', 'ENG18080905', 'ENG18080906', 'ENG18080907', 'ENG18080908', 'ENG18080909', 'ENG18080910', 'ENG18080911', 'ENG18080912', 'ENG18080913', 'ENG18080914', 'ENG18080915', 'ENG18080916', 'ENG18080917', 'ENG18080918', 'ENG18080919', 'ENG18080920', 'ENG18080921', 'ENG18080922', 'ENG18080923']
+GRIB_COMPARISON: SUCCESSFULL!
+===================================================================================================
+
+
+Welcome!
+Reference path is:  7.0.4/PUREFC/
+New path is:  7.1/PUREFC/
+Filepattern is:  *
+The input files are: ['FC180809.00.000', 'FC180809.00.003', 'FC180809.00.006', 'FC180809.00.009', 'FC180809.00.012', 'FC180809.00.015', 'FC180809.00.018', 'FC180809.00.021', 'FC180809.00.024', 'FC180809.00.027', 'FC180809.00.030', 'FC180809.00.033', 'FC180809.00.036']
+The input files are: ['FC180809.00.000', 'FC180809.00.003', 'FC180809.00.006', 'FC180809.00.009', 'FC180809.00.012', 'FC180809.00.015', 'FC180809.00.018', 'FC180809.00.021', 'FC180809.00.024', 'FC180809.00.027', 'FC180809.00.030', 'FC180809.00.033', 'FC180809.00.036']
+
+-- GRIB #50 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [day]: [10] != [9]
+long [hour]: [9] != [0]
+long [forecastTime]: [0] != [33]
+
+
+-- GRIB #50 -- shortName=lsp paramId=142 stepRange=0 levelType=1 level=0 packingType= gridType=regular_ll --
+long [day]: [10] != [9]
+long [hour]: [12] != [0]
+long [forecastTime]: [0] != [36]
+
+... FILES HAVE DIFFERENCES IN GRIB MESSAGES!
+===================================================================================================
Index: Testing/Regression/Compare_gribfiles/run_cmp_test.sh
===================================================================
--- Testing/Regression/Compare_gribfiles/run_cmp_test.sh	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
+++ Testing/Regression/Compare_gribfiles/run_cmp_test.sh	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
+# @Author: Anne Philipp
+#
+# @Date: November, 20 2019
+#
+# @Description: Starts the comparison script for all cases found in the new 
+#               version directory. Results are written to a log file placed
+#               in the Log directory.
+#
+# @Call command:  ./run_cmp_test.sh <reference version> <new version>
+#    
+# @ChangeHistory: 
+#
+# @Licence:
+#    (C) Copyright 2014-2019.
+#
+#    SPDX-License-Identifier: CC-BY-4.0
+#
+#    This work is licensed under the Creative Commons Attribution 4.0
+#    International License. To view a copy of this license, visit
+#    http://creativecommons.org/licenses/by/4.0/ or send a letter to
+#    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
+#
+# @Example: 
+#         ./run_cmp_test.sh 7.0.4 7.1
+#
+
+if [ $# -eq 0 ]; then
+  echo "No arguments passed"
+  exit
+fi
+
+if [ $# -eq 1 ]; then
+  echo "Second argument is missing"
+  exit
+fi
+
+old_version=$1
+new_version=$2
+
+current_time=$(date "+%Y-%m-%d_%H-%M-%S")
+testcases=`ls ${new_version}/`
+
+echo 'Test to compare GRIB files between two versions'
+echo 'Compare GRIB files between version ' + old_version + ' and version ' + new_version + ' : \n' > Log/log_$current_time
+
+for case in $testcases; do
+
+  if [[ "$case" == "Controls" ]]; then 
+    continue
+  fi 
+  echo "Compare $case ..."
+  python test_cmp_grib_file.py -r 7.0.4/${case}/ -n 7.1/${case}/ -p '*' >> Log/log_$current_time 2>&1
+
+  echo "===================================================================================================" >> Log/log_$current_time
+
+done
+
Index: Testing/Regression/Compare_gribfiles/test_cmp_grib_file.py
===================================================================
--- Testing/Regression/Compare_gribfiles/test_cmp_grib_file.py	(revision be6c0a2a4151437fa6e0d2b1b393ceb038f1386a)
+++ Testing/Regression/Compare_gribfiles/test_cmp_grib_file.py	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -11,4 +11,15 @@
 Note
 ----
+
+Licence:
+--------
+    (C) Copyright 2014-2019.
+
+    SPDX-License-Identifier: CC-BY-4.0
+
+    This work is licensed under the Creative Commons Attribution 4.0
+    International License. To view a copy of this license, visit
+    http://creativecommons.org/licenses/by/4.0/ or send a letter to
+    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
 
 
@@ -23,4 +34,5 @@
 import os
 import sys
+from datetime import datetime
 from eccodes import GribFile, GribMessage
 
Index: Testing/Regression/Mars_request/test_cmp_mars_requests.py
===================================================================
--- Testing/Regression/Mars_request/test_cmp_mars_requests.py	(revision be6c0a2a4151437fa6e0d2b1b393ceb038f1386a)
+++ Testing/Regression/Mars_request/test_cmp_mars_requests.py	(revision 53d3b2a98458bb896f69efe86b1267b7879b7612)
@@ -23,4 +23,15 @@
 It is necessary to have a directory named after the version number of
 flex_extract. For example: "7.0.3" and "7.1".
+
+Licence:
+--------
+    (C) Copyright 2014-2019.
+
+    SPDX-License-Identifier: CC-BY-4.0
+
+    This work is licensed under the Creative Commons Attribution 4.0
+    International License. To view a copy of this license, visit
+    http://creativecommons.org/licenses/by/4.0/ or send a letter to
+    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
 
 Example
