The UFZ services GitLab and Mattermost will be unavailable on Monday, October 25 from 06:00 AM to 08:00 AM due to maintenance work.

Commit 2673d60c authored by Robert Schweppe's avatar Robert Schweppe
Browse files

Merge branch 'refactor_graphviz_prog' into 'develop'

Refactor graphviz prog

See merge request !63
parents ce417a68 92228331
0.6.5
\ No newline at end of file
0.6.6
\ No newline at end of file
......@@ -21,10 +21,10 @@ MODULE mo_mpr_constants
! ------------------------------------------------------------------
integer(i4), parameter, public :: maxStringLength = 2048_i4 ! maximum string length, e.g. for transfer functions
integer(i4), parameter, public :: maxNameLength = 256_i4 ! maximum string length, e.g. for coordinate names etc.
integer(i4), parameter, public :: maxNoDataArrays = 200_i4 ! maximum number of data arrays
integer(i4), parameter, public :: maxNoDataArrays = 1000_i4 ! maximum number of data arrays
integer(i4), parameter, public :: maxNoUpscalers = 50_i4 ! maximum number of upscalers
integer(i4), parameter, public :: maxNoCoordUpscalers = 50_i4 ! maximum number of dim upscalers
integer(i4), parameter, public :: maxNoParameters = 1000_i4 ! maximum number of constants
integer(i4), parameter, public :: maxNoParameters = 10000_i4 ! maximum number of constants
integer(i4), parameter, public :: maxNoInputFieldsPerDA = 10_i4 ! maximum number of input fields per DA
integer(i4), parameter, public :: maxNoParameterPerDA = 30_i4 ! maximum number of parameters per DA
integer(i4), parameter, public :: maxNoCoordsPerDA = 5_i4 ! maximum number of allowed coordinates per DA
......
This diff is collapsed.
\documentclass{article}
\documentclass[border=20mm]{standalone}
\usepackage[x11names, rgb]{xcolor}
% for outlines of coordinate labels
\usepackage[outline]{contour}
\contourlength{2bp}
% for \centerarc command arg parsing
\usepackage{ifthen}
\usepackage[<<textencoding>>]{inputenc}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}
\usetikzlibrary{arrows,shapes,calc,decorations.markings,backgrounds,fit}
\usepackage{amsmath}
<<startpreprocsection>>%
\usepackage[active,auctex]{preview}
......@@ -19,9 +24,7 @@
<<endpreprocsection>>%
%
<<startoutputsection>>
\enlargethispage{100cm}
% Start of code
% \begin{tikzpicture}[anchor=mid,>=latex',join=bevel,<<graphstyle>>]
\begin{tikzpicture}[>=latex',join=bevel,<<graphstyle>>]
\pgfsetlinewidth{1bp}
<<figpreamble>>%
......
......@@ -709,8 +709,12 @@ class TFConverter(object):
"""parse the TFs from the Fortran source code and modify the source code according to configuration"""
tfs = self.tf_source.tf_names
# loop over effective params
transfer_funcs = self.mpr_nml[list(OPTIONS.keys())[23]]
for ii, name in enumerate(self.mpr_nml[list(OPTIONS.keys())[20]]):
transfer_func = self.mpr_nml[list(OPTIONS.keys())[23]][ii]
if ii + 1 == len(transfer_funcs):
transfer_func = None
else:
transfer_func = transfer_funcs[ii]
if name is None or transfer_func is None:
# no transfer function defined for this effective parameter
......@@ -722,8 +726,6 @@ class TFConverter(object):
if not predictors:
predictors = [name]
if name == 'FieldCap_till':
print('here')
# initialize transfer function object
tf = TF(
transfer_func,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment