Changeset 8463d78 in flex_extract.git for Source/Python/Classes/EcFlexpart.py


Ignore:
Timestamp:
Jul 30, 2019, 7:56:59 AM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
44174de
Parents:
c905313
Message:

made python3 again, now working

File:
1 edited

Legend:

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

    rba99230 r8463d78  
    1 #!/usr/bin/env python
     1#!/usr/bin/env python3
    22# -*- coding: utf-8 -*-
    33#*******************************************************************************
     
    846846            if area[1] > area[3]:
    847847                area[1] -= 360
    848             maxl = round((area[3] - area[1]) / grid[1]) + 1
    849             maxb = round((area[0] - area[2]) / grid[0]) + 1
     848            maxl = int(round((area[3] - area[1]) / grid[1])) + 1
     849            maxb = int(round((area[0] - area[2]) / grid[0])) + 1
    850850
    851851            stream = namelist_template.generate(
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG