<commit_before>#!/usr/bin/python

# Parameters
MEANIE3D_HOME     = "M3D_HOME"
NETCDF_DIR        = "SOURCE_DIR"
VAR_NAME          = "RADOLAN_VAR_NAME"

# Import modules
import sys
sys.path.append(M3D_HOME+"/scripts/python-modules")
import glob
import os
import time
import visit2D
import visitUtils
from subprocess import call

# Silent
SuppressMessages(True)
SuppressQueryOutputOn()

print "SOURCE_DIR="+NETCDF_DIR
print "MEANIE3D_HOME="+MEANIE3D_HOME

# Set view and annotation attributes

print "Setting rendering attributes"
r = RenderingAttributes()
#r.geometryRepresentation = r.Points;
r.geometryRepresentation = r.Wireframe;
SetRenderingAttributes(r);

print ColorTableNames()

#print "Setting annotation attributes:"
#visit2D.set_annotations()<commit_msg>fixed a problem with visualising radolan clusters<commit_after>#!/usr/bin/python

# Parameters
MEANIE3D_HOME     = "M3D_HOME"
NETCDF_DIR        = "SOURCE_DIR"
VAR_NAME          = "RADOLAN_VAR_NAME"

# Import modules
import sys
import os
sys.path.append(os.path.join(MEANIE3D_HOME,"scripts/python-modules"))
import glob
import time
import visit2D
import visitUtils
from subprocess import call

# Silent
SuppressMessages(True)
SuppressQueryOutputOn()

print "SOURCE_DIR="+NETCDF_DIR
print "MEANIE3D_HOME="+MEANIE3D_HOME

# Set view and annotation attributes

print "Setting rendering attributes"
r = RenderingAttributes()
#r.geometryRepresentation = r.Points;
r.geometryRepresentation = r.Wireframe;
SetRenderingAttributes(r);

print ColorTableNames()

#print "Setting annotation attributes:"
#visit2D.set_annotations()
{'fraction_non_alphanumeric': 0.09050632911392405, 'fraction_numerical': 0.008860759493670886, 'mean_word_length': 6.121621621621622, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4728360', 'n_tokens_mistral': 516, 'n_tokens_neox': 513, 'n_words': 119}