Changeset 53d3b2a in flex_extract.git


Ignore:
Timestamp:
Jan 31, 2020, 12:32:29 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
eca358d
Parents:
aad03f2
Message:

added more tests for grib file comparison and removed detected BUGS

Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Classes/EcFlexpart.py

    r0f89116 r53d3b2a  
    321321
    322322        '''
     323        if self.purefc:
     324            # need to retrieve forecasts for step 000 in case of pure forecast
     325            steps = '{}/to/{}/by/{}'.format(0, self.accmaxstep, self.dtime)
     326        else:
     327            steps = '{}/to/{}/by/{}'.format(self.dtime,
     328                                            self.accmaxstep,
     329                                            self.dtime)
     330
    323331        self.types[str(self.acctype)] = {'times': str(self.acctime),
    324                                          'steps': '{}/to/{}/by/{}'.format(
    325                                              self.dtime,
    326                                              self.accmaxstep,
    327                                              self.dtime)}
     332                                         'steps': steps}
    328333        return
    329334
     
    781786
    782787                    elif self.basetime == 0:
    783                         retr_param_dict['date'] = \
    784                             datetime.strftime(elimit - t24h, '%Y%m%d')
     788#                        retr_param_dict['date'] = \
     789#                            datetime.strftime(elimit - t24h, '%Y%m%d')
    785790
    786791                        timesave = ''.join(retr_param_dict['time'])
     
    16021607
    16031608            # skip all temporary times
    1604             # which are outside the retrieval period               
     1609            # which are outside the retrieval period
    16051610            if timestamp < start_period or \
    16061611               timestamp > end_period:
    16071612                continue
    1608                
     1613
    16091614
    16101615            # @WRF
  • Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_CERA.compare

    raad03f2 r53d3b2a  
    1 START_DATE 20090809
     1START_DATE 20000908
    22DTIME 3
    33TYPE AN AN AN AN AN AN AN AN
     
    2121PREFIX CE
    2222ECTRANS 1
     23FORMAT GRIB2
  • Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_EI.compare

    raad03f2 r53d3b2a  
    1 START_DATE 20090809
     1START_DATE 20150809
    22DTIME 3
    33TYPE AN FC FC FC AN FC FC FC
  • Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.36hours.compare

    raad03f2 r53d3b2a  
    2121PREFIX FC
    2222ECTRANS 1
     23FORMAT GRIB2
  • Testing/Regression/Compare_gribfiles/7.1/Controls/CONTROL_OD.OPER.FC.eta.compare

    raad03f2 r53d3b2a  
    1414RESOL 799
    1515ETA 1
     16CWC 1
    1617FORMAT GRIB2
    1718PREFIX ENE
  • Testing/Regression/Compare_gribfiles/test_cmp_grib_file.py

    rbe6c0a2 r53d3b2a  
    1111Note
    1212----
     13
     14Licence:
     15--------
     16    (C) Copyright 2014-2019.
     17
     18    SPDX-License-Identifier: CC-BY-4.0
     19
     20    This work is licensed under the Creative Commons Attribution 4.0
     21    International License. To view a copy of this license, visit
     22    http://creativecommons.org/licenses/by/4.0/ or send a letter to
     23    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
    1324
    1425
     
    2334import os
    2435import sys
     36from datetime import datetime
    2537from eccodes import GribFile, GribMessage
    2638
  • Testing/Regression/Mars_request/test_cmp_mars_requests.py

    rbe6c0a2 r53d3b2a  
    2323It is necessary to have a directory named after the version number of
    2424flex_extract. For example: "7.0.3" and "7.1".
     25
     26Licence:
     27--------
     28    (C) Copyright 2014-2019.
     29
     30    SPDX-License-Identifier: CC-BY-4.0
     31
     32    This work is licensed under the Creative Commons Attribution 4.0
     33    International License. To view a copy of this license, visit
     34    http://creativecommons.org/licenses/by/4.0/ or send a letter to
     35    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
    2536
    2637Example
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG