Ignore:
Timestamp:
Mar 1, 2019 8:56:57 AM (5 years ago)
Author:
maronga
Message:

added output of theta_2m_av and minor revisions in palm_csd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_csd_files/palm_csd_canopy_generator.py

    r3668 r3773  
    2525# -----------------
    2626# $Id$
     27# Bugfix: conversion to integer required for indexing
     28#
     29# 3668 2019-01-14 12:49:24Z maronga
    2730# Various improvements and bugfixes
    2831#
     
    302305
    303306#  Define center of the tree position inside the local LAD domain
    304    tree_location_x = x[nx/2]
    305    tree_location_y = y[nx/2]
     307   tree_location_x = x[int(nx/2)]
     308   tree_location_y = y[int(nx/2)]
    306309
    307310
Note: See TracChangeset for help on using the changeset viewer.