{"repo": "SEED-platform/seed", "pull_number": 1728, "instance_id": "SEED-platform__seed-1728", "issue_numbers": "", "base_commit": "a11d8d0687d30bc3c897ab193ddd1edd3ce017ad", "patch": "diff --git a/config/management/commands/grab_manifest.py b/config/management/commands/grab_manifest.py\n--- a/config/management/commands/grab_manifest.py\n+++ b/config/management/commands/grab_manifest.py\n@@ -28,8 +28,8 @@ def handle(self, *args, **options):\n \n # Check for AWS keys in settings\n if not hasattr(settings, 'AWS_ACCESS_KEY_ID') or \\\n- not hasattr(settings, 'AWS_SECRET_ACCESS_KEY'):\n- raise CommandError('Missing AWS keys from settings file. Please' + \\\n+ not hasattr(settings, 'AWS_SECRET_ACCESS_KEY'):\n+ raise CommandError('Missing AWS keys from settings file. Please' +\n 'supply both AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.')\n else:\n self.AWS_ACCESS_KEY_ID = settings.AWS_ACCESS_KEY_ID\n@@ -50,19 +50,19 @@ def handle(self, *args, **options):\n \n try:\n open(join(cache_root, MANIFEST_FILENAME))\n- print \"Manifest already exists locally.\"\n+ print(\"Manifest already exists locally.\")\n except IOError:\n do_download = True\n \n if do_download:\n- print \"Downloading manifest...\"\n+ print(\"Downloading manifest...\")\n u = urllib2.urlopen(\"%s%s/%s\" % (settings.STATIC_URL, CACHE_DIR, MANIFEST_FILENAME))\n manifest_path = join(cache_root, MANIFEST_FILENAME)\n try:\n remove(manifest_path)\n- except:\n+ except BaseException:\n pass\n localFile = open(manifest_path, 'w+')\n localFile.write(u.read())\n- print \"Done.\"\n+ print(\"Done.\")\n localFile.close()\ndiff --git a/config/management/commands/sync_static.py b/config/management/commands/sync_static.py\n--- a/config/management/commands/sync_static.py\n+++ b/config/management/commands/sync_static.py\n@@ -90,7 +90,7 @@ def handle(self, *args, **options):\n \n # Check for AWS keys in settings\n if not hasattr(settings, 'AWS_ACCESS_KEY_ID') or \\\n- not hasattr(settings, 'AWS_SECRET_ACCESS_KEY'):\n+ not hasattr(settings, 'AWS_SECRET_ACCESS_KEY'):\n raise CommandError('Missing AWS keys from settings file. Please' +\n 'supply both AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.')\n else:\n@@ -122,9 +122,9 @@ def handle(self, *args, **options):\n # upload all files found.\n self.sync_s3()\n \n- print\n- print \"%d files uploaded.\" % (self.upload_count)\n- print \"%d files skipped.\" % (self.skip_count)\n+ print()\n+ print(\"%d files uploaded.\" % (self.upload_count))\n+ print(\"%d files skipped.\" % (self.skip_count))\n \n def sync_s3(self):\n \"\"\"\n@@ -141,7 +141,8 @@ def sync_s3(self):\n \n def compress_string(self, s):\n \"\"\"Gzip a given string.\"\"\"\n- import cStringIO, gzip\n+ import cStringIO\n+ import gzip\n zbuf = cStringIO.StringIO()\n zfile = gzip.GzipFile(mode='wb', compresslevel=6, fileobj=zbuf)\n zfile.write(s)\n@@ -197,13 +198,12 @@ def upload_s3(self, arg, dirname, names):\n if local_datetime < s3_datetime:\n self.skip_count += 1\n if self.verbosity > 1:\n- print \"File %s hasn't been modified since last \" \\\n- \"being uploaded\" % (file_key)\n+ print(\"File %s hasn't been modified since last being uploaded\" % (file_key))\n continue\n \n # File is newer, let's process and upload\n if self.verbosity > 0:\n- print \"Uploading %s...\" % (file_key)\n+ print(\"Uploading %s...\" % (file_key))\n \n content_type = mimetypes.guess_type(filename)[0]\n if content_type:\n@@ -218,8 +218,7 @@ def upload_s3(self, arg, dirname, names):\n filedata = self.compress_string(filedata)\n headers['Content-Encoding'] = 'gzip'\n if self.verbosity > 1:\n- print \"\\tgzipped: %dk to %dk\" % \\\n- (file_size / 1024, len(filedata) / 1024)\n+ print(\"\\tgzipped: %dk to %dk\" % (file_size / 1024, len(filedata) / 1024))\n if self.do_expires:\n # HTTP/1.0\n headers['Expires'] = '%s GMT' % (email.Utils.formatdate(\n@@ -228,17 +227,17 @@ def upload_s3(self, arg, dirname, names):\n # HTTP/1.1\n headers['Cache-Control'] = 'max-age %d' % (3600 * 24 * 365 * 2)\n if self.verbosity > 1:\n- print \"\\texpires: %s\" % (headers['Expires'])\n- print \"\\tcache-control: %s\" % (headers['Cache-Control'])\n+ print(\"\\texpires: %s\" % (headers['Expires']))\n+ print(\"\\tcache-control: %s\" % (headers['Cache-Control']))\n \n try:\n key.name = file_key\n key.set_contents_from_string(filedata, headers, replace=True)\n key.make_public()\n- except boto.s3.connection.S3CreateError, e:\n- print \"Failed: %s\" % e\n- except Exception, e:\n- print e\n+ except boto.s3.connection.S3CreateError as e:\n+ print(\"Failed: %s\" % e)\n+ except Exception as e:\n+ print(e)\n raise\n else:\n self.upload_count += 1\ndiff --git a/config/settings/aws/aws.py b/config/settings/aws/aws.py\n--- a/config/settings/aws/aws.py\n+++ b/config/settings/aws/aws.py\n@@ -15,7 +15,7 @@\n elasticache = boto.elasticache.connect_to_region(AWS_REGION)\n cloudformation = boto.cloudformation.connect_to_region(AWS_REGION)\n except boto.exception.NoAuthHandlerFound:\n- print 'Looks like we are not on an AWS stack this module will not function'\n+ print('Looks like we are not on an AWS stack this module will not function')\n \n \n def get_stack_outputs():\n@@ -40,5 +40,6 @@ def get_cache_endpoint():\n ['CacheClusters'][0]['CacheNodes'][0]['Endpoint']\n )\n \n+\n if __name__ == '__main__':\n- print get_cache_endpoint()['Address']\n+ print(get_cache_endpoint()['Address'])\ndiff --git a/config/settings/dev.py b/config/settings/dev.py\n--- a/config/settings/dev.py\n+++ b/config/settings/dev.py\n@@ -94,10 +94,10 @@\n local_untracked_exists = imp.find_module(\n 'local_untracked', config.settings.__path__\n )\n-except:\n+except BaseException:\n pass\n \n if 'local_untracked_exists' in locals():\n from config.settings.local_untracked import * # noqa\n else:\n- print >> sys.stderr, \"Unable to find the local_untracked module in config/settings/local_untracked.py\"\n+ raise Exception(\"Unable to find the local_untracked in config/settings/local_untracked.py\")\ndiff --git a/config/settings/docker.py b/config/settings/docker.py\n--- a/config/settings/docker.py\n+++ b/config/settings/docker.py\n@@ -75,4 +75,3 @@\n \n if 'default' in SECRET_KEY:\n print(\"WARNING: SECRET_KEY is defaulted. Makes sure to override SECKET_KEY in local_untracked or env var\")\n-\ndiff --git a/config/settings/prod.py b/config/settings/prod.py\n--- a/config/settings/prod.py\n+++ b/config/settings/prod.py\n@@ -23,7 +23,7 @@\n \n # Enable this if not using Cloudflare\n #ONLY_HTTPS = os.environ.get('ONLY_HTTPS', 'True') == 'True'\n-#if ONLY_HTTPS:\n+# if ONLY_HTTPS:\n # MIDDLEWARE = ('sslify.middleware.SSLifyMiddleware',) + \\\n # MIDDLEWARE\n \ndiff --git a/config/storage.py b/config/storage.py\n--- a/config/storage.py\n+++ b/config/storage.py\n@@ -9,6 +9,7 @@\n class CachedS3BotoStorage(S3BotoStorage):\n \"\"\"S3 storage backend that saves the files locally, too.\n \"\"\"\n+\n def __init__(self, *args, **kwargs):\n super(CachedS3BotoStorage, self).__init__(*args, **kwargs)\n self.local_storage = get_storage_class(\ndiff --git a/config/template_context.py b/config/template_context.py\n--- a/config/template_context.py\n+++ b/config/template_context.py\n@@ -8,7 +8,7 @@ def session_key(request):\n from django.conf import settings\n try:\n return {'SESSION_KEY': request.COOKIES[settings.SESSION_COOKIE_NAME]}\n- except:\n+ except BaseException:\n return {}\n \n \ndiff --git a/config/views.py b/config/views.py\n--- a/config/views.py\n+++ b/config/views.py\n@@ -16,7 +16,7 @@ def robots_txt(request, allow=False):\n return HttpResponse(\n \"User-agent: *\\nAllow: /\", content_type=\"text/plain\"\n )\n- except:\n+ except BaseException:\n pass\n if allow:\n return HttpResponse(\"User-agent: *\\nAllow: /\", content_type=\"text/plain\")\ndiff --git a/docs/scripts/export_issues_to_csv.py b/docs/scripts/export_issues_to_csv.py\n--- a/docs/scripts/export_issues_to_csv.py\n+++ b/docs/scripts/export_issues_to_csv.py\n@@ -83,7 +83,7 @@ def add_issue_to_csv(issue):\n \n print(\"Finding P-1 Issues\")\n for issue in repo.issues(state='open', labels='P-1'):\n- add_issue_to_csv(issue)\n+ add_issue_to_csv(issue)\n \n print(\"Finding P-2 Issues\")\n for issue in repo.issues(state='open', labels='P-2'):\n@@ -98,7 +98,7 @@ def add_issue_to_csv(issue):\n try:\n if issue.number not in ids_added and not issue.pull_request():\n add_issue_to_csv(issue)\n- except:\n+ except BaseException:\n pass\n \n # write out the lines\ndiff --git a/docs/source/conf.py b/docs/source/conf.py\n--- a/docs/source/conf.py\n+++ b/docs/source/conf.py\n@@ -61,9 +61,9 @@\n master_doc = 'index'\n \n # General information about the project.\n-project = u'SEED Platform'\n-copyright = u'2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory'\n-author = u'The Regents of the University of California, through Lawrence Berkeley National Laboratory'\n+project = 'SEED Platform'\n+copyright = '2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory'\n+author = 'The Regents of the University of California, through Lawrence Berkeley National Laboratory'\n \n # The version info for the project you're documenting, acts as replacement for\n # |version| and |release|, also used in various other places throughout the\n@@ -224,23 +224,23 @@\n \n latex_elements = {\n # The paper size ('letterpaper' or 'a4paper').\n- #'papersize': 'letterpaper',\n+ # 'papersize': 'letterpaper',\n \n # The font size ('10pt', '11pt' or '12pt').\n- #'pointsize': '10pt',\n+ # 'pointsize': '10pt',\n \n # Additional stuff for the LaTeX preamble.\n- #'preamble': '',\n+ # 'preamble': '',\n \n # Latex figure (float) alignment\n- #'figure_align': 'htbp',\n+ # 'figure_align': 'htbp',\n }\n \n # Grouping the document tree into LaTeX files. List of tuples\n # (source start file, target name, title,\n # author, documentclass [howto, manual, or own class]).\n latex_documents = [\n- (master_doc, 'SEEDPlatform.tex', u'SEED Platform Documentation',\n+ (master_doc, 'SEEDPlatform.tex', 'SEED Platform Documentation',\n author, 'manual'),\n ]\n \n@@ -270,7 +270,7 @@\n # One entry per manual page. List of tuples\n # (source start file, name, description, authors, manual section).\n man_pages = [\n- (master_doc, 'seedplatform', u'SEED Platform Documentation',\n+ (master_doc, 'seedplatform', 'SEED Platform Documentation',\n [author], 1)\n ]\n \n@@ -284,7 +284,7 @@\n # (source start file, target name, title, author,\n # dir menu entry, description, category)\n texinfo_documents = [\n- (master_doc, 'SEEDPlatform', u'SEED Platform Documentation',\n+ (master_doc, 'SEEDPlatform', 'SEED Platform Documentation',\n author, 'SEEDPlatform', 'One line description of project.',\n 'Miscellaneous'),\n ]\ndiff --git a/seed/api/base/urls.py b/seed/api/base/urls.py\n--- a/seed/api/base/urls.py\n+++ b/seed/api/base/urls.py\n@@ -4,7 +4,6 @@\n :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n :author\n \"\"\"\n-\n from django.conf.urls import url, include\n \n from seed.api.v1.urls import urlpatterns as apiv1\n@@ -13,7 +12,7 @@\n \n urlpatterns = [\n # add flat urls namespace for non-conforming endpoints, ugh\n- url(r'^v1/', include(apiv1, namespace=\"v1\")),\n- url(r'^v2/', include(apiv2, namespace=\"v2\")),\n- url(r'^v2.1/', include(apiv2_1, namespace=\"v2.1\")),\n+ url(r'^v1/', include(apiv1, namespace='v1')),\n+ url(r'^v2/', include(apiv2, namespace='v2')),\n+ url(r'^v2.1/', include(apiv2_1, namespace='v2.1')),\n ]\ndiff --git a/seed/audit_logs/migrations/0006_auto_20181107_0904.py b/seed/audit_logs/migrations/0006_auto_20181107_0904.py\nnew file mode 100644\n--- /dev/null\n+++ b/seed/audit_logs/migrations/0006_auto_20181107_0904.py\n@@ -0,0 +1,36 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.16 on 2018-11-07 17:04\n+from __future__ import unicode_literals\n+\n+import django.contrib.postgres.fields.jsonb\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('audit_logs', '0005_auto_20170602_0731'),\n+ ]\n+\n+ operations = [\n+ migrations.AlterField(\n+ model_name='auditlog',\n+ name='action',\n+ field=models.CharField(blank=True, db_index=True, help_text='method triggering audit', max_length=128, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='auditlog',\n+ name='action_note',\n+ field=models.TextField(blank=True, help_text='either the note text or a description of the action', null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='auditlog',\n+ name='action_response',\n+ field=django.contrib.postgres.fields.jsonb.JSONField(default=dict, help_text='HTTP response from action'),\n+ ),\n+ migrations.AlterField(\n+ model_name='auditlog',\n+ name='audit_type',\n+ field=models.IntegerField(choices=[(0, 'Log'), (1, 'Note')], default=0),\n+ ),\n+ ]\ndiff --git a/seed/audit_logs/models.py b/seed/audit_logs/models.py\n--- a/seed/audit_logs/models.py\n+++ b/seed/audit_logs/models.py\n@@ -94,8 +94,8 @@ class Meta:\n \n objects = AuditLogManager()\n \n- def __unicode__(self):\n- return u'{0} <{1}> ({2})'.format(\n+ def __str__(self):\n+ return '{0} <{1}> ({2})'.format(\n self.get_audit_type_display(), self.user, self.pk\n )\n \ndiff --git a/seed/building_sync/building_sync.py b/seed/building_sync/building_sync.py\n--- a/seed/building_sync/building_sync.py\n+++ b/seed/building_sync/building_sync.py\n@@ -9,10 +9,12 @@\n import json\n import logging\n import os\n+from builtins import str\n from collections import OrderedDict\n \n import xmltodict\n from django.db.models import FieldDoesNotExist\n+from past.builtins import basestring\n from quantityfield import ureg\n \n from seed.models.measures import _snake_case\n@@ -190,14 +192,14 @@ def export(self, property_state, process_struct=ADDRESS_STRUCT):\n new_dict = OrderedDict(\n [\n (\n- u'auc:Audits', OrderedDict(\n+ 'auc:Audits', OrderedDict(\n [\n- (u'@xsi:schemaLocation',\n- u'http://nrel.gov/schemas/bedes-auc/2014 https://github.com/BuildingSync/schema/releases/download/v0.3/BuildingSync.xsd'),\n+ ('@xsi:schemaLocation',\n+ 'http://nrel.gov/schemas/bedes-auc/2014 https://github.com/BuildingSync/schema/releases/download/v0.3/BuildingSync.xsd'),\n ('@xmlns', OrderedDict(\n [\n- (u'auc', u'http://nrel.gov/schemas/bedes-auc/2014'),\n- (u'xsi', u'http://www.w3.org/2001/XMLSchema-instance')\n+ ('auc', 'http://nrel.gov/schemas/bedes-auc/2014'),\n+ ('xsi', 'http://www.w3.org/2001/XMLSchema-instance')\n ]\n ))\n ]\n@@ -221,8 +223,7 @@ def export(self, property_state, process_struct=ADDRESS_STRUCT):\n if value:\n full_path = \"{}.{}\".format(process_struct['root'], v['path'])\n \n- if v.get('key_path_name', None) and v.get('value_path_name', None) and v.get(\n- 'key_path_value', None):\n+ if v.get('key_path_name', None) and v.get('value_path_name', None) and v.get('key_path_value', None):\n # iterate over the paths and find the correct node to set\n self._set_compound_node(\n full_path,\n@@ -450,8 +451,7 @@ def _lookup_sub(node, key_path_name, key_path_value, value_path_name):\n value = self._get_node(path, data, [])\n \n try:\n- if v.get('key_path_name', None) and v.get('value_path_name', None) and v.get(\n- 'key_path_value', None):\n+ if v.get('key_path_name', None) and v.get('value_path_name', None) and v.get('key_path_value', None):\n value = _lookup_sub(\n value,\n v.get('key_path_name'),\n@@ -522,13 +522,15 @@ def _lookup_sub(node, key_path_name, key_path_value, value_path_name):\n measures = self._get_node('auc:Audits.auc:Audit.auc:Measures.auc:Measure', data, [])\n for m in measures:\n if m.get('auc:TechnologyCategories', None):\n- cat_w_namespace = m['auc:TechnologyCategories']['auc:TechnologyCategory'].keys()[0]\n+ cat_w_namespace = list(m['auc:TechnologyCategories']['auc:TechnologyCategory'].keys())[0]\n category = cat_w_namespace.replace('auc:', '')\n new_data = {\n- 'property_measure_name': m.get('@ID'), # This will be the IDref from the scenarios\n+ 'property_measure_name': m.get('@ID'),\n+ # This will be the IDref from the scenarios\n 'category': _snake_case(category),\n- 'name': m['auc:TechnologyCategories']['auc:TechnologyCategory'][cat_w_namespace][\n- 'auc:MeasureName']\n+ 'name':\n+ m['auc:TechnologyCategories']['auc:TechnologyCategory'][cat_w_namespace][\n+ 'auc:MeasureName']\n }\n for k, v in m.items():\n if k in ['@ID', 'auc:PremisesAffected', 'auc:TechnologyCategories']:\n@@ -578,7 +580,7 @@ def _lookup_sub(node, key_path_name, key_path_value, value_path_name):\n if measure.get('@IDref', None):\n new_data['measures'].append(measure.get('@IDref'))\n else:\n- if isinstance(measures, (str, unicode)):\n+ if isinstance(measures, basestring):\n # the measure is there, but it does not have an idref\n continue\n else:\ndiff --git a/seed/data_importer/equivalence_partitioner.py b/seed/data_importer/equivalence_partitioner.py\n--- a/seed/data_importer/equivalence_partitioner.py\n+++ b/seed/data_importer/equivalence_partitioner.py\n@@ -155,7 +155,7 @@ def _get_resolved_value_from_object(obj, list_of_fields):\n \n @staticmethod\n def calculate_key_equivalence(key1, key2):\n- for key1_value, key2_value in zip(key1, key2):\n+ for key1_value, key2_value in list(zip(key1, key2)):\n if key1_value == key2_value and key1_value is not None:\n return True\n else:\n@@ -172,15 +172,15 @@ def calculate_identity_key(self, obj):\n \n @staticmethod\n def key_needs_merging(original_key, new_key):\n- return True in [not a and b for (a, b) in zip(original_key, new_key)]\n+ return True in [not a and b for (a, b) in list(zip(original_key, new_key))]\n \n @staticmethod\n def merge_keys(key1, key2):\n- return [a if a else b for (a, b) in zip(key1, key2)]\n+ return [a if a else b for (a, b) in list(zip(key1, key2))]\n \n @staticmethod\n def identities_are_different(key1, key2):\n- for (x, y) in zip(key1, key2):\n+ for (x, y) in list(zip(key1, key2)):\n if x is None or y is None:\n continue\n if x != y:\ndiff --git a/seed/data_importer/migrations/0012_auto_20181107_0904.py b/seed/data_importer/migrations/0012_auto_20181107_0904.py\nnew file mode 100644\n--- /dev/null\n+++ b/seed/data_importer/migrations/0012_auto_20181107_0904.py\n@@ -0,0 +1,45 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.16 on 2018-11-07 17:04\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('data_importer', '0011_auto_20180725_0825'),\n+ ]\n+\n+ operations = [\n+ migrations.AlterField(\n+ model_name='importfile',\n+ name='export_file',\n+ field=models.FileField(blank=True, null=True, upload_to='data_imports/exports'),\n+ ),\n+ migrations.AlterField(\n+ model_name='importfile',\n+ name='file',\n+ field=models.FileField(blank=True, max_length=500, null=True, upload_to='data_imports'),\n+ ),\n+ migrations.AlterField(\n+ model_name='importrecord',\n+ name='app',\n+ field=models.CharField(default='seed', help_text='The application (e.g. BPD or SEED) for this dataset', max_length=64, verbose_name='Destination App'),\n+ ),\n+ migrations.AlterField(\n+ model_name='importrecord',\n+ name='name',\n+ field=models.CharField(blank=True, default='Unnamed Dataset', max_length=255, null=True, verbose_name='Name Your Dataset'),\n+ ),\n+ migrations.AlterField(\n+ model_name='importrecord',\n+ name='status',\n+ field=models.IntegerField(choices=[(0, 'Uploading'), (1, 'Machine Mapping'), (2, 'Needs Mapping'), (3, 'Machine Cleaning'), (4, 'Needs Cleaning'), (5, 'Ready to Merge'), (6, 'Merging'), (7, 'Merge Complete'), (8, 'Importing'), (9, 'Live'), (10, 'Unknown'), (11, 'Matching')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='tablecolumnmapping',\n+ name='app',\n+ field=models.CharField(default='', max_length=64),\n+ ),\n+ ]\ndiff --git a/seed/data_importer/models.py b/seed/data_importer/models.py\n--- a/seed/data_importer/models.py\n+++ b/seed/data_importer/models.py\n@@ -10,7 +10,11 @@\n import logging\n import math\n import tempfile\n-from urllib import unquote\n+\n+try:\n+ from urllib import unquote # python2.x\n+except ImportError:\n+ from urllib.parse import unquote # python3.x\n \n from django.contrib.auth.models import User\n from django.contrib.postgres.fields import JSONField\n@@ -72,22 +76,22 @@ class Meta:\n class ImportRecord(NotDeletableModel):\n # TODO: use these instead of the others defined in models.py\n IMPORT_STATUSES = [\n- (STATUS_UPLOADING, \"Uploading\"),\n- (STATUS_MACHINE_MAPPING, \"Machine Mapping\"),\n- (STATUS_MAPPING, \"Needs Mapping\"),\n- (STATUS_MACHINE_CLEANING, \"Machine Cleaning\"),\n- (STATUS_CLEANING, \"Needs Cleaning\"),\n- (STATUS_READY_TO_PRE_MERGE, \"Ready to Merge\"),\n- (STATUS_PRE_MERGING, \"Merging\"),\n- (STATUS_READY_TO_MERGE, \"Merge Complete\"),\n- (STATUS_MERGING, \"Importing\"),\n- (STATUS_LIVE, \"Live\"),\n- (STATUS_UNKNOWN, \"Unknown\"),\n- (STATUS_MATCHING, \"Matching\")\n+ (STATUS_UPLOADING, 'Uploading'),\n+ (STATUS_MACHINE_MAPPING, 'Machine Mapping'),\n+ (STATUS_MAPPING, 'Needs Mapping'),\n+ (STATUS_MACHINE_CLEANING, 'Machine Cleaning'),\n+ (STATUS_CLEANING, 'Needs Cleaning'),\n+ (STATUS_READY_TO_PRE_MERGE, 'Ready to Merge'),\n+ (STATUS_PRE_MERGING, 'Merging'),\n+ (STATUS_READY_TO_MERGE, 'Merge Complete'),\n+ (STATUS_MERGING, 'Importing'),\n+ (STATUS_LIVE, 'Live'),\n+ (STATUS_UNKNOWN, 'Unknown'),\n+ (STATUS_MATCHING, 'Matching')\n ]\n \n- name = models.CharField(max_length=255, blank=True, null=True, verbose_name=\"Name Your Dataset\",\n- default=\"Unnamed Dataset\")\n+ name = models.CharField(max_length=255, blank=True, null=True, verbose_name='Name Your Dataset',\n+ default='Unnamed Dataset')\n app = models.CharField(max_length=64, blank=False, null=False, verbose_name='Destination App',\n help_text='The application (e.g. BPD or SEED) for this dataset',\n default='seed')\n@@ -96,7 +100,7 @@ class ImportRecord(NotDeletableModel):\n finish_time = models.DateTimeField(blank=True, null=True)\n created_at = models.DateTimeField(blank=True, null=True)\n updated_at = models.DateTimeField(blank=True, null=True, auto_now=True)\n- last_modified_by = models.ForeignKey('landing.SEEDUser', related_name=\"modified_import_records\",\n+ last_modified_by = models.ForeignKey('landing.SEEDUser', related_name='modified_import_records',\n blank=True,\n null=True)\n notes = models.TextField(blank=True, null=True)\n@@ -121,11 +125,11 @@ class ImportRecord(NotDeletableModel):\n # destination_taxonomy = models.ForeignKey('lin.Taxonomy', blank=True, null=True)\n # source_taxonomy = models.ForeignKey('lin.Taxonomy', blank=True, null=True)\n \n- def __unicode__(self):\n- return \"ImportRecord %s: %s, started at %s\" % (self.pk, self.name, self.start_time)\n+ def __str__(self):\n+ return 'ImportRecord %s: %s, started at %s' % (self.pk, self.name, self.start_time)\n \n class Meta:\n- ordering = (\"-updated_at\",)\n+ ordering = ('-updated_at',)\n \n def delete(self, *args, **kwargs):\n super(ImportRecord, self).delete(*args, **kwargs)\n@@ -134,11 +138,11 @@ def delete(self, *args, **kwargs):\n \n @property\n def files(self):\n- return self.importfile_set.all().order_by(\"file\")\n+ return self.importfile_set.all().order_by('file')\n \n @property\n def num_files(self):\n- if not hasattr(self, \"_num_files\"):\n+ if not hasattr(self, '_num_files'):\n self._num_files = self.importfile_set.count()\n return self._num_files\n \n@@ -186,7 +190,7 @@ def percent_files_ready_to_merge(self):\n \n @property\n def num_ready_for_import(self):\n- if not hasattr(self, \"_num_ready_for_import\"):\n+ if not hasattr(self, '_num_ready_for_import'):\n completed = 0\n for f in self.files:\n if f.ready_to_import:\n@@ -213,7 +217,7 @@ def percent_ready_for_import_by_file_count(self):\n \n @property\n def percent_ready_for_import(self):\n- if not hasattr(self, \"_percent_ready_for_import\"):\n+ if not hasattr(self, '_percent_ready_for_import'):\n total = 0\n completed = 0\n for f in self.files:\n@@ -228,7 +232,7 @@ def percent_ready_for_import(self):\n \n @property\n def num_failed_tablecolumnmappings(self):\n- if not hasattr(self, \"_num_failed_tablecolumnmappings\"):\n+ if not hasattr(self, '_num_failed_tablecolumnmappings'):\n total = 0\n for f in self.files:\n total += f.num_failed_tablecolumnmappings\n@@ -237,7 +241,7 @@ def num_failed_tablecolumnmappings(self):\n \n @property\n def num_coercion_errors(self):\n- if not hasattr(self, \"_num_failed_num_coercion_errors\"):\n+ if not hasattr(self, '_num_failed_num_coercion_errors'):\n total = 0\n for f in self.files:\n total += f.num_coercion_errors\n@@ -247,7 +251,7 @@ def num_coercion_errors(self):\n \n @property\n def num_validation_errors(self):\n- if not hasattr(self, \"_num_failed_validation_errors\"):\n+ if not hasattr(self, '_num_failed_validation_errors'):\n total = 0\n for f in self.files:\n total += f.num_validation_errors\n@@ -256,7 +260,7 @@ def num_validation_errors(self):\n \n @property\n def num_rows(self):\n- if not hasattr(self, \"_num_rows\"):\n+ if not hasattr(self, '_num_rows'):\n total = 0\n for f in self.files:\n total += f.num_rows\n@@ -265,7 +269,7 @@ def num_rows(self):\n \n @property\n def num_columns(self):\n- if not hasattr(self, \"_num_columns\"):\n+ if not hasattr(self, '_num_columns'):\n total = 0\n for f in self.files:\n total += f.num_columns\n@@ -274,7 +278,7 @@ def num_columns(self):\n \n @property\n def total_file_size(self):\n- if not hasattr(self, \"_total_file_size\"):\n+ if not hasattr(self, '_total_file_size'):\n total = 0\n for f in self.files:\n total += f.file_size_in_bytes\n@@ -295,21 +299,21 @@ def merge_progress_key(self):\n \"\"\"\n Cache key used to track percentage completion for merge task.\n \"\"\"\n- return \"merge_progress_pct_%s\" % self.pk\n+ return 'merge_progress_pct_%s' % self.pk\n \n @property\n def match_progress_key(self):\n \"\"\"\n Cache key used to track percentage completion for merge task.\n \"\"\"\n- return \"match_progress_pct_%s\" % self.pk\n+ return 'match_progress_pct_%s' % self.pk\n \n @property\n def merge_status_key(self):\n \"\"\"\n Cache key used to set/get status messages for merge task.\n \"\"\"\n- return \"merge_import_record_status_%s\" % self.pk\n+ return 'merge_import_record_status_%s' % self.pk\n \n @property\n def pct_merge_complete(self):\n@@ -317,11 +321,11 @@ def pct_merge_complete(self):\n \n @property\n def merge_seconds_remaining_key(self):\n- return \"merge_seconds_remaining_%s\" % self.pk\n+ return 'merge_seconds_remaining_%s' % self.pk\n \n @property\n def premerge_progress_key(self):\n- return \"premerge_progress_pct_%s\" % self.pk\n+ return 'premerge_progress_pct_%s' % self.pk\n \n @property\n def pct_premerge_complete(self):\n@@ -329,15 +333,15 @@ def pct_premerge_complete(self):\n \n @property\n def premerge_seconds_remaining_key(self):\n- return \"premerge_seconds_remaining_%s\" % self.pk\n+ return 'premerge_seconds_remaining_%s' % self.pk\n \n @property\n def MAPPING_ACTIVE_KEY(self):\n- return \"IR_MAPPING_ACTIVE%s\" % self.pk\n+ return 'IR_MAPPING_ACTIVE%s' % self.pk\n \n @property\n def MAPPING_QUEUED_KEY(self):\n- return \"IR_MAPPING_QUEUED%s\" % self.pk\n+ return 'IR_MAPPING_QUEUED%s' % self.pk\n \n @property\n def estimated_seconds_remaining(self):\n@@ -427,15 +431,15 @@ def app_namespace(self):\n \n @property\n def pre_merge_url(self):\n- return reverse(\"%s:start_pre_merge\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:start_pre_merge' % self.app_namespace, args=(self.pk,))\n \n @property\n def worksheet_url(self):\n- return reverse(\"%s:worksheet\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:worksheet' % self.app_namespace, args=(self.pk,))\n \n @property\n def add_files_url(self):\n- return reverse(\"%s:new_import\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:new_import' % self.app_namespace, args=(self.pk,))\n \n @property\n def status_url(self):\n@@ -456,35 +460,35 @@ def is_not_in_progress(self):\n \n @property\n def premerge_progress_url(self):\n- return reverse(\"data_importer:pre_merge\", args=(self.pk,))\n+ return reverse('data_importer:pre_merge', args=(self.pk,))\n \n @property\n def merge_progress_url(self):\n- return reverse(\"data_importer:merge_progress\", args=(self.pk,))\n+ return reverse('data_importer:merge_progress', args=(self.pk,))\n \n @property\n def start_merge_url(self):\n- return reverse(\"%s:merge\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:merge' % self.app_namespace, args=(self.pk,))\n \n @property\n def merge_url(self):\n- return reverse(\"%s:merge\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:merge' % self.app_namespace, args=(self.pk,))\n \n @property\n def dashboard_url(self):\n- return reverse(\"%s:dashboard\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:dashboard' % self.app_namespace, args=(self.pk,))\n \n @property\n def search_url(self):\n- return reverse(\"data_importer:search\", args=(self.pk,))\n+ return reverse('data_importer:search', args=(self.pk,))\n \n @property\n def delete_url(self):\n- return reverse(\"%s:delete\" % self.app_namespace, args=(self.pk,))\n+ return reverse('%s:delete' % self.app_namespace, args=(self.pk,))\n \n @property\n def save_import_meta_url(self):\n- return reverse(\"data_importer:save_import_meta\", args=(self.pk,))\n+ return reverse('data_importer:save_import_meta', args=(self.pk,))\n \n @property\n def display_as_in_progress(self):\n@@ -528,11 +532,11 @@ def summary_analysis_queued(self):\n \n @classmethod\n def SUMMARY_ANALYSIS_ACTIVE_KEY(cls, pk):\n- return \"SUMMARY_ANALYSIS_ACTIVE%s\" % pk\n+ return 'SUMMARY_ANALYSIS_ACTIVE%s' % pk\n \n @classmethod\n def SUMMARY_ANALYSIS_QUEUED_KEY(cls, pk):\n- return \"SUMMARY_ANALYSIS_QUEUED%s\" % pk\n+ return 'SUMMARY_ANALYSIS_QUEUED%s' % pk\n \n @property\n def form(self, data=None):\n@@ -542,7 +546,7 @@ def form(self, data=None):\n def prefixed_pk(self, pk, max_len_before_prefix=(SOURCE_FACILITY_ID_MAX_LEN - len('IMP1234-'))):\n \"\"\"This is a total hack to support prefixing until source_facility_id\n is turned into a proper pk. Prefixes a given pk with the import_record\"\"\"\n- if len(\"%s\" % pk) > max_len_before_prefix:\n+ if len('%s' % pk) > max_len_before_prefix:\n m = hashlib.md5()\n m.update(pk)\n digest = m.hexdigest()\n@@ -552,21 +556,21 @@ def prefixed_pk(self, pk, max_len_before_prefix=(SOURCE_FACILITY_ID_MAX_LEN - le\n transformed_pk = digest\n else:\n transformed_pk = pk\n- return \"IMP%s-%s\" % (self.pk, transformed_pk)\n+ return 'IMP%s-%s' % (self.pk, transformed_pk)\n \n @property\n def to_json(self):\n try:\n- last_modified_by = \"\"\n+ last_modified_by = ''\n try:\n if self.last_modified_by:\n- last_modified_by = self.last_modified_by.email or \"\"\n+ last_modified_by = self.last_modified_by.email or ''\n except User.DoesNotExist:\n pass\n return json.dumps({\n 'name': self.name,\n 'app': self.app,\n- 'last_modified_time_ago': timesince(self.updated_at).split(\",\")[0],\n+ 'last_modified_time_ago': timesince(self.updated_at).split(',')[0],\n 'last_modified_seconds_ago': -1 * (\n self.updated_at - timezone.now()).total_seconds(),\n 'last_modified_by': last_modified_by,\n@@ -615,10 +619,10 @@ def worksheet_progress_json(self):\n progresses.append({\n 'pk': f.pk,\n 'filename': f.filename_only,\n- 'delete_url': reverse(\"%s:delete_file\" % self.app_namespace, args=(f.pk,)),\n- 'mapping_url': reverse(\"%s:mapping\" % self.app_namespace, args=(f.pk,)),\n- 'cleaning_url': reverse(\"%s:cleaning\" % self.app_namespace, args=(f.pk,)),\n- 'matching_url': reverse(\"%s:matching\" % self.app_namespace, args=(f.pk,)),\n+ 'delete_url': reverse('%s:delete_file' % self.app_namespace, args=(f.pk,)),\n+ 'mapping_url': reverse('%s:mapping' % self.app_namespace, args=(f.pk,)),\n+ 'cleaning_url': reverse('%s:cleaning' % self.app_namespace, args=(f.pk,)),\n+ 'matching_url': reverse('%s:matching' % self.app_namespace, args=(f.pk,)),\n 'num_columns': f.num_columns,\n 'num_rows': f.num_rows,\n 'num_mapping_complete': f.num_mapping_complete,\n@@ -650,14 +654,14 @@ class ImportFile(NotDeletableModel, TimeStampedModel):\n import_record = models.ForeignKey(ImportRecord)\n cycle = models.ForeignKey('seed.Cycle', blank=True, null=True)\n file = models.FileField(\n- upload_to=\"data_imports\", max_length=500, blank=True, null=True\n+ upload_to='data_imports', max_length=500, blank=True, null=True\n )\n # Save the name of the raw file that was uploaded before it was saved to disk with the unique\n # extension.\n uploaded_filename = models.CharField(blank=True, max_length=255)\n file_size_in_bytes = models.IntegerField(blank=True, null=True)\n export_file = models.FileField(\n- upload_to=\"data_imports/exports\", blank=True, null=True\n+ upload_to='data_imports/exports', blank=True, null=True\n )\n cached_first_row = models.TextField(blank=True, null=True)\n # Save a list of the final column mapping names that were used for this file.\n@@ -686,11 +690,11 @@ class ImportFile(NotDeletableModel, TimeStampedModel):\n source_type = models.CharField(null=True, blank=True, max_length=63)\n # program names should match a value in common.mapper.Programs\n source_program = models.CharField(blank=True, max_length=80) # don't think that this is used\n- # program version is in format \"x.y[.z]\"\n+ # program version is in format 'x.y[.z]'\n source_program_version = models.CharField(blank=True, max_length=40) # don't think this is used\n \n- def __unicode__(self):\n- return \"%s\" % self.file.name\n+ def __str__(self):\n+ return '%s' % self.file.name\n \n def save(self, in_validation=False, *args, **kwargs):\n super(ImportFile, self).save(*args, **kwargs)\n@@ -715,8 +719,8 @@ def _strcmp(self, a, b, ignore_ws=True, ignore_case=True):\n \n @property\n def local_file(self):\n- if not hasattr(self, \"_local_file\"):\n- temp_file = tempfile.NamedTemporaryFile(mode='w+b', bufsize=1024, delete=False)\n+ if not hasattr(self, '_local_file'):\n+ temp_file = tempfile.NamedTemporaryFile(mode='w+b', delete=False)\n for chunk in self.file.chunks(1024):\n temp_file.write(chunk)\n temp_file.flush()\n@@ -740,7 +744,7 @@ def cleaned_data_rows(self):\n for row in self.data_rows:\n cleaned_row = []\n for tcm in self.tablecolumnmappings:\n- val = u\"%s\" % row[tcm.order - 1]\n+ val = '%s' % row[tcm.order - 1]\n try:\n if tcm.datacoercions.all().filter(source_string=val).count() > 0:\n cleaned_row.append(\n@@ -748,7 +752,7 @@ def cleaned_data_rows(self):\n else:\n cleaned_row.append(val)\n except BaseException:\n- _log.error(\"problem with val: {}\".format(val))\n+ _log.error('problem with val: {}'.format(val))\n from traceback import print_exc\n print_exc()\n yield cleaned_row\n@@ -764,9 +768,9 @@ def cache_first_rows(self):\n if counter <= NUM_LINES_TO_CAPTURE:\n if counter == 1:\n self.cached_first_row = ROW_DELIMITER.join(row)\n- self.cached_second_to_fifth_row = \"\"\n+ self.cached_second_to_fifth_row = ''\n else:\n- self.cached_second_to_fifth_row += \"%s\\n\" % ROW_DELIMITER.join(row)\n+ self.cached_second_to_fifth_row += '%s\\n' % ROW_DELIMITER.join(row)\n \n self.num_rows = counter\n if self.has_header_row:\n@@ -775,7 +779,7 @@ def cache_first_rows(self):\n \n @property\n def first_row_columns(self):\n- if not hasattr(self, \"_first_row_columns\"):\n+ if not hasattr(self, '_first_row_columns'):\n if self.cached_first_row:\n self._first_row_columns = self.cached_first_row.split(ROW_DELIMITER)\n else:\n@@ -798,8 +802,8 @@ def get_cached_mapped_columns(self):\n \n @property\n def second_to_fifth_rows(self):\n- if not hasattr(self, \"_second_to_fifth_row\"):\n- if self.cached_second_to_fifth_row == \"\":\n+ if not hasattr(self, '_second_to_fifth_row'):\n+ if self.cached_second_to_fifth_row == '':\n self._second_to_fifth_row = []\n else:\n self._second_to_fifth_row = [r.split(ROW_DELIMITER) for r in\n@@ -809,12 +813,12 @@ def second_to_fifth_rows(self):\n \n @property\n def tablecolumnmappings(self):\n- return self.tablecolumnmapping_set.all().filter(active=True).order_by(\"order\", ).distinct()\n+ return self.tablecolumnmapping_set.all().filter(active=True).order_by('order', ).distinct()\n \n @property\n def tablecolumnmappings_failed(self):\n return self.tablecolumnmappings.filter(\n- Q(destination_field=\"\") | Q(destination_field=None) | Q(destination_model=\"\") | Q(\n+ Q(destination_field='') | Q(destination_field=None) | Q(destination_model='') | Q(\n destination_model=None)).exclude(ignored=True).filter(active=True).distinct()\n \n @property\n@@ -859,12 +863,12 @@ def num_cleaning_complete(self):\n @property\n def filename_only(self):\n name = unquote(self.file.name)\n- return name[name.rfind(\"/\") + 1:name.rfind(\".\")]\n+ return name[name.rfind('/') + 1:name.rfind('.')]\n \n @property\n def filename(self):\n name = unquote(self.file.name)\n- return name[name.rfind(\"/\") + 1:len(name)]\n+ return name[name.rfind('/') + 1:len(name)]\n \n @property\n def ready_to_import(self):\n@@ -882,9 +886,9 @@ def tcm_errors_json(self):\n row_number = 0\n for tcm in self.tablecolumnmappings:\n row_number += 1\n- error_message_text = \"\"\n+ error_message_text = ''\n if tcm.error_message_text:\n- error_message_text = tcm.error_message_text.replace(\"\\n\", \"
\")\n+ error_message_text = tcm.error_message_text.replace('\\n', '
')\n \n tcms.append({\n 'row_number': row_number,\n@@ -906,15 +910,15 @@ def tcm_fields_to_save(self):\n \n @property\n def QUEUED_TCM_SAVE_COUNTER_KEY(self):\n- return \"QUEUED_TCM_SAVE_%s\" % self.pk\n+ return 'QUEUED_TCM_SAVE_%s' % self.pk\n \n @property\n def QUEUED_TCM_DATA_KEY(self):\n- return \"QUEUED_TCM_DATA_KEY%s\" % self.pk\n+ return 'QUEUED_TCM_DATA_KEY%s' % self.pk\n \n @property\n def UPDATING_TCMS_KEY(self):\n- return \"UPDATING_TCMS_KEY%s\" % self.pk\n+ return 'UPDATING_TCMS_KEY%s' % self.pk\n \n def update_tcms_from_save(self, json_data, save_counter):\n # Check save_counter vs queued_save_counters.\n@@ -924,9 +928,9 @@ def update_tcms_from_save(self, json_data, save_counter):\n set_cache_state(self.UPDATING_TCMS_KEY, True)\n for d in json.loads(json_data):\n \n- tcm = TableColumnMapping.objects.get(pk=d[\"pk\"])\n+ tcm = TableColumnMapping.objects.get(pk=d['pk'])\n for field_name in TableColumnMapping.fields_to_save:\n- if not field_name == \"pk\":\n+ if not field_name == 'pk':\n setattr(tcm, field_name, d[field_name])\n tcm.was_a_human_decision = True\n tcm.save()\n@@ -951,7 +955,7 @@ def update_tcms_from_save(self, json_data, save_counter):\n \n @property\n def CLEANING_PROGRESS_KEY(self):\n- return \"CLEANING_PROGRESS_KEY%s\" % self.pk\n+ return 'CLEANING_PROGRESS_KEY%s' % self.pk\n \n @property\n def cleaning_progress_pct(self):\n@@ -966,7 +970,7 @@ def cleaning_progress_pct(self):\n \n @classmethod\n def CLEANING_QUEUED_CACHE_KEY_GENERATOR(cls, pk):\n- return \"CLEANING_QUEUED_CACHE_KEY%s\" % pk\n+ return 'CLEANING_QUEUED_CACHE_KEY%s' % pk\n \n @property\n def CLEANING_QUEUED_CACHE_KEY(self):\n@@ -974,7 +978,7 @@ def CLEANING_QUEUED_CACHE_KEY(self):\n \n @classmethod\n def CLEANING_ACTIVE_CACHE_KEY_GENERATOR(cls, pk):\n- return \"CLEANING_ACTIVE_CACHE_KEY%s\" % pk\n+ return 'CLEANING_ACTIVE_CACHE_KEY%s' % pk\n \n @property\n def CLEANING_ACTIVE_CACHE_KEY(self):\n@@ -990,24 +994,24 @@ def coercion_mapping_queued(self):\n \n @property\n def SAVE_COUNTER_CACHE_KEY(self):\n- return \"SAVE_COUNTER_KEY%s\" % self.pk\n+ return 'SAVE_COUNTER_KEY%s' % self.pk\n \n @property\n def EXPORT_READY_CACHE_KEY(self):\n- return \"EXPORT_READY%s\" % self.pk\n+ return 'EXPORT_READY%s' % self.pk\n \n @property\n def EXPORT_PCT_COMPLETE_CACHE_KEY(self):\n- return \"EXPORT_PCT_COMPLETE%s\" % self.pk\n+ return 'EXPORT_PCT_COMPLETE%s' % self.pk\n \n @property\n def EXPORT_QUEUED_CACHE_KEY(self):\n- return \"EXPORT_QUEUED%s\" % self.pk\n+ return 'EXPORT_QUEUED%s' % self.pk\n \n @property\n def export_ready(self):\n return get_cache_state(self.EXPORT_READY_CACHE_KEY,\n- True) and self.export_file is not None and self.export_file != \"\"\n+ True) and self.export_file is not None and self.export_file != ''\n \n @property\n def export_generation_pct_complete(self):\n@@ -1016,24 +1020,24 @@ def export_generation_pct_complete(self):\n @property\n def export_url(self):\n ns = self.import_record.app_namespace\n- return reverse(\"%s:download_export\" % ns, args=(self.pk,))\n+ return reverse('%s:download_export' % ns, args=(self.pk,))\n \n @property\n def generate_url(self):\n ns = self.import_record.app_namespace\n- return reverse(\"%s:prepare_export\" % ns, args=(self.pk,))\n+ return reverse('%s:prepare_export' % ns, args=(self.pk,))\n \n @property\n def merge_progress_url(self):\n- return reverse(\"data_importer:merge_progress\", args=(self.pk,))\n+ return reverse('data_importer:merge_progress', args=(self.pk,))\n \n @property\n def premerge_progress_url(self):\n- return reverse(\"data_importer:pre_merge_progress\", args=(self.pk,))\n+ return reverse('data_importer:pre_merge_progress', args=(self.pk,))\n \n @property\n def force_restart_cleaning_url(self):\n- return reverse(\"data_importer:force_restart_cleaning\", args=(self.pk,))\n+ return reverse('data_importer:force_restart_cleaning', args=(self.pk,))\n \n def find_unmatched_states(self, kls):\n \"\"\"Get unmatched property states' id info from an import file.\n@@ -1047,7 +1051,8 @@ def find_unmatched_states(self, kls):\n DATA_STATE_MAPPING\n )\n \n- assert kls in [PropertyState, TaxLotState], \"Must be one of our State objects [PropertyState, TaxLotState]!\"\n+ assert kls in [PropertyState,\n+ TaxLotState], 'Must be one of our State objects [PropertyState, TaxLotState]!'\n \n return kls.objects.filter(\n data_state__in=[DATA_STATE_MAPPING],\n@@ -1086,25 +1091,25 @@ class TableColumnMapping(models.Model):\n error_message_text = models.TextField(blank=True, null=True)\n active = models.BooleanField(default=True)\n \n- fields_to_save = [\"pk\", \"destination_model\", \"destination_field\", \"ignored\"]\n+ fields_to_save = ['pk', 'destination_model', 'destination_field', 'ignored']\n \n class Meta:\n- ordering = (\"order\",)\n+ ordering = ('order',)\n \n- def __unicode__(self, *args, **kwargs):\n- return \"%s from %s -> %s (%s)\" % (\n+ def __str__(self, *args, **kwargs):\n+ return '%s from %s -> %s (%s)' % (\n self.source_string, self.import_file, self.destination_model, self.destination_field,)\n \n def save(self, *args, **kwargs):\n if not self.app:\n self.app = self.import_file.import_record.app\n if self.ignored or not self.is_mapped:\n- self.error_message_text = \"\"\n+ self.error_message_text = ''\n super(TableColumnMapping, self).save(*args, **kwargs)\n \n @property\n def source_string_sha(self):\n- if not hasattr(self, \"_source_string_sha\"):\n+ if not hasattr(self, '_source_string_sha'):\n m = hashlib.md5()\n m.update(self.source_string)\n self._source_string_sha = m.hexdigest()\n@@ -1112,23 +1117,23 @@ def source_string_sha(self):\n \n @property\n def combined_model_and_field(self):\n- return \"%s.%s\" % (self.destination_model, self.destination_field)\n+ return '%s.%s' % (self.destination_model, self.destination_field)\n \n @property\n def friendly_destination_model(self):\n- return \"%s\" % (de_camel_case(self.destination_model),)\n+ return '%s' % (de_camel_case(self.destination_model),)\n \n @property\n def friendly_destination_field(self):\n- return \"%s\" % (self.destination_field.replace(\"_\", \" \").replace(\"-\", \"\").capitalize(),)\n+ return '%s' % (self.destination_field.replace('_', ' ').replace('-', '').capitalize(),)\n \n @property\n def friendly_destination_model_and_field(self):\n if self.ignored:\n- return \"Ignored\"\n+ return 'Ignored'\n elif self.destination_field and self.destination_model:\n- return \"%s: %s\" % (self.friendly_destination_model, self.friendly_destination_field,)\n- return \"Unmapped\"\n+ return '%s: %s' % (self.friendly_destination_model, self.friendly_destination_field,)\n+ return 'Unmapped'\n \n @property\n def datacoercions(self):\n@@ -1140,7 +1145,7 @@ def datacoercion_errors(self):\n \n @property\n def first_row(self):\n- if not hasattr(self, \"_first_row\"):\n+ if not hasattr(self, '_first_row'):\n first_row = None\n try:\n first_row = self.import_file.first_row_columns[self.order - 1]\n@@ -1150,25 +1155,6 @@ def first_row(self):\n self._first_row = first_row\n return self._first_row\n \n- # TODO: Verify that this can be removed\n- # @property\n- # def first_five_rows(self):\n- # if not hasattr(self, \"_first_five_rows\"):\n- # first_rows = []\n- # for r in self.import_file.second_to_fifth_rows:\n- # try:\n- # if r[self.order - 1]:\n- # first_rows.append(r[self.order - 1])\n- # else:\n- # first_rows.append('')\n- # except:\n- # first_rows.append('')\n- # pass\n- #\n- # self._first_five_rows = first_rows\n- #\n- # return self._first_five_rows\n-\n @property\n def destination_django_field(self):\n \"\"\"commented out by AKL, not needed for SEED and removes dependency on\n@@ -1195,4 +1181,4 @@ def validation_rules(self):\n @property\n def is_mapped(self):\n return self.ignored or (\n- self.destination_field is not None and self.destination_model is not None and self.destination_field != \"\" and self.destination_model != \"\")\n+ self.destination_field is not None and self.destination_model is not None and self.destination_field != '' and self.destination_model != '')\ndiff --git a/seed/data_importer/tasks.py b/seed/data_importer/tasks.py\n--- a/seed/data_importer/tasks.py\n+++ b/seed/data_importer/tasks.py\n@@ -18,13 +18,15 @@\n from functools import reduce\n from itertools import chain\n \n+from builtins import str\n from celery import chord, shared_task\n from celery.utils.log import get_task_logger\n from django.db import IntegrityError, DataError\n from django.db import transaction\n from django.db.models import Q\n-from django.utils import timezone\n+from django.utils import timezone as tz\n from django.utils.timezone import make_naive\n+from past.builtins import basestring\n from unidecode import unidecode\n \n from seed.data_importer.equivalence_partitioner import EquivalencePartitioner\n@@ -171,7 +173,7 @@ def finish_mapping(import_file_id, mark_as_done, progress_key):\n value = True\n setattr(import_record, '{0}_{1}'.format(action, state), value)\n \n- import_record.finish_time = timezone.now()\n+ import_record.finish_time = tz.now()\n import_record.status = STATUS_READY_TO_MERGE\n import_record.save()\n \n@@ -249,13 +251,13 @@ def map_row_chunk(ids, file_pk, source_type, prog_key, **kwargs):\n # Ideally the table_mapping method would be attached to the import_file_id, someday...\n list_of_raw_columns = import_file.first_row_columns\n if list_of_raw_columns:\n- for table, mappings in table_mappings.items():\n- for raw_column_name in mappings.keys():\n+ for table, mappings in table_mappings.copy().items():\n+ for raw_column_name in mappings.copy():\n if raw_column_name not in list_of_raw_columns:\n del table_mappings[table][raw_column_name]\n \n # check that the dictionaries are not empty, if empty, then delete.\n- for table in table_mappings.keys():\n+ for table in table_mappings.copy():\n if not table_mappings[table]:\n del table_mappings[table]\n \n@@ -267,14 +269,16 @@ def map_row_chunk(ids, file_pk, source_type, prog_key, **kwargs):\n # hard coded\n try:\n delimited_fields = {}\n- if 'TaxLotState' in table_mappings.keys():\n- tmp = table_mappings['TaxLotState'].keys()[table_mappings['TaxLotState'].values().index(\n- ('TaxLotState', 'jurisdiction_tax_lot_id', 'Jurisdiction Tax Lot ID', False))]\n+ if 'TaxLotState' in table_mappings:\n+ tmp = list(table_mappings['TaxLotState'].keys())[\n+ list(table_mappings['TaxLotState'].values()).index(ColumnMapping.DELIMITED_FIELD)\n+ ]\n delimited_fields['jurisdiction_tax_lot_id'] = {\n 'from_field': tmp,\n 'to_table': 'TaxLotState',\n 'to_field_name': 'jurisdiction_tax_lot_id',\n }\n+\n except ValueError:\n delimited_fields = {}\n # field does not exist in mapping list, so ignoring\n@@ -286,7 +290,7 @@ def map_row_chunk(ids, file_pk, source_type, prog_key, **kwargs):\n # an extra custom mapping for the cross-related data. If the data are not being imported into\n # the property table then make sure to skip this so that superfluous property entries are\n # not created.\n- if 'PropertyState' in table_mappings.keys():\n+ if 'PropertyState' in table_mappings:\n if delimited_fields and delimited_fields['jurisdiction_tax_lot_id']:\n table_mappings['PropertyState'][\n delimited_fields['jurisdiction_tax_lot_id']['from_field']] = (\n@@ -394,16 +398,16 @@ def map_row_chunk(ids, file_pk, source_type, prog_key, **kwargs):\n if map_model_obj:\n Column.save_column_names(map_model_obj)\n except IntegrityError as e:\n- progress_data.finish_with_error('Could not map_row_chunk with error', e.message)\n- raise IntegrityError(\"Could not map_row_chunk with error: %s\" % e.message)\n+ progress_data.finish_with_error('Could not map_row_chunk with error', str(e))\n+ raise IntegrityError(\"Could not map_row_chunk with error: %s\" % str(e))\n except DataError as e:\n _log.error(traceback.format_exc())\n- progress_data.finish_with_error('Invalid data found', e.message)\n- raise DataError(\"Invalid data found: %s\" % e.message)\n+ progress_data.finish_with_error('Invalid data found', str(e))\n+ raise DataError(\"Invalid data found: %s\" % (e))\n except TypeError as e:\n- _log.error('Error mapping data with error: %s' % e.message)\n- progress_data.finish_with_error('Invalid type found while mapping data', e.message)\n- raise DataError(\"Invalid type found while mapping data: %s\" % e.message)\n+ _log.error('Error mapping data with error: %s' % str(e))\n+ progress_data.finish_with_error('Invalid type found while mapping data', (e))\n+ raise DataError(\"Invalid type found while mapping data: %s\" % (e))\n \n progress_data.step()\n \n@@ -424,10 +428,10 @@ def _map_data_create_tasks(import_file_id, progress_key):\n \n # If we haven't finished saving, we should not proceed with mapping\n # Re-queue this task.\n- if not import_file.raw_save_done:\n- _log.debug(\"_map_data raw_save_done is false, queueing the task until raw_save finishes\")\n- map_data.apply_async(args=[import_file_id], countdown=60, expires=120)\n- return progress_data.finish_with_error('waiting for raw data save.')\n+ # if not import_file.raw_save_done:\n+ # _log.debug(\"_map_data raw_save_done is false, queueing the task until raw_save finishes\")\n+ # map_data.apply_async(args=[import_file_id], countdown=60, expires=120)\n+ # return progress_data.finish_with_error('waiting for raw data save.')\n \n source_type_dict = {\n 'Portfolio Raw': PORTFOLIO_RAW,\n@@ -564,10 +568,10 @@ def _save_raw_data_chunk(chunk, file_pk, progress_key):\n \n # sanitize c and remove any diacritics\n new_chunk = {}\n- for k, v in c.iteritems():\n+ for k, v in c.items():\n # remove extra spaces surrounding keys.\n key = k.strip()\n- if isinstance(v, unicode):\n+ if isinstance(v, basestring):\n new_chunk[key] = unidecode(v)\n elif isinstance(v, (dt.datetime, dt.date)):\n raise TypeError(\n@@ -580,7 +584,7 @@ def _save_raw_data_chunk(chunk, file_pk, progress_key):\n raw_property.organization = import_file.import_record.super_organization\n raw_property.save()\n except IntegrityError as e:\n- raise IntegrityError(\"Could not save_raw_data_chunk with error: %s\" % e.message)\n+ raise IntegrityError(\"Could not save_raw_data_chunk with error: %s\" % (e))\n \n # Indicate progress\n progress_data = ProgressData.from_key(progress_key)\n@@ -594,7 +598,7 @@ def finish_raw_save(results, file_pk, progress_key):\n \"\"\"\n Finish importing the raw file.\n \n- :param results: List of results from the parent task, not really used at the moment\n+ :param results: List of results from the parent task, not used at the moment\n :param file_pk: ID of the file that was being imported\n :return: results: results from the other tasks before the chord ran\n \"\"\"\n@@ -669,12 +673,11 @@ def _save_raw_data_create_tasks(file_pk, progress_key):\n \n parser = reader.MCMParser(import_file.local_file)\n cache_first_rows(import_file, parser)\n- rows = parser.next()\n import_file.num_rows = 0\n import_file.num_columns = parser.num_columns()\n \n chunks = []\n- for batch_chunk in batch(rows, 100):\n+ for batch_chunk in batch(parser.data, 100):\n import_file.num_rows += len(batch_chunk)\n chunks.append(batch_chunk)\n import_file.save()\n@@ -705,12 +708,14 @@ def save_raw_data(file_pk):\n except StopIteration:\n progress_data.finish_with_error('StopIteration Exception', traceback.format_exc())\n except Error as e:\n- progress_data.finish_with_error('File Content Error: ' + e.message, traceback.format_exc())\n+ progress_data.finish_with_error('File Content Error: ' + e, traceback.format_exc())\n except KeyError as e:\n- progress_data.finish_with_error('Invalid Column Name: \"' + e.message + '\"',\n+ progress_data.finish_with_error('Invalid Column Name: \"' + e + '\"',\n traceback.format_exc())\n+ except TypeError:\n+ progress_data.finish_with_error('TypeError Exception', traceback.format_exc())\n except Exception as e:\n- progress_data.finish_with_error('Unhandled Error: ' + str(e.message),\n+ progress_data.finish_with_error('Unhandled Error: ' + str(e),\n traceback.format_exc())\n _log.debug(progress_data.result())\n return progress_data.result()\n@@ -786,11 +791,11 @@ def add_dictionary_repr_to_hash(hash_obj, dict_obj):\n if isinstance(value, dict):\n add_dictionary_repr_to_hash(hash_obj, value)\n else:\n- hash_obj.update(str(unidecode(key)))\n+ hash_obj.update(str(unidecode(key)).encode('utf-8'))\n if isinstance(value, basestring):\n- hash_obj.update(unidecode(value))\n+ hash_obj.update(unidecode(value).encode('utf-8'))\n else:\n- hash_obj.update(str(value))\n+ hash_obj.update(str(value).encode('utf-8'))\n return hash_obj\n \n def _get_field_from_obj(field_obj, field):\n@@ -802,14 +807,14 @@ def _get_field_from_obj(field_obj, field):\n m = hashlib.md5()\n for f in Column.retrieve_db_field_name_for_hash_comparison():\n obj_val = _get_field_from_obj(obj, f)\n- m.update(str(f))\n+ m.update(f.encode('utf-8'))\n if isinstance(obj_val, dt.datetime):\n # if this is a datetime, then make sure to save the string as a naive datetime.\n # Somehow, somewhere the data are being saved in mapping with a timezone,\n # then in matching they are removed (but the time is updated correctly)\n- m.update(str(make_naive(obj_val).isoformat()))\n+ m.update(str(make_naive(obj_val).astimezone(tz.utc).isoformat()).encode('utf-8'))\n else:\n- m.update(str(obj_val))\n+ m.update(str(obj_val).encode('utf-8'))\n \n if include_extra_data:\n add_dictionary_repr_to_hash(m, obj.extra_data)\n@@ -900,7 +905,7 @@ def getattrdef(obj, attr, default):\n \n merged_objects.append(merged_result)\n \n- return merged_objects, equivalence_classes.keys()\n+ return merged_objects, list(equivalence_classes.keys())\n \n \n # @cprofile(n=50)\n@@ -1005,7 +1010,7 @@ def merge_unmatched_into_views(unmatched_states, partitioner, org, import_file):\n created_view = promote_datum[0].promote(promote_datum[1])\n matched_views.append(created_view)\n except IntegrityError as e:\n- raise IntegrityError(\"Could not merge results with error: %s\" % e.message)\n+ raise IntegrityError(\"Could not merge results with error: %s\" % (e))\n \n return list(set(matched_views))\n \n@@ -1295,7 +1300,8 @@ def pair_new_states(merged_property_views, merged_taxlot_views):\n return\n \n # Not sure what the below cycle code does.\n- cycle = chain(merged_property_views, merged_taxlot_views).next().cycle\n+ # Commented out during Python3 upgrade.\n+ # cycle = chain(merged_property_views, merged_taxlot_views).next().cycle\n \n tax_cmp_fmt = [\n ('jurisdiction_tax_lot_id', 'custom_id_1'),\n@@ -1316,8 +1322,8 @@ def pair_new_states(merged_property_views, merged_taxlot_views):\n tax_comparison_fields = sorted(list(set(chain.from_iterable(tax_cmp_fmt))))\n prop_comparison_fields = sorted(list(set(chain.from_iterable(prop_cmp_fmt))))\n \n- tax_comparison_field_names = map(lambda s: \"state__{}\".format(s), tax_comparison_fields)\n- prop_comparison_field_names = map(lambda s: \"state__{}\".format(s), prop_comparison_fields)\n+ tax_comparison_field_names = list(map(lambda s: \"state__{}\".format(s), tax_comparison_fields))\n+ prop_comparison_field_names = list(map(lambda s: \"state__{}\".format(s), prop_comparison_fields))\n \n # This is a not so nice hack. but it's the only special case/field\n # that isn't on the join to the State.\n@@ -1326,7 +1332,7 @@ def pair_new_states(merged_property_views, merged_taxlot_views):\n tax_comparison_field_names.insert(0, 'pk')\n prop_comparison_field_names.insert(0, 'pk')\n \n- view = chain(merged_property_views, merged_taxlot_views).next()\n+ view = next(chain(merged_property_views, merged_taxlot_views))\n cycle = view.cycle\n org = view.state.organization\n \ndiff --git a/seed/data_importer/utils.py b/seed/data_importer/utils.py\n--- a/seed/data_importer/utils.py\n+++ b/seed/data_importer/utils.py\n@@ -50,7 +50,7 @@ def chunk_iterable(iterlist, chunk_size):\n returning a generator of the chunk.\n \"\"\"\n assert hasattr(iterlist, \"__iter__\"), \"iter is not an iterable\"\n- for i in xrange(0, len(iterlist), chunk_size):\n+ for i in range(0, len(iterlist), chunk_size):\n yield iterlist[i:i + chunk_size]\n \n \ndiff --git a/seed/data_importer/views.py b/seed/data_importer/views.py\n--- a/seed/data_importer/views.py\n+++ b/seed/data_importer/views.py\n@@ -13,6 +13,7 @@\n import logging\n import os\n \n+from past.builtins import basestring\n import pint\n from django.apps import apps\n from django.conf import settings\n@@ -253,13 +254,13 @@ def _get_pint_var_from_pm_value_object(pm_value):\n return {'success': False,\n 'message': 'Could not cast value to float: \\\"%s\\\"' % string_value}\n original_unit_string = pm_value['@uom']\n- if original_unit_string == u'kBtu':\n+ if original_unit_string == 'kBtu':\n pint_val = float_value * units.kBTU\n- elif original_unit_string == u'kBtu/ft\u00b2':\n+ elif original_unit_string == 'kBtu/ft\u00b2':\n pint_val = float_value * units.kBTU / units.sq_ft\n- elif original_unit_string == u'Metric Tons CO2e':\n+ elif original_unit_string == 'Metric Tons CO2e':\n pint_val = float_value * units.metric_ton\n- elif original_unit_string == u'kgCO2e/ft\u00b2':\n+ elif original_unit_string == 'kgCO2e/ft\u00b2':\n pint_val = float_value * units.kilogram / units.sq_ft\n else:\n return {'success': False,\n@@ -317,15 +318,15 @@ def create_from_pm_import(self, request):\n # This list should cover the core keys coming from PM, ensuring that they map easily\n # We will also look for keys not in this list and just map them to themselves\n # pm_key_to_column_heading_map = {\n- # u'address_1': u'Address',\n- # u'city': u'City',\n- # u'state_province': u'State',\n- # u'postal_code': u'Zip',\n- # u'county': u'County',\n- # u'country': u'Country',\n- # u'property_name': u'Property Name',\n- # u'property_id': u'Property ID',\n- # u'year_built': u'Year Built',\n+ # 'address_1': 'Address',\n+ # 'city': 'City',\n+ # 'state_province': 'State',\n+ # 'postal_code': 'Zip',\n+ # 'county': 'County',\n+ # 'country': 'Country',\n+ # 'property_name': 'Property Name',\n+ # 'property_id': 'Property ID',\n+ # 'year_built': 'Year Built',\n # }\n # so now it looks like we *don't* need to override these, but instead we should leave all the headers as-is\n # I'm going to leave this in here for right now, but if it turns out that we don't need it after testing,\n@@ -335,14 +336,14 @@ def create_from_pm_import(self, request):\n # We will also create a list of values that are used in PM export to indicate a value wasn't available\n # When we import them into SEED here we will be sure to not write those values\n pm_flagged_bad_string_values = [\n- u'Not Available',\n- u'Unable to Check (not enough data)',\n- u'No Current Year Ending Date',\n+ 'Not Available',\n+ 'Unable to Check (not enough data)',\n+ 'No Current Year Ending Date',\n ]\n \n # We will make a pass through the first property to get the list of unexpected keys\n for pm_property in request.data['properties']:\n- for pm_key_name, _ in pm_property.iteritems():\n+ for pm_key_name, _ in pm_property.items():\n if pm_key_name not in pm_key_to_column_heading_map:\n pm_key_to_column_heading_map[pm_key_name] = pm_key_name\n break\n@@ -350,7 +351,7 @@ def create_from_pm_import(self, request):\n # Create the header row of the csv file first\n rows = []\n header_row = []\n- for _, csv_header in pm_key_to_column_heading_map.iteritems():\n+ for _, csv_header in pm_key_to_column_heading_map.items():\n header_row.append(csv_header)\n rows.append(header_row)\n \n@@ -366,6 +367,7 @@ def create_from_pm_import(self, request):\n \n # report some helpful info\n property_num += 1\n+ # TODO: PYTHON3 check division\n if property_num / 20.0 == property_num / 20:\n new_time = datetime.datetime.now()\n _log.debug(\"On property number %s; current time: %s\" % (property_num, new_time))\n@@ -373,7 +375,7 @@ def create_from_pm_import(self, request):\n this_row = []\n \n # Loop through all known PM variables\n- for pm_variable, _ in pm_key_to_column_heading_map.iteritems():\n+ for pm_variable, _ in pm_key_to_column_heading_map.items():\n \n # Initialize this to False for each pm_variable we will search through\n added = False\n@@ -388,10 +390,10 @@ def create_from_pm_import(self, request):\n # However, we need to be sure to not add the flagged bad strings.\n # However, a flagged value *could* be a value property name, and we would want to allow that\n if isinstance(this_pm_variable, basestring):\n- if pm_variable == u'property_name':\n+ if pm_variable == 'property_name':\n this_row.append(this_pm_variable)\n added = True\n- elif pm_variable == u'property_notes':\n+ elif pm_variable == 'property_notes':\n sanitized_string = this_pm_variable.replace('\\n', ' ')\n this_row.append(sanitized_string)\n added = True\n@@ -419,7 +421,7 @@ def create_from_pm_import(self, request):\n \n # And finally, if we haven't set the added flag, give the csv column a blank value\n if not added:\n- this_row.append(u'')\n+ this_row.append('')\n \n # Then add this property row of data\n rows.append(this_row)\n@@ -428,7 +430,8 @@ def create_from_pm_import(self, request):\n # Note that the Python 2.x csv module doesn't allow easily specifying an encoding, and it was failing on a few\n # rows here and there with a large test dataset. This local function allows converting to utf8 before writing\n def py2_unicode_to_str(u):\n- if isinstance(u, unicode):\n+ # TODO: PYTHON3 check unicode check\n+ if isinstance(u, basestring):\n return u.encode('utf-8')\n else:\n return u\n@@ -858,8 +861,7 @@ def filtered_mapping_results(self, request, pk=None):\n exclude=['extra_data']\n )\n \n- prop_dict = dict(\n- prop_dict.items() +\n+ prop_dict.update(\n TaxLotProperty.extra_data_to_dict_with_mapping(\n prop.extra_data,\n property_column_name_mapping\n@@ -884,8 +886,7 @@ def filtered_mapping_results(self, request, pk=None):\n fields=fields['TaxLotState'],\n exclude=['extra_data']\n )\n- tax_lot_dict = dict(\n- tax_lot_dict.items() +\n+ tax_lot_dict.update(\n TaxLotProperty.extra_data_to_dict_with_mapping(\n tax_lot.extra_data,\n taxlot_column_name_mapping\n@@ -1930,7 +1931,7 @@ def mapping_suggestions(self, request, pk):\n for m in suggested_mappings:\n table, destination_field, _confidence = suggested_mappings[m]\n if destination_field is None:\n- suggested_mappings[m][1] = u''\n+ suggested_mappings[m][1] = ''\n \n # Fix the table name, eventually move this to the build_column_mapping\n for m in suggested_mappings:\ndiff --git a/seed/decorators.py b/seed/decorators.py\n--- a/seed/decorators.py\n+++ b/seed/decorators.py\n@@ -71,7 +71,7 @@ def _wrapped(import_file_pk, *args, **kwargs):\n def ajax_request(func):\n \"\"\"\n Copied from django-annoying, with a small modification. Now we also check for 'status' or\n- 'success' keys and \\ return correct status codes\n+ 'success' keys and slash return correct status codes\n \n If view returned serializable dict, returns response in a format requested\n by HTTP_ACCEPT header. Defaults to JSON if none requested or match.\n@@ -86,11 +86,10 @@ def my_view(request):\n news_titles = [entry.title for entry in news]\n return { 'news_titles': news_titles }\n \"\"\"\n-\n @wraps(func)\n def wrapper(request, *args, **kwargs):\n for accepted_type in request.META.get('HTTP_ACCEPT', '').split(','):\n- if accepted_type in FORMAT_TYPES.keys():\n+ if accepted_type in FORMAT_TYPES:\n format_type = accepted_type\n break\n else:\n@@ -136,7 +135,7 @@ def my_view(self, request):\n @wraps(func)\n def wrapper(self, request, *args, **kwargs):\n for accepted_type in request.META.get('HTTP_ACCEPT', '').split(','):\n- if accepted_type in FORMAT_TYPES.keys():\n+ if accepted_type in FORMAT_TYPES:\n format_type = accepted_type\n break\n else:\ndiff --git a/seed/factory.py b/seed/factory.py\n--- a/seed/factory.py\n+++ b/seed/factory.py\n@@ -6,10 +6,13 @@\n \"\"\"\n import random\n \n+from faker import Factory\n+\n from seed.models import BuildingSnapshot\n from seed.test_helpers.factory.helpers import DjangoFunctionalFactory\n \n \n+# TODO: PYTHON3 Remove this test factory, not needed anymore. use fake.py\n class SEEDFactory(DjangoFunctionalFactory):\n \"\"\"model factory for SEED\"\"\"\n \n@@ -26,18 +29,19 @@ def building_snapshot(cls, canonical_building=None, *args, **kwargs):\n ab = SEEDFactory.assessed_building()\n cb = ab.canonical_building\n b_snapshot = cb.canonical_snapshot\n- print ab.year_built == b_snapshot.year_built # True\n+ ab.year_built == b_snapshot.year_built # True\n \n # or loop through to create a whole bunch:\n for i in range(10):\n SEEDFactory.building_snapshot(name='tester_' % i)\n \n \"\"\"\n+ fake = Factory.create()\n \n defaults = {\n- \"tax_lot_id\": cls.rand_str(length=50),\n- \"pm_property_id\": cls.rand_str(length=50),\n- \"custom_id_1\": cls.rand_str(length=50),\n+ \"tax_lot_id\": fake.random_letters(length=50),\n+ \"pm_property_id\": fake.random_letters(length=50),\n+ \"custom_id_1\": fake.random_letters(length=50),\n \"gross_floor_area\": random.uniform(35000, 50000),\n \"year_built\": random.randint(1900, 2012),\n \"address_line_1\": cls.rand_street_address(),\ndiff --git a/seed/green_button/xml_importer.py b/seed/green_button/xml_importer.py\n--- a/seed/green_button/xml_importer.py\n+++ b/seed/green_button/xml_importer.py\n@@ -9,6 +9,7 @@\n \n import xmltodict\n from django.utils import timezone\n+from past.builtins import basestring\n \n from seed.lib.mcm.reader import ROW_DELIMITER\n from seed.models import (\n@@ -95,7 +96,7 @@ def as_collection(val):\n :param val: any value\n :returns: list containing val or val if it is Iterable and not a string.\n \"\"\"\n- is_atomic = (isinstance(val, (str, unicode)) or\n+ is_atomic = (isinstance(val, basestring) or\n isinstance(val, dict) or\n (not isinstance(val, Iterable)))\n \ndiff --git a/seed/hpxml/hpxml.py b/seed/hpxml/hpxml.py\n--- a/seed/hpxml/hpxml.py\n+++ b/seed/hpxml/hpxml.py\n@@ -5,25 +5,24 @@\n :author noel.merket@nrel.gov\n \"\"\"\n \n+import functools\n import logging\n import os\n-import functools\n-from quantityfield import ureg\n+from builtins import str\n from copy import deepcopy\n+from io import BytesIO\n \n-try:\n- from cStringIO import StringIO\n-except ImportError:\n- from StringIO import StringIO\n-\n-from lxml import etree, objectify\n import probablepeople as pp\n import usaddress as usadd\n+from lxml import etree, objectify\n+from past.builtins import basestring\n+from quantityfield import ureg\n \n _log = logging.getLogger(__name__)\n \n here = os.path.dirname(os.path.abspath(__file__))\n-hpxml_parser = objectify.makeparser(schema=etree.XMLSchema(etree.parse(os.path.join(here, 'schemas', 'HPXML.xsd'))))\n+hpxml_parser = objectify.makeparser(\n+ schema=etree.XMLSchema(etree.parse(os.path.join(here, 'schemas', 'HPXML.xsd'))))\n \n \n class HPXMLError(Exception):\n@@ -110,7 +109,7 @@ def export(self, property_state):\n :return: string, as XML\n \"\"\"\n if not property_state:\n- f = StringIO()\n+ f = BytesIO()\n self.tree.write(f, encoding='utf-8', pretty_print=True, xml_declaration=True)\n return f.getvalue()\n \n@@ -120,7 +119,8 @@ def export(self, property_state):\n else:\n root = deepcopy(self.root)\n \n- bldg = self._get_building(property_state.extra_data.get('hpxml_building_id'), start_from=root)\n+ bldg = self._get_building(property_state.extra_data.get('hpxml_building_id'),\n+ start_from=root)\n \n for pskey, xml_loc in self.HPXML_STRUCT.items():\n value = getattr(property_state, pskey)\n@@ -136,7 +136,7 @@ def export(self, property_state):\n if isinstance(value, ureg.Quantity):\n value = value.magnitude\n setattr(el.getparent(), el.tag[el.tag.index('}') + 1:],\n- unicode(value) if not isinstance(value, basestring) else value)\n+ str(value) if not isinstance(value, basestring) else value)\n \n E = objectify.ElementMaker(annotate=False, namespace=self.NS, nsmap={None: self.NS})\n \n@@ -172,7 +172,8 @@ def export(self, property_state):\n if 'PrefixMarital' in owner_name or 'PrefixOther' in owner_name:\n owner.Name.append(\n E.PrefixName(\n- ' '.join([owner_name.get('Prefix' + x, '') for x in ('Marital', 'Other')]).strip()\n+ ' '.join([owner_name.get('Prefix' + x, '') for x in\n+ ('Marital', 'Other')]).strip()\n )\n )\n if 'GivenName' in owner_name:\n@@ -194,13 +195,15 @@ def export(self, property_state):\n if 'SuffixGenerational' in owner_name or 'SuffixOther' in owner_name:\n owner.Name.append(\n E.SuffixName(\n- ' '.join([owner_name.get('Suffix' + x, '') for x in ('Generational', 'Other')]).strip()\n+ ' '.join([owner_name.get('Suffix' + x, '') for x in\n+ ('Generational', 'Other')]).strip()\n )\n )\n \n # Owner Email\n if property_state.owner_email is not None:\n- new_email = E.Email(E.EmailAddress(property_state.owner_email), E.PreferredContactMethod(True))\n+ new_email = E.Email(E.EmailAddress(property_state.owner_email),\n+ E.PreferredContactMethod(True))\n if hasattr(owner, 'Email'):\n if property_state.owner_email not in owner.Email:\n owner.append(new_email)\n@@ -274,8 +277,10 @@ def export(self, property_state):\n try:\n root.Project.ProjectDetails.ProgramCertificate\n except AttributeError:\n- for elname in ('YearCertified', 'CertifyingOrganizationURL', 'CertifyingOrganization', 'ProgramSponsor',\n- 'ContractorSystemIdentifiers', 'ProgramName', 'ProjectSystemIdentifiers'):\n+ for elname in ('YearCertified', 'CertifyingOrganizationURL',\n+ 'CertifyingOrganization', 'ProgramSponsor',\n+ 'ContractorSystemIdentifiers', 'ProgramName',\n+ 'ProjectSystemIdentifiers'):\n if hasattr(root.Project.ProjectDetails, elname):\n getattr(root.Project.ProjectDetails, elname).addnext(\n new_prog_cert\n@@ -296,7 +301,8 @@ def export(self, property_state):\n try:\n found_energy_score = False\n for energy_score_el in bldg_const.EnergyScore:\n- if energy_score_type in (energy_score_el.ScoreType, getattr(energy_score_el, 'OtherScoreType', None)):\n+ if energy_score_type in (energy_score_el.ScoreType,\n+ getattr(energy_score_el, 'OtherScoreType', None)):\n found_energy_score = True\n break\n if not found_energy_score:\n@@ -318,13 +324,14 @@ def export(self, property_state):\n # Serialize\n tree = etree.ElementTree(root)\n objectify.deannotate(tree, cleanup_namespaces=True)\n- f = StringIO()\n+ f = BytesIO()\n tree.write(f, encoding='utf-8', pretty_print=True, xml_declaration=True)\n return f.getvalue()\n \n def _get_building(self, building_id=None, **kw):\n if building_id is not None:\n- bldg = self.xpath('//h:Building[h:BuildingID/@id=$bldg_id]', bldg_id=building_id, **kw)[0]\n+ bldg = self.xpath('//h:Building[h:BuildingID/@id=$bldg_id]', bldg_id=building_id, **kw)[\n+ 0]\n else:\n event_type_precedence = [\n 'job completion testing/final inspection',\n@@ -334,7 +341,8 @@ def _get_building(self, building_id=None, **kw):\n ]\n bldg = None\n for event_type in event_type_precedence:\n- bldgs = self.xpath('//h:Building[h:ProjectStatus/h:EventType=$event_type]', event_type=event_type, **kw)\n+ bldgs = self.xpath('//h:Building[h:ProjectStatus/h:EventType=$event_type]',\n+ event_type=event_type, **kw)\n if len(bldgs) > 0:\n bldg = bldgs[0]\n break\n@@ -389,7 +397,8 @@ def process(self, building_id=None):\n if not res['owner_address']:\n del res['owner_address']\n res['owner_city_state'] = ', '.join(self.xpath(\n- '|'.join(['h:MailingAddress/h:{}/text()'.format(i) for i in ('CityMunicipality', 'StateCode')]),\n+ '|'.join(['h:MailingAddress/h:{}/text()'.format(i) for i in\n+ ('CityMunicipality', 'StateCode')]),\n start_from=owner.getparent(),\n ))\n if not res['owner_city_state']:\ndiff --git a/seed/landing/migrations/0007_auto_20181107_0904.py b/seed/landing/migrations/0007_auto_20181107_0904.py\nnew file mode 100644\n--- /dev/null\n+++ b/seed/landing/migrations/0007_auto_20181107_0904.py\n@@ -0,0 +1,20 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.16 on 2018-11-07 17:04\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('landing', '0006_auto_20170602_1648'),\n+ ]\n+\n+ operations = [\n+ migrations.AlterField(\n+ model_name='seeduser',\n+ name='api_key',\n+ field=models.CharField(blank=True, db_index=True, default='', max_length=128, verbose_name='api key'),\n+ ),\n+ ]\ndiff --git a/seed/landing/models.py b/seed/landing/models.py\n--- a/seed/landing/models.py\n+++ b/seed/landing/models.py\n@@ -106,7 +106,7 @@ def process_header_request(cls, request):\n raise exceptions.AuthenticationFailed(\"Only Basic HTTP_AUTHORIZATION is supported\")\n \n auth_header = auth_header.split()[1]\n- auth_header = base64.urlsafe_b64decode(auth_header)\n+ auth_header = base64.urlsafe_b64decode(auth_header).decode('utf-8')\n username, api_key = auth_header.split(':')\n user = SEEDUser.objects.get(api_key=api_key, username=username)\n return user\ndiff --git a/seed/landing/views.py b/seed/landing/views.py\n--- a/seed/landing/views.py\n+++ b/seed/landing/views.py\n@@ -15,12 +15,8 @@\n from django.forms.utils import ErrorList\n from django.http import HttpResponseRedirect\n from django.shortcuts import render\n-# from django.template.context import RequestContext\n-# from tos.models import (\n-# has_user_agreed_latest_tos, TermsOfService, NoActiveTermsOfService\n-# )\n \n-from forms import LoginForm\n+from .forms import LoginForm\n \n logger = logging.getLogger(__name__)\n \ndiff --git a/seed/lib/mappings/data/bedes.py b/seed/lib/mappings/data/bedes.py\n--- a/seed/lib/mappings/data/bedes.py\n+++ b/seed/lib/mappings/data/bedes.py\n@@ -18,2642 +18,2642 @@\n '''\n \n schema = {\n- u'AC Adjusted': u'string',\n- u'ASHRAE Baseline Lighting Power Density': u'float',\n- u'Ability to Share Forward': u'string',\n- u'Absorption Heat Source': u'string',\n- u'Absorption Stages': u'string',\n- u'Active Dehumidification': u'string',\n- u'Address Line 1': u'string',\n- u'Address Line 2': u'string',\n- u'Administrator Contact ID': u'string',\n- u'Administrator Email Address': u'string',\n- u'Administrator Full Name': u'string',\n- u'Adult Education - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Adult Education - Gross Floor Area (ft2)': u'float',\n- u'Adult Education - Number of Computers': u'float',\n- u'Adult Education - Number of Workers on Main Shift': u'float',\n- u'Adult Education - Weekly Operating Hours': u'float',\n- u'Adult Education - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Air Distribution Configuration': u'string',\n- u'Air Duct Configuration': u'string',\n- u'Alternate Baseline Lighting Power Density': u'float',\n- u'Alternative Water Generated On-Site - Indoor Cost ($)': u'float',\n- u'Alternative Water Generated On-Site - Indoor Cost Intensity ($/ft2)': u'float',\n- u'Alternative Water Generated On-Site - Indoor Intensity (gal/ft2)': u'float',\n- u'Alternative Water Generated On-Site - Indoor Use (kgal)': u'float',\n- u'Alternative Water Generated On-Site - Outdoor Cost ($)': u'float',\n- u'Alternative Water Generated On-Site - Outdoor Use (kgal)': u'float',\n- u'Alternative Water Generated On-Site: Combined Indoor/Outdoor or Other Cost ($)': u'float',\n- u'Alternative Water Generated On-Site: Combined Indoor/Outdoor or Other Use (kgal)': u'float',\n- u'Alternative Water Generated Onsite Exterior Resource Cost': u'float',\n- u'Alternative Water Generated Onsite Exterior Resource Value kgal': u'float',\n- u'Alternative Water Generated Onsite Interior Exterior Resource Value kgal': u'float',\n- u'Alternative Water Generated Onsite Interior Exterior and Other Resource Cost': u'float',\n- u'Alternative Water Generated Onsite Interior Exterior and Other Resource Value kgal': u'float',\n- u'Alternative Water Generated Onsite Interior Resource Cost': u'float',\n- u'Alternative Water Generated Onsite Interior Resource Cost Intensity': u'float',\n- u'Alternative Water Generated Onsite Interior Resource Intensity gallons/ft2': u'float',\n- u'Alternative Water Generated Onsite Interior Resource Value kgal': u'float',\n- u'Ambulatory Surgical Center - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Ambulatory Surgical Center - Gross Floor Area (ft2)': u'float',\n- u'Ambulatory Surgical Center - Number of Computers': u'float',\n- u'Ambulatory Surgical Center - Number of Workers on Main Shift': u'float',\n- u'Ambulatory Surgical Center - Weekly Operating Hours': u'float',\n- u'Ambulatory Surgical Center - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Analysis Period': u'string',\n- u'Annual Combined Whole Building Annual Weather Normalized Site Resource Use': u'float',\n- u'Annual Combined Whole Building Annual Weather Normalized Source Resource Use': u'float',\n- u'Annual Combined Whole Builidng Annual Site Energy Use Intensity (EUI)': u'float',\n- u'Annual Combined Whole Builidng Annual Source Energy Use Intensity (EUI)': u'float',\n- u'Annual Efficiency Unit': u'string',\n- u'Annual Fuel Use Consistent Units (Consistent Units)': u'string',\n- u'Annual Fuel Use Native Units (Native Units)': u'string',\n- u'Annual Heating Efficiency Value': u'float',\n- u'Annual Interval End Date (Year)': u'date',\n- u'Annual Net Emissions': u'float',\n- u'Annual Partial Quality Alert': u'string',\n- u'Annual Savings Cost (Cost)': u'float',\n- u'Annual Savings Site Energy (Site Energy)': u'float',\n- u'Annual Savings Source Energy (Source Energy)': u'float',\n- u'Annual Water Cost Savings': u'float',\n- u'Annual Water Savings': u'float',\n- u'Anti-Sweat Heater Controls': u'string',\n- u'Anti-Sweat Heater Controls Manufacturer': u'string',\n- u'Anti-Sweat Heater Controls Model Number': u'string',\n- u'Anti-Sweat Heater Power': u'float',\n- u'Anti-Sweat Heaters': u'string',\n- u'Aquarium - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Aquarium - Gross Floor Area (ft2)': u'float',\n- u'Aquarium - Number of Computers': u'float',\n- u'Aquarium - Number of Workers on Main Shift': u'float',\n- u'Aquarium - Weekly Operating Hours': u'float',\n- u'Aquarium - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Arch2030 Baseline': u'float',\n- u'Aspect Ratio': u'float',\n- u'Assembly-Arcade or Casino Without Lodging Business Average Weekly Hours': u'float',\n- u'Assembly-Arcade or Casino Without Lodging Computer Quantity': u'float',\n- u'Assembly-Arcade or Casino Without Lodging Design Files Gross Floor Area': u'float',\n- u'Assembly-Arcade or Casino Without Lodging Gross Floor Area': u'float',\n- u'Assembly-Arcade or Casino Without Lodging Temporary Quality Alert': u'string',\n- u'Assembly-Arcade or Casino Without Lodging Workers on Main Shift Quantity': u'float',\n- u'Assembly-Convention Center Business Average Weekly Hours': u'float',\n- u'Assembly-Convention Center Computer Quantity': u'float',\n- u'Assembly-Convention Center Design Files Gross Floor Area': u'float',\n- u'Assembly-Convention Center Gross Floor Area': u'float',\n- u'Assembly-Convention Center Temporary Quality Alert': u'string',\n- u'Assembly-Convention Center Workers on Main Shift Quantity': u'float',\n- u'Assembly-Cultural Entertainment Business Average Weekly Hours': u'float',\n- u'Assembly-Cultural Entertainment Computer Quantity': u'float',\n- u'Assembly-Cultural Entertainment Design Files Gross Floor Area': u'float',\n- u'Assembly-Cultural Entertainment Gross Floor Area': u'float',\n- u'Assembly-Cultural Entertainment Temporary Quality Alert': u'string',\n- u'Assembly-Cultural Entertainment Workers on Main Shift Quantity': u'float',\n- u'Assembly-Religious Business Average Weekly Hours': u'float',\n- u'Assembly-Religious Business Schedule Day is Weekdays': u'float',\n- u'Assembly-Religious Business Weekday Quantity': u'float',\n- u'Assembly-Religious Capacity Quantity': u'float',\n- u'Assembly-Religious Commercial Refrigeration Quantity': u'float',\n- u'Assembly-Religious Computer Quantity': u'float',\n- u'Assembly-Religious Derivation Method Default': u'string',\n- u'Assembly-Religious Design Files Gross Floor Area': u'float',\n- u'Assembly-Religious Gross Floor Area': u'float',\n- u'Assembly-Religious Temporary Quality Alert': u'string',\n- u'Assembly-Religious has Kitchen': u'string',\n- u'Assembly-Social Entertainment Business Average Weekly Hours': u'float',\n- u'Assembly-Social Entertainment Computer Quantity': u'float',\n- u'Assembly-Social Entertainment Design Files Gross Floor Area': u'float',\n- u'Assembly-Social Entertainment Gross Floor Area': u'float',\n- u'Assembly-Social Entertainment Temporary Quality Alert': u'string',\n- u'Assembly-Social Entertainment Workers on Main Shift Quantity': u'float',\n- u'Assembly-Stadium Computer Quantity': u'float',\n- u'Assembly-Stadium Cooled Percentage of Total Area': u'string',\n- u'Assembly-Stadium Design Files Gross Floor Area': u'float',\n- u'Assembly-Stadium Enclosed Floor Area': u'float',\n- u'Assembly-Stadium Gross Floor Area': u'float',\n- u'Assembly-Stadium Heated Percentage of Total Area': u'string',\n- u'Assembly-Stadium Ice Performance': u'float',\n- u'Assembly-Stadium Non-sporting Event Operation Events per Year': u'float',\n- u'Assembly-Stadium Other Operation Events per Year': u'float',\n- u'Assembly-Stadium Refrigeration Walk-in Quantity': u'float',\n- u'Assembly-Stadium Signage Display Area': u'float',\n- u'Assembly-Stadium Sporting Event Operation Events per Year': u'float',\n- u'Assembly-Stadium Temporary Quality Alert': u'string',\n- u'Assessment Approved Assessment Recognition Status Date': u'string',\n- u'Assessment Compliance Target Date': u'date',\n- u'Assessment Program': u'string',\n- u'Asset Score': u'float',\n- u'Audit Cost': u'float',\n- u'Audit Date': u'date',\n- u'Audit Team Member Certification Type': u'string',\n- u'Auditor Company': u'string',\n- u'Auditor Qualification': u'string',\n- u'Auditor Qualification Number': u'string',\n- u'Auditor Qualification State': u'string',\n- u'Auditor Team Member with Certification': u'string',\n- u'Automobile Dealership - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Automobile Dealership - Gross Floor Area (ft2)': u'float',\n- u'Automobile Dealership - Number of Computers': u'float',\n- u'Automobile Dealership - Number of Workers on Main Shift': u'float',\n- u'Automobile Dealership - Weekly Operating Hours': u'float',\n- u'Automobile Dealership - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Average Cooling Operating Hours': u'float',\n- u'Average Daily Hours': u'float',\n- u'Average Weekly Business Hours': u'float',\n- u'Average Weekly Hours': u'float',\n- u'Avoided Emissions': u'float',\n- u'Avoided Emissions - Offsite Green Power (MtCO2e)': u'float',\n- u'Avoided Emissions - Onsite Green Power (MtCO2e)': u'float',\n- u'Avoided Emissions - Onsite and Offsite Green Power (MtCO2e)': u'float',\n- u'Avoided from Offsite Renewable Energy Emissions Value MtCO2e': u'float',\n- u'Avoided from Onsite Renewable Energy Emissions Value MtCO2e': u'float',\n- u'Avoided from Onsite and Offsite Renewable Energy Emissions Value MtCO2e': u'float',\n- u'Azimuth': u'float',\n- u'Backup Generator': u'string',\n- u'Ballast Type': u'string',\n- u'Bank Branch - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Bank Branch - Gross Floor Area (ft2)': u'float',\n- u'Bank Branch - Number of Computers': u'float',\n- u'Bank Branch - Number of Workers on Main Shift': u'float',\n- u'Bank Branch - Percent That Can Be Cooled': u'float',\n- u'Bank Branch - Percent That Can Be Heated': u'float',\n- u'Bank Branch - Weekly Operating Hours': u'float',\n- u'Bank Branch - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Bank Business Average Weekly Hours': u'float',\n- u'Bank Computer Quantity': u'float',\n- u'Bank Cooled Percentage of Total Area': u'float',\n- u'Bank Derivation Method Default': u'string',\n- u'Bank Design Files Gross Floor Area': u'float',\n- u'Bank Gross Floor Area': u'float',\n- u'Bank Heated Percentage of Total Area': u'float',\n- u'Bank Temporary Quality Alert': u'string',\n- u'Bank Workers on Main Shift Quantity': u'float',\n- u'Bar/Nightclub - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Bar/Nightclub - Gross Floor Area (ft2)': u'float',\n- u'Bar/Nightclub - Number of Computers': u'float',\n- u'Bar/Nightclub - Number of Workers on Main Shift': u'float',\n- u'Bar/Nightclub - Weekly Operating Hours': u'float',\n- u'Bar/Nightclub - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Barracks - Computer Lab': u'string',\n- u'Barracks - Dining Hall': u'string',\n- u'Barracks - Room Density (Number per 1,000 ft2)': u'float',\n- u'Barracks- Gross Floor Area (ft2)': u'float',\n- u'Barracks- Number of Rooms': u'float',\n- u'Barracks- Percent That Can Be Cooled': u'float',\n- u'Barracks- Percent That Can Be Heated': u'float',\n- u'Beauty and Health Services Business Average Weekly Hours': u'float',\n- u'Beauty and Health Services Computer Quantity': u'float',\n- u'Beauty and Health Services Design Files Gross Floor Area': u'float',\n- u'Beauty and Health Services Gross Floor Area': u'float',\n- u'Beauty and Health Services Temporary Quality Alert': u'string',\n- u'Beauty and Health Services Workers on Main Shift Quantity': u'float',\n- u'Benchmark Type': u'string',\n- u'Biomass Emissions Intensity kgCO2e/ft2': u'float',\n- u'Biomass Emissions Value MtCO2e': u'float',\n- u'Biomass GHG Emissions (MtCO2e)': u'float',\n- u'Biomass GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Boiler Entering Water Temperature': u'float',\n- u'Boiler Insulation R Value': u'float',\n- u'Boiler Insulation Thickness': u'float',\n- u'Boiler Leaving Water Temperature': u'float',\n- u'Boiler Type': u'string',\n- u'Boiler percent condensate return': u'float',\n- u'Bowling Alley - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Bowling Alley - Gross Floor Area (ft2)': u'float',\n- u'Bowling Alley - Number of Computers': u'float',\n- u'Bowling Alley - Number of Workers on Main Shift': u'float',\n- u'Bowling Alley - Weekly Operating Hours': u'float',\n- u'Bowling Alley - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Building Certification': u'string',\n- u'Building Operator Name': u'string',\n- u'Building Operator Type': u'string',\n- u'Building air leakage': u'float',\n- u'Building air leakage unit': u'string',\n- u'Buildings Quantity': u'float',\n- u'Burner Turndown Ratio': u'float',\n- u'Burner Type': u'string',\n- u'CMU Fill': u'string',\n- u'Calculated Primary Occupancy Classification': u'string',\n- u'Calculation Method': u'string',\n- u'Capacity': u'float',\n- u'Capacity Percentage Quantity': u'string',\n- u'Capacity Unit': u'string',\n- u'Case Door Orientation': u'string',\n- u'Case Return Line Diameter': u'float',\n- u'Casino - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Casino - Gross Floor Area (ft2)': u'float',\n- u'Casino - Number of Computers': u'float',\n- u'Casino - Number of Workers on Main Shift': u'float',\n- u'Casino - Weekly Operating Hours': u'float',\n- u'Casino - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Ceiling Visible Absorptance': u'float',\n- u'Cell Count': u'float',\n- u'Central Refrigeration System': u'string',\n- u'Certification Expiration Date': u'date',\n- u'Certification Program': u'string',\n- u'Certification Value': u'string',\n- u'Certification Version': u'string',\n- u'Certification Year': u'date',\n- u'Chilled Water Reset Control': u'string',\n- u'Chilled Water Supply Temperature': u'float',\n- u'Chiller Compressor Driver': u'string',\n- u'Chiller Compressor Type': u'string',\n- u'Climate Zone': u'string',\n- u'Clothes Washer Capacity': u'float',\n- u'Clothes Washer Loader Type': u'string',\n- u'Clothes Washer Modified Energy Factor': u'float',\n- u'Clothes Washer Water Factor': u'float',\n- u'Coal (Anthracite) Resource Cost': u'float',\n- u'Coal (Anthracite) Resource Value kBtu': u'float',\n- u'Coal (Bituminous) Resource Cost': u'float',\n- u'Coal (Bituminous) Resource Value kBtu': u'float',\n- u'Coal (anthracite) Cost ($)': u'float',\n- u'Coal (anthracite) Derivation Method Estimated': u'string',\n- u'Coal (bituminous) Cost ($)': u'float',\n- u'Coal (bituminous) Derivation Method Estimated': u'string',\n- u'Coal - Anthracite Use (kBtu)': u'float',\n- u'Coal - Bituminous Use (kBtu)': u'float',\n- u'Coefficient of Performance': u'float',\n- u'Coke Cost ($)': u'float',\n- u'Coke Derivation Method Estimated': u'string',\n- u'Coke Resource Cost': u'float',\n- u'Coke Resource Value kBtu': u'float',\n- u'Coke Use (kBtu)': u'float',\n- u'Collection Date': u'date',\n- u'College/University - Computer Density (Number per 1,000 ft2)': u'float',\n- u'College/University - Enrollment': u'float',\n- u'College/University - Grant Dollars ($)': u'float',\n- u'College/University - Gross Floor Area (ft2)': u'float',\n- u'College/University - Number of Computers': u'float',\n- u'College/University - Number of Workers on Main Shift': u'float',\n- u'College/University - Weekly Operating Hours': u'float',\n- u'College/University - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Combustion Efficiency': u'float',\n- u'Complete Interior Water Resource Delivered Resource Cost': u'float',\n- u'Complete Interior Water Resource Delivered Resource Cost Intensity': u'float',\n- u'Complete Interior Water Resource Delivered and Generated Resource Intensity gallons/ft2': u'float',\n- u'Complete Interior Water Resource Delivered and Generated Resource Value kgal': u'float',\n- u'Complete Resource': u'string',\n- u'Complete Water Resource Resource Cost': u'float',\n- u'Complete Water Resource Resource Value kgal': u'float',\n- u'Completed Construction Status Date': u'float',\n- u'Compressor Staging': u'string',\n- u'Compressor Unloader': u'string',\n- u'Compressor Unloader Stages': u'string',\n- u'Condenser Fan Speed Operation': u'string',\n- u'Condenser Type': u'string',\n- u'Condenser Water Temperature': u'float',\n- u'Condensing Operation': u'string',\n- u'Condensing Temperature': u'float',\n- u'Construction Status': u'string',\n- u'Contact Address 1': u'string',\n- u'Contact Address 2': u'string',\n- u'Contact City': u'string',\n- u'Contact Name': u'string',\n- u'Contact Postal Code': u'string',\n- u'Contact State': u'string',\n- u'Contact Type': u'string',\n- u'Control Technology': u'string',\n- u'Control Type': u'string',\n- u'Convenience Store Business Average Weekly Hours': u'float',\n- u'Convenience Store Case Refrigeration Length': u'',\n- u'Convenience Store Cash Register Quantity': u'',\n- u'Convenience Store Computer Quantity': u'float',\n- u'Convenience Store Cooled Percentage of Total Area': u'',\n- u'Convenience Store Design Files Gross Floor Area': u'float',\n- u'Convenience Store Gross Floor Area': u'float',\n- u'Convenience Store Heated Percentage of Total Area': u'',\n- u'Convenience Store Refrigeration Case Quantity': u'',\n- u'Convenience Store Temporary Quality Alert': u'string',\n- u'Convenience Store Walk-In Refrigeration Area': u'',\n- u'Convenience Store Walk-in Refrigeration Quantity': u'',\n- u'Convenience Store Workers on Main Shift Quantity': u'float',\n- u'Convenience Store has Kitchen': u'',\n- u'Convenience Store with Gas Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Convenience Store with Gas Station - Gross Floor Area (ft2)': u'float',\n- u'Convenience Store with Gas Station - Number of Computers': u'float',\n- u'Convenience Store with Gas Station - Number of Workers on Main Shift': u'float',\n- u'Convenience Store with Gas Station - Weekly Operating Hours': u'float',\n- u'Convenience Store with Gas Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Convenience Store without Gas Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Convenience Store without Gas Station - Gross Floor Area (ft2)': u'float',\n- u'Convenience Store without Gas Station - Number of Computers': u'float',\n- u'Convenience Store without Gas Station - Number of Workers on Main Shift': u'float',\n- u'Convenience Store without Gas Station - Weekly Operating Hours': u'float',\n- u'Convenience Store without Gas Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Convention Center - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Convention Center - Gross Floor Area (ft2)': u'float',\n- u'Convention Center - Number of Computers': u'float',\n- u'Convention Center - Number of Workers on Main Shift': u'float',\n- u'Convention Center - Weekly Operating Hours': u'float',\n- u'Convention Center - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Conveyance Peak Power': u'float',\n- u'Conveyance Peak Time': u'date:timeu',\n- u'Conveyance Standby Power': u'float',\n- u'Conveyance Standby Time': u'date:timeu',\n- u'Conveyance System Type': u'string',\n- u'Cooking Capacity': u'float',\n- u'Cooking Capacity Unit': u'string',\n- u'Cooking Energy per Meal': u'float',\n- u'Cooking Equipment is Third Party Certified': u'string',\n- u'Cooled Floor Area': u'float',\n- u'Cooling Control Strategy': u'string',\n- u'Cooling Degree Days (CDD) (\u00b0F)': u'float',\n- u'Cooling Degree Days (CDD) Weather Metric Value': u'float',\n- u'Cooling Delivery Type': u'string',\n- u'Cooling Efficiency Units': u'string',\n- u'Cooling Efficiency Value': u'float',\n- u'Cooling Equipment Maintenance Frequency': u'string',\n- u'Cooling Equipment Redundancy': u'string',\n- u'Cooling Refrigerant': u'string',\n- u'Cooling Stage Capacity': u'float',\n- u'Cooling Supply Air Temperature': u'float',\n- u'Cooling Supply Air Temperature Control Type': u'string',\n- u'Cooling Tower Control Type': u'string',\n- u'Cooling Type': u'string',\n- u'Cooling is ENERGY STAR Rated': u'string',\n- u'Cooling is FEMP Designated Product': u'string',\n- u'Cost Effectiveness Screening Method': u'string',\n- u'Country': u'string',\n- u'County': u'string',\n- u'Courthouse - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Courthouse - Gross Floor Area (ft2)': u'float',\n- u'Courthouse - Number of Computers': u'float',\n- u'Courthouse - Number of Workers on Main Shift': u'float',\n- u'Courthouse - Percent That Can Be Cooled': u'float',\n- u'Courthouse - Percent That Can Be Heated': u'float',\n- u'Courthouse - Weekly Operating Hours': u'float',\n- u'Courthouse - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Courthouse Business Average Weekly Hours': u'float',\n- u'Courthouse Computer Quantity': u'float',\n- u'Courthouse Cooled Percentage of Total Area': u'float',\n- u'Courthouse Derivation Method Default': u'string',\n- u'Courthouse Design Files Gross Floor Area': u'float',\n- u'Courthouse Gross Floor Area': u'float',\n- u'Courthouse Heated Percentage of Total Area': u'float',\n- u'Courthouse Temporary Quality Alert': u'string',\n- u'Courthouse Workers on Main Shift Quantity': u'float',\n- u'Crankcase Heater': u'string',\n- u'Daily Hot Water Draw': u'float',\n- u'Daily Water Use': u'float',\n- u'Data Center - Cooling Equipment Redundancy': u'string',\n- u'Data Center - Gross Floor Area (ft2)': u'float',\n- u'Data Center - IT Energy Configuration': u'string',\n- u'Data Center - IT Equipment Input Site Energy (kWh)': u'float',\n- u'Data Center - IT Site Energy (kWh)': u'float',\n- u'Data Center - IT Source Energy (kBtu)': u'float',\n- u'Data Center - National Median PUE': u'float',\n- u'Data Center - PDU Input Site Energy (kWh)': u'float',\n- u'Data Center - PDU Output Site Energy (kWh)': u'float',\n- u'Data Center - PUE': u'float',\n- u'Data Center - UPS Output Site Energy (kWh)': u'float',\n- u'Data Center - UPS System Redundancy': u'string',\n- u'Data Center Cooling Equipment Redundancy': u'string',\n- u'Data Center Derivation Method Default': u'string',\n- u'Data Center Design Files Gross Floor Area': u'float',\n- u'Data Center Gross Floor Area': u'float',\n- u'Data Center IT Equipment Input Meter Site Energy Derivation Method Estimated': u'string',\n- u'Data Center IT Equipment Input Meter Site Energy Resource Value kWh': u'',\n- u'Data Center IT Site Energy Resource Value kWh': u'float',\n- u'Data Center IT Source Energy Resource Value kBtu': u'float',\n- u'Data Center National Median Power Usage Effectiveness (PUE) Efficinecy Value': u'float',\n- u'Data Center PDU Input Meter Site Energy Derivation Method Estimated': u'string',\n- u'Data Center PDU Input Meter Site Energy Resource Value kWh': u'',\n- u'Data Center PDU Output Meter Site Energy Derivation Method Estimated': u'string',\n- u'Data Center PDU Output Meter Site Energy Resource Value kWh': u'',\n- u'Data Center Power Usage Effectiveness (PUE) Efficinecy Value': u'float',\n- u'Data Center Quality Alert': u'string',\n- u'Data Center Temporary Quality Alert': u'string',\n- u'Data Center UPS Support': u'string',\n- u'Data Center UPS System Redundancy': u'string',\n- u'Data center Supply UPS Output Meter Site Energy Derivation Method Estimated': u'string',\n- u'Data center Supply UPS Output Meter Site Energy Resource Value kWh': u'',\n- u'Date Property Last Modified': u'date',\n- u'Date of Last PM Modification': u'date',\n- u'Day End Hour': u'float',\n- u'Day Start Hour': u'float',\n- u'Daylight Sensors': u'string',\n- u'Daylighting Control Steps': u'string',\n- u'Daylighting Illuminance Set Point': u'float',\n- u'Deck Type': u'string',\n- u'Defrost Type': u'string',\n- u'Dehumidification Type': u'string',\n- u'Delivered Electricity Resource Cost': u'float',\n- u'Delivered Electricity Resource Value kBtu': u'float',\n- u'Delivered Electricity Resource Value kWh': u'float',\n- u'Delivered Exterior Potable Water Resource Cost': u'float',\n- u'Delivered Exterior Potable Water Resource Value kgal': u'float',\n- u'Delivered Exterior Reclaimed Water Resource Cost': u'float',\n- u'Delivered Exterior Reclaimed Water Resource Value kgal': u'float',\n- u'Delivered Exterior and Other Location Reclaimed Water Interior Resource Cost': u'float',\n- u'Delivered Exterior and Other Location Reclaimed Water Resource Value kgal': u'float',\n- u'Delivered Interior Exterior or Other Location Potable Water Resource Cost': u'float',\n- u'Delivered Interior Exterior or Other Location Potable Water Resource Value kgal': u'float',\n- u'Delivered Interior Potable Water Resource Cost': u'float',\n- u'Delivered Interior Potable Water Resource Cost Intensity': u'float',\n- u'Delivered Interior Potable Water Resource Intensity gallons/ft2': u'float',\n- u'Delivered Interior Potable Water Resource Value kgal': u'float',\n- u'Delivered Interior Reclaimed Water Resource Cost': u'float',\n- u'Delivered Interior Reclaimed Water Resource Cost Intensity': u'float',\n- u'Delivered Interior Reclaimed Water Resource Value kgal': u'float',\n- u'Delivered Reclaimed Water Interior Exterior and Other Resource Value kgal': u'',\n- u'Delivered Reclaimed Water Interior Resource Intensity gallons/ft2': u'float',\n- u'Delivered and Net Generated Onsite Renewable Electricity Resource Value kBtu': u'float',\n- u'Delivered and Net Generated Onsite Renewable Electricity Resource Value kWh': u'float',\n- u'Delivered and Onsite Generated Electricity Resource Value kBtu': u'float',\n- u'Delivered and Onsite Generated Electricity Resource Value kWh': u'float',\n- u'Demand Ratchet Percentage': u'float',\n- u'Demand Reduction': u'float',\n- u'Demand Window': u'string',\n- u'Design Adult Education - Gross Floor Area (ft2)': u'float',\n- u'Design Ambient Temperature': u'float',\n- u'Design Ambulatory Surgical Center - Gross Floor Area (ft2)': u'float',\n- u'Design Aquarium - Gross Floor Area (ft2)': u'float',\n- u'Design Automobile Dealership - Gross Floor Area (ft2)': u'float',\n- u'Design Bank Branch - Gross Floor Area (ft2)': u'float',\n- u'Design Bar/Nightclub - Gross Floor Area (ft2)': u'float',\n- u'Design Barracks - Gross Floor Area (ft2)': u'float',\n- u'Design Biomass GHG Emissions (MtCO2e)': u'float',\n- u'Design Bowling Alley - Gross Floor Area (ft2)': u'float',\n- u'Design Casino - Gross Floor Area (ft2)': u'float',\n- u'Design Coal - Anthracite Use (kBtu)': u'float',\n- u'Design Coal - Bituminous Use (kBtu)': u'float',\n- u'Design Coke Use (kBtu)': u'float',\n- u'Design College/University - Gross Floor Area (ft2)': u'float',\n- u'Design Convenience Store with Gas Station - Gross Floor Area (ft2)': u'float',\n- u'Design Convenience Store without Gas Station - Gross Floor Area (ft2)': u'float',\n- u'Design Convention Center - Gross Floor Area (ft2)': u'float',\n- u'Design Courthouse - Gross Floor Area (ft2)': u'float',\n- u'Design Data Center - Gross Floor Area (ft2)': u'float',\n- u'Design Diesel #2 Use (kBtu)': u'float',\n- u'Design Direct GHG Emissions (MtCO2e)': u'float',\n- u'Design Distribution Center - Gross Floor Area (ft2)': u'float',\n- u'Design District Chilled Water Use (kBtu)': u'float',\n- u'Design District Hot Water Use (kBtu)': u'float',\n- u'Design District Steam Use (kBtu)': u'float',\n- u'Design Drinking Water Treatment & Distribution - Gross Floor Area (ft2)': u'float',\n- u'Design ENERGY STAR Score': u'float',\n- u'Design Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kBtu)': u'float',\n- u'Design Electricity Use - Grid Purchase (kBtu)': u'float',\n- u'Design Electricity Use - Grid Purchase and Onsite Renewable Energy (kBtu)': u'float',\n- u'Design Enclosed Mall - Gross Floor Area (ft2)': u'float',\n- u'Design Energy Cost ($)': u'float',\n- u'Design Energy Cost Intensity ($/ft2)': u'float',\n- u'Design Energy/Power Station - Gross Floor Area (ft2)': u'float',\n- u'Design Fast Food Restaurant - Gross Floor Area (ft2)': u'float',\n- u'Design Files ENERGY STAR Score Assessment Value': u'float',\n- u'Design Files Energy Resource Cost': u'float',\n- u'Design Files Energy Resource Cost Intensity': u'float',\n- u'Design Files Power Usage Effectiveness (PUE) Efficiency Value': u'float',\n- u'Design Files Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'Design Files Site Energy Resource Value kBtu': u'float',\n- u'Design Files Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'Design Files Source Energy Resource Value kBtu': u'float',\n- u'Design Files Water Treatment Site Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Design Files Water Treatment Source Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Design Files Water/Wastewater Site Energy Resource Intensity kBtu/gpd': u'float',\n- u'Design Files Water/Wastewater Source Energy Resource Intensity kBtu/gpd': u'float',\n- u'Design Financial Office - Gross Floor Area (ft2)': u'float',\n- u'Design Fire Station - Gross Floor Area (ft2)': u'float',\n- u'Design Fitness Center/Health Club/Gym - Gross Floor Area (ft2)': u'float',\n- u'Design Food Sales - Gross Floor Area (ft2)': u'float',\n- u'Design Food Service - Gross Floor Area (ft2)': u'float',\n- u'Design Fuel Oil #1 Use (kBtu)': u'float',\n- u'Design Fuel Oil #2 Use (kBtu)': u'float',\n- u'Design Fuel Oil #4 Use (kBtu)': u'float',\n- u'Design Fuel Oil #5 & 6 Use (kBtu)': u'float',\n- u'Design Greenhouse Gas Emissions': u'float',\n- u'Design Greenhouse Gas Emissions Intensity': u'float',\n- u'Design Hospital (General Medical & Surgical) - Gross Floor Area (ft2)': u'float',\n- u'Design Hotel - Gross Floor Area (ft2)': u'float',\n- u'Design Ice/Curling Rink - Gross Floor Area (ft2)': u'float',\n- u'Design Indirect GHG Emissions (MtCO2e)': u'float',\n- u'Design Indoor Arena - Gross Floor Area (ft2)': u'float',\n- u'Design K-12 School - Gross Floor Area (ft2)': u'float',\n- u'Design Kerosene Use (kBtu)': u'float',\n- u'Design Laboratory - Gross Floor Area (ft2)': u'float',\n- u'Design Library - Gross Floor Area (ft2)': u'float',\n- u'Design Lifestyle Center - Gross Floor Area (ft2)': u'float',\n- u'Design Liquid Propane Use (kBtu)': u'float',\n- u'Design Mailing Center/Post Office - Gross Floor Area (ft2)': u'float',\n- u'Design Manufacturing/Industrial Plant - Gross Floor Area (ft2)': u'float',\n- u'Design Medical Office - Gross Floor Area (ft2)': u'float',\n- u'Design Movie Theater - Gross Floor Area (ft2)': u'float',\n- u'Design Multifamily Housing - Gross Floor Area (ft2)': u'float',\n- u'Design Museum - Gross Floor Area (ft2)': u'float',\n- u'Design Natural Gas Use (kBtu)': u'float',\n- u'Design Non-Refrigerated Warehouse - Gross Floor Area (ft2)': u'float',\n- u'Design Office - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Education - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Entertainment/Public Assembly - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Lodging/Residential - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Mall - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Public Services - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Recreation - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Restaurant/Bar - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Services - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Specialty Hospital - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Stadium - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Technology/Science - Gross Floor Area (ft2)': u'float',\n- u'Design Other - Utility - Gross Floor Area (ft2)': u'float',\n- u'Design Other Use (kBtu)': u'float',\n- u'Design Outpatient Rehabilitation/Physical Therapy - Gross Floor Area (ft2)': u'float',\n- u'Design PUE': u'float',\n- u'Design Parking - Gross Floor Area (ft2)': u'float',\n- u'Design Performing Arts - Gross Floor Area (ft2)': u'float',\n- u'Design Personal Services (Health/Beauty, Dry Cleaning, etc) - Gross Floor Area (ft2)': u'float',\n- u'Design Police Station - Gross Floor Area (ft2)': u'float',\n- u'Design Pre-school/Daycare - Gross Floor Area (ft2)': u'float',\n- u'Design Prison/Incarceration - Gross Floor Area (ft2)': u'float',\n- u'Design Propane Use (kBtu)': u'float',\n- u'Design Race Track - Gross Floor Area (ft2)': u'float',\n- u'Design Refrigerated Warehouse - Gross Floor Area (ft2)': u'float',\n- u'Design Repair Services (Vehicle, Shoe, Locksmith, etc) - Gross Floor Area (ft2)': u'float',\n- u'Design Residence Hall/Dormitory - Gross Floor Area (ft2)': u'float',\n- u'Design Restaurant - Gross Floor Area (ft2)': u'float',\n- u'Design Retail Store - Gross Floor Area (ft2)': u'float',\n- u'Design Roller Rink - Gross Floor Area (ft2)': u'float',\n- u'Design Self-Storage Facility - Gross Floor Area (ft2)': u'float',\n- u'Design Senior Care Community - Gross Floor Area (ft2)': u'float',\n- u'Design Single Family Home - Gross Floor Area (ft2)': u'float',\n- u'Design Site EUI': u'float',\n- u'Design Site EUI (kBtu/ft2)': u'float',\n- u'Design Site Energy Use (kBtu)': u'float',\n- u'Design Social/Meeting Hall - Gross Floor Area (ft2)': u'float',\n- u'Design Source EUI': u'float',\n- u'Design Source EUI (kBtu/ft2)': u'float',\n- u'Design Source Energy Use (kBtu)': u'float',\n- u'Design Stadium (Closed) - Gross Floor Area (ft2)': u'float',\n- u'Design Stadium (Open) - Gross Floor Area (ft2)': u'float',\n- u'Design Strip Mall - Gross Floor Area (ft2)': u'float',\n- u'Design Supermarket/Grocery Store - Gross Floor Area (ft2)': u'float',\n- u'Design Swimming Pool - Gross Floor Area (ft2)': u'float',\n- u'Design Target % Better Than Median Source EUI': u'float',\n- u'Design Target Biomass Emissions Value MtCO2e': u'float',\n- u'Design Target Coal (anthracite) Resource Value kBtu': u'float',\n- u'Design Target Coal (bituminous) Resource Value kBtu': u'float',\n- u'Design Target Coke Resource Value kBtu': u'float',\n- u'Design Target Delivered Electricity Resource Value kBtu': u'float',\n- u'Design Target Diesel Resource Value kBtu': u'float',\n- u'Design Target Direct Emissions Value MtCO2e': u'float',\n- u'Design Target District Hot Water Resource Value kBtu': u'float',\n- u'Design Target District Steam Resource Value kBtu': u'float',\n- u'Design Target ENERGY STAR Score': u'float',\n- u'Design Target ENERGY STAR Score Assessment Value': u'float',\n- u'Design Target Emissions Intensity kgCO2e/ft': u'float',\n- u'Design Target Emissions Value MtCO2e': u'float',\n- u'Design Target Energy Cost ($)': u'float',\n- u'Design Target Energy Resource Cost': u'float',\n- u'Design Target Fuel Oil No-1 Resource Value kBtu': u'float',\n- u'Design Target Fuel Oil No-2 Resource Value kBtu': u'float',\n- u'Design Target Fuel Oil No-4 Resource Value kBtu': u'float',\n- u'Design Target Fuel Oil No-5 and No-6 Resource Value kBtu': u'float',\n- u'Design Target Indirect Emissions Value MtCO2e': u'float',\n- u'Design Target Kerosene Resource Value kBtu': u'float',\n- u'Design Target Liquid Propane Resource Value kBtu': u'float',\n- u'Design Target Natural Gas Resource Value kBtu': u'float',\n- u'Design Target Other Resource Value kBtu': u'float',\n- u'Design Target Percent Improvement National Median Source Energy Resource Intensity': u'float',\n- u'Design Target Propane Resource Value kBtu': u'float',\n- u'Design Target Site EUI (kBtu/ft2)': u'float',\n- u'Design Target Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'Design Target Site Energy Resource Value kBtu': u'float',\n- u'Design Target Site Energy Use (kBtu)': u'float',\n- u'Design Target Source EUI (kBtu/ft2)': u'float',\n- u'Design Target Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'Design Target Source Energy Resource Value kBtu': u'float',\n- u'Design Target Source Energy Use (kBtu)': u'float',\n- u'Design Target Total GHG Emissions (MtCO2e)': u'float',\n- u'Design Target Total GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Design Target Water/Wastewater Site EUI (kBtu/gpd)': u'float',\n- u'Design Target Water/Wastewater Site Energy Resource Intensity kBtu/gpd': u'float',\n- u'Design Target Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Design Target Water/Wastewater Source Energy Resource Intensity kBtu/gpd': u'float',\n- u'Design Target Wood Resource Value kBtu': u'float',\n- u'Design Temperature Difference': u'float',\n- u'Design Total GHG Emissions (MtCO2e)': u'float',\n- u'Design Total GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Design Transportation Terminal/Station - Gross Floor Area (ft2)': u'float',\n- u'Design Urgent Care/Clinic/Other Outpatient - Gross Floor Area (ft2)': u'float',\n- u'Design Veterinary Office - Gross Floor Area (ft2)': u'float',\n- u'Design Vocational School - Gross Floor Area (ft2)': u'float',\n- u'Design Wastewater Treatment Plant - Gross Floor Area (ft2)': u'float',\n- u'Design Water/Wastewater Site EUI (kBtu/gpd)': u'float',\n- u'Design Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Design Wholesale Club/Supercenter - Gross Floor Area (ft2)': u'float',\n- u'Design Wood Use (kBtu)': u'float',\n- u'Design Worship Facility - Gross Floor Area (ft2)': u'float',\n- u'Design Zoo - Gross Floor Area (ft2)': u'float',\n- u'Desuperheat Valve': u'float',\n- u'Diesel': u'string',\n- u'Diesel #2 Use (kBtu)': u'float',\n- u'Diesel Cost ($)': u'float',\n- u'Diesel Derivation Method Estimated': u'string',\n- u'Diesel Resource Cost': u'float',\n- u'Diesel Resource Value kBtu': u'float',\n- u'Direct Emissions Intensity kgCO2e/ft2': u'float',\n- u'Direct Emissions Value MtCo2e': u'float',\n- u'Direct GHG Emissions (MtCO2e)': u'float',\n- u'Direct GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Discount Factor': u'float',\n- u'Dishwasher Energy Factor': u'float',\n- u'Dishwasher Hot Water Use': u'float',\n- u'Dishwasher Loads Per Week': u'float',\n- u'Dishwasher Quantity': u'float',\n- u'Dishwasher Type': u'string',\n- u'Dishwasher Year of Manufacture': u'date',\n- u'Distance Between Vertical Fins': u'float',\n- u'Distribution Center - Gross Floor Area (ft2)': u'float',\n- u'Distribution Center - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Distribution Center - Number of Workers on Main Shift': u'float',\n- u'Distribution Center - Percent That Can Be Cooled': u'float',\n- u'Distribution Center - Percent That Can Be Heated': u'float',\n- u'Distribution Center - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Distribution Center - Weekly Operating Hours': u'float',\n- u'Distribution Center - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Distribution Type': u'string',\n- u'District Chilled Water': u'string',\n- u'District Chilled Water Cost ($)': u'float',\n- u'District Chilled Water Derivation Method Estimated': u'string',\n- u'District Chilled Water Resource Cost': u'float',\n- u'District Chilled Water Resource Value kBtu': u'float',\n- u'District Chilled Water Use (kBtu)': u'float',\n- u'District Host Water Resource Value kBtu': u'float',\n- u'District Hot Water': u'string',\n- u'District Hot Water Cost ($)': u'float',\n- u'District Hot Water Derivation Method Estimated': u'string',\n- u'District Hot Water Resource Cost': u'float',\n- u'District Hot Water Use (kBtu)': u'float',\n- u'District Steam': u'string',\n- u'District Steam Cost ($)': u'float',\n- u'District Steam Derivation Method Estimated': u'string',\n- u'District Steam Resource Cost': u'float',\n- u'District Steam Resource Value kBtu': u'float',\n- u'District Steam Use (kBtu)': u'float',\n- u'Domestic Hot Water Type': u'string',\n- u'Door Configuration': u'string',\n- u'Door Glazed Area Fraction': u'float',\n- u'Door Operation': u'string',\n- u'Door Visible Transmittance': u'float',\n- u'Doors Weather-Stripped': u'string',\n- u'Draft Type': u'string',\n- u'Drinking Water Treatment & Distribution - Average Flow (MGD)': u'float',\n- u'Drinking Water Treatment & Distribution - Gross Floor Area (ft2)': u'float',\n- u'Dryer Primary Energy Use Per Load': u'float',\n- u'Dryer Secondary Energy Use Per Load': u'float',\n- u'Duct Insulation': u'string',\n- u'Duct Insulation R-Value': u'float',\n- u'Duct Leakage Test Method': u'string',\n- u'Duct Pressure Test Leakage Percentage (Percentage)': u'float',\n- u'Duct Pressure Test Leakage cfm (cfm)': u'float',\n- u'Duct Sealing': u'string',\n- u'Duct Surface Area': u'float',\n- u'Duct Type': u'string',\n- u'Duty Cycle': u'string',\n- u'ENERGY STAR Application Status': u'string',\n- u'ENERGY STAR Certification - Application Status': u'string',\n- u'ENERGY STAR Certification - Eligibility': u'string',\n- u'ENERGY STAR Certification - Last Approval Date': u'date',\n- u'ENERGY STAR Certification - Next Eligible Date': u'date',\n- u'ENERGY STAR Certification - Profile Published': u'string',\n- u'ENERGY STAR Certification - Year(s) Certified': u'string',\n- u'ENERGY STAR Certification Approved Assessment Recognition Status Date': u'date',\n- u'ENERGY STAR Certification Assessment Eligibility': u'string',\n- u'ENERGY STAR Certification Assessment Recognition Status': u'string',\n- u'ENERGY STAR Certification Assessment Year': u'string',\n- u'ENERGY STAR Certification Eligible Assessment Recognition Status Date': u'date',\n- u'ENERGY STAR Certification Published': u'string',\n- u'ENERGY STAR Score Assessment Metric Value': u'float',\n- u'ENERGY STAR Score Assessment Value': u'float',\n- u'ENERGY Star Score': u'float',\n- u'Economizer': u'string',\n- u'Economizer Control': u'float',\n- u'Economizer Dry Bulb Control Point': u'float',\n- u'Economizer Enthalpy Control Point': u'float',\n- u'Economizer Low Temperature Lockout': u'string',\n- u'Economizer Type': u'string',\n- u'Education Business Average Weekly Hours': u'float',\n- u'Education Computer Quantity': u'float',\n- u'Education Design Files Gross Floor Area': u'float',\n- u'Education Gross Floor Area': u'float',\n- u'Education Temporary Quality Alert': u'string',\n- u'Education Workers on Main Shift Quantity': u'float',\n- u'Education-Higher Business Average Weekly Hours': u'float',\n- u'Education-Higher Computer Quantity': u'float',\n- u'Education-Higher Design Files Gross Floor Area': u'float',\n- u'Education-Higher Gross Floor Area': u'float',\n- u'Education-Higher Registered Students Quantity': u'float',\n- u'Education-Higher Temporary Quality Alert': u'string',\n- u'Education-Higher Workers on Main Shift Quantity': u'float',\n- u'Education-Preschool or Daycare Business Average Weekly Hours': u'float',\n- u'Education-Preschool or Daycare Computer Quantity': u'float',\n- u'Education-Preschool or Daycare Design Files Gross Floor Area': u'float',\n- u'Education-Preschool or Daycare Gross Floor Area': u'float',\n- u'Education-Preschool or Daycare Temporary Quality Alert': u'string',\n- u'Education-Preschool or Daycare Workers on Main Shift Quantity': u'float',\n- u'Electric Demand Rate': u'string',\n- u'Electric Distribution Utility': u'string',\n- u'Electric Distribution Utility (EDU) Company Name': u'string',\n- u'Electrical Plug Load Intensity': u'float',\n- u'Electricity': u'string',\n- u'Electricity (Grid Purchase) Cost ($)': u'float',\n- u'Electricity Generated Onsite Percent of Total': u'',\n- u'Electricity Photovoltaic Onsite renewable Derivation Method Estimated': u'string',\n- u'Electricity Price Escalation Rate': u'string',\n- u'Electricity Sourced from Onsite Renewable Systems': u'float',\n- u'Electricity Use - Generated from Onsite Renewable Systems (kWh)': u'float',\n- u'Electricity Use - Generated from Onsite Renewable Systems and Exported (kWh)': u'float',\n- u'Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kBtu)': u'float',\n- u'Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kWh)': u'float',\n- u'Electricity Use - Grid Purchase (kBtu)': u'float',\n- u'Electricity Use - Grid Purchase (kWh)': u'float',\n- u'Electricity Use - Grid Purchase and Generated from Onsite Renewable Systems (kBtu)': u'float',\n- u'Electricity Use - Grid Purchase and Generated from Onsite Renewable Systems (kWh)': u'float',\n- u'Electricity Utility provided Derivation Method Estimated': u'string',\n- u'Emissions Factor': u'float',\n- u'Emissions Factor - Source': u'string',\n- u'Emissions Intensity kgCO2e/ft2': u'float',\n- u'Emissions Value MtCO2e': u'float',\n- u'Enclosed Assembly-Stadium Computer Quantity': u'float',\n- u'Enclosed Assembly-Stadium Cooled Percentage of Total Area': u'string',\n- u'Enclosed Assembly-Stadium Design Files Gross Floor Area': u'float',\n- u'Enclosed Assembly-Stadium Enclosed Floor Area': u'float',\n- u'Enclosed Assembly-Stadium Gross Floor Area': u'float',\n- u'Enclosed Assembly-Stadium Heated Percentage of Total Area': u'string',\n- u'Enclosed Assembly-Stadium Ice Performance': u'float',\n- u'Enclosed Assembly-Stadium Non-sporting Event Operation Events per Year': u'float',\n- u'Enclosed Assembly-Stadium Other Operation Event Operation Events per Year': u'float',\n- u'Enclosed Assembly-Stadium Signage Display Area': u'float',\n- u'Enclosed Assembly-Stadium Sporting Event Operation Events per Year': u'float',\n- u'Enclosed Assembly-Stadium Temporary Quality Alert': u'string',\n- u'Enclosed Assembly-Stadium Walk-in Refrigeration Quantity': u'float',\n- u'Enclosed Mall - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Enclosed Mall - Gross Floor Area (ft2)': u'float',\n- u'Enclosed Mall - Number of Computers': u'float',\n- u'Enclosed Mall - Number of Workers on Main Shift': u'float',\n- u'Enclosed Mall - Weekly Operating Hours': u'float',\n- u'Enclosed Mall - Worker Density (Number per 1,000 ft2)': u'float',\n- u'End Time Stamp': u'date:timeu',\n- u'End Use': u'string',\n- u'Energy Baseline Annual Interval End Date': u'date',\n- u'Energy Baseline Date': u'date',\n- u'Energy Cost': u'float',\n- u'Energy Cost ($)': u'float',\n- u'Energy Cost Intensity ($)': u'float',\n- u'Energy Current Annual Interval End Date': u'date',\n- u'Energy Generation Plant Business Average Weekly Hours': u'float',\n- u'Energy Generation Plant Computer Quantity': u'float',\n- u'Energy Generation Plant Design Files Gross Floor Area': u'float',\n- u'Energy Generation Plant Gross Floor Area': u'float',\n- u'Energy Generation Plant Temporary Quality Alert': u'string',\n- u'Energy Generation Plant Workers on Main Shift Quantity': u'float',\n- u'Energy Metered Premises': u'string',\n- u'Energy Recovery Efficiency': u'float',\n- u'Energy Resource Cost': u'float',\n- u'Energy Resource Cost Intensity': u'float',\n- u'Energy Storage Type': u'string',\n- u'Energy/Power Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Energy/Power Station - Gross Floor Area (ft2)': u'float',\n- u'Energy/Power Station - Number of Computers': u'float',\n- u'Energy/Power Station - Number of Workers on Main Shift': u'float',\n- u'Energy/Power Station - Weekly Operating Hours': u'float',\n- u'Energy/Power Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Equipment Disposal and Salvage Costs': u'float',\n- u'Estimated Quality Alert': u'string',\n- u'Estimated Savings from Energy Projects, Cumulative ($)': u'float',\n- u'Estimated Savings from Energy Projects, Cumulative ($/ft2)': u'float',\n- u'Evaporative Cooling Entering Supply Air DB Temperature': u'float',\n- u'Evaporative Cooling Entering Supply Air WB Temperature': u'float',\n- u'Evaporative Cooling Operation': u'string',\n- u'Evaporatively Cooled Condenser': u'string',\n- u'Evaporatively Cooled Condenser Maximum Temperature': u'float',\n- u'Evaporatively Cooled Condenser Minimum Temperature': u'float',\n- u'Evaporator Pressure Regulators': u'string',\n- u'Excess Quality Alert': u'string',\n- u'Exported Onsite Renewable Electricity Resoure Value kWh': u'float',\n- u'Exterior Alternative Water Generated Onsite Derivation Method Estimated': u'string',\n- u'Exterior Delivered Potable Water Derivation Method Estimated': u'string',\n- u'Exterior Delivered Reclaimed Water Derivation Method Estimated': u'string',\n- u'Exterior Door Type': u'string',\n- u'Exterior Other Water Resource Derivation Method Estimated': u'string',\n- u'Exterior Roughness': u'string',\n- u'Exterior Shading Type': u'string',\n- u'Exterior Wall Color': u'string',\n- u'Exterior Wall Type': u'string',\n- u'Fan Application': u'string',\n- u'Fan Design Static Pressure': u'float',\n- u'Fan Efficiency': u'float',\n- u'Fan Flow Control Type': u'string',\n- u'Fan Placement': u'string',\n- u'Fan Power Minimum Ratio': u'float',\n- u'Fan Size': u'float',\n- u'Fan Type': u'string',\n- u'Fast Food Restaurant - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Fast Food Restaurant - Gross Floor Area (ft2)': u'float',\n- u'Fast Food Restaurant - Number of Computers': u'float',\n- u'Fast Food Restaurant - Number of Workers on Main Shift': u'float',\n- u'Fast Food Restaurant - Weekly Operating Hours': u'float',\n- u'Fast Food Restaurant - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Federal Agency': u'string',\n- u'Federal Agency/Department': u'string',\n- u'Federal Department': u'string',\n- u'Federal Government Agency Company Name': u'string',\n- u'Federal Property': u'string',\n- u'Federal Region/Sub-Department': u'string',\n- u'Federal Sustainability Checklist Completion Percentage': u'float',\n- u'Fenestration Area': u'float',\n- u'Fenestration R-value': u'float',\n- u'Fenestration Type': u'string',\n- u'Financial Office - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Financial Office - Gross Floor Area (ft2)': u'float',\n- u'Financial Office - Number of Computers': u'float',\n- u'Financial Office - Number of Workers on Main Shift': u'float',\n- u'Financial Office - Percent That Can Be Cooled': u'float',\n- u'Financial Office - Percent That Can Be Heated': u'float',\n- u'Financial Office - Weekly Operating Hours': u'float',\n- u'Financial Office - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Fire Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Fire Station - Gross Floor Area (ft2)': u'float',\n- u'Fire Station - Number of Computers': u'float',\n- u'Fire Station - Number of Workers on Main Shift': u'float',\n- u'Fire Station - Weekly Operating Hours': u'float',\n- u'Fire Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'First Cost': u'float',\n- u'Fitness Center/Health Club/Gym - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Fitness Center/Health Club/Gym - Gross Floor Area (ft2)': u'float',\n- u'Fitness Center/Health Club/Gym - Number of Computers': u'float',\n- u'Fitness Center/Health Club/Gym - Number of Workers on Main Shift': u'float',\n- u'Fitness Center/Health Club/Gym - Weekly Operating Hours': u'float',\n- u'Fitness Center/Health Club/Gym - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Fixed Monthly Charge': u'float',\n- u'Fixture Spacing': u'string',\n- u'Floor Area Custom Name': u'string',\n- u'Floor Area Source': u'string',\n- u'Floor Area Type': u'string',\n- u'Floor Area Value': u'float',\n- u'Floor Construction Type': u'string',\n- u'Floor Covering': u'string',\n- u'Floor Framing Configuration': u'string',\n- u'Floor Framing Depth': u'float',\n- u'Floor Framing Factor': u'float',\n- u'Floor Framing Material': u'string',\n- u'Floor Insulation Condition': u'string',\n- u'Floor Insulation Thickness': u'float',\n- u'Floor R-Value': u'float',\n- u'Floor Type': u'string',\n- u'Floor-to-Ceiling Height': u'float',\n- u'Floor-to-Floor Height': u'float',\n- u'Floors Above Grade': u'float',\n- u'Floors Below Grade': u'float',\n- u'Floors Partially Below Grade': u'float',\n- u'Fluorescent Start Type': u'string',\n- u'Food Sales - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Food Sales - Gross Floor Area (ft2)': u'float',\n- u'Food Sales - Number of Computers': u'float',\n- u'Food Sales - Number of Workers on Main Shift': u'float',\n- u'Food Sales - Weekly Operating Hours': u'float',\n- u'Food Sales - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Food Sales Business Average Weekly Hours': u'float',\n- u'Food Sales Case Refrigeration Length': u'float',\n- u'Food Sales Cash Register Quantity': u'float',\n- u'Food Sales Computer Quantity': u'float',\n- u'Food Sales Cooled Percentage of Total Area': u'float',\n- u'Food Sales Design Files Gross Floor Area': u'float',\n- u'Food Sales Gross Floor Area': u'float',\n- u'Food Sales Heated Percentage of Total Area': u'float',\n- u'Food Sales Temporary Quality Alert': u'string',\n- u'Food Sales Walk-In Refrigeration Area': u'float',\n- u'Food Sales Walk-in Refrigeration Quantity': u'float',\n- u'Food Sales Workers on Main Shift Quantity': u'float',\n- u'Food Sales has Kitchen': u'float',\n- u'Food Sales-Grocery Store Business Average Weekly Hours': u'float',\n- u'Food Sales-Grocery Store Case Refrigeration Length': u'',\n- u'Food Sales-Grocery Store Cash Register Quantity': u'float',\n- u'Food Sales-Grocery Store Commercial Refrigeration Case Quantity': u'float',\n- u'Food Sales-Grocery Store Computer Quantity': u'float',\n- u'Food Sales-Grocery Store Cooled Percentage of Total Area': u'string',\n- u'Food Sales-Grocery Store Derivation Method Default': u'string',\n- u'Food Sales-Grocery Store Design Files Gross Floor Area': u'float',\n- u'Food Sales-Grocery Store Gross Floor Area': u'float',\n- u'Food Sales-Grocery Store Heated Percentage of Total Area': u'string',\n- u'Food Sales-Grocery Store Temporary Quality Alert': u'string',\n- u'Food Sales-Grocery Store Walk-In Refrigeration Area': u'',\n- u'Food Sales-Grocery Store Walk-in Refrigeration Quantity': u'float',\n- u'Food Sales-Grocery Store Workers on Main Shift Quantity': u'float',\n- u'Food Sales-Grocery Store has Kitchen': u'float',\n- u'Food Salese Refrigeration Case Quantity': u'float',\n- u'Food Service - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Food Service - Gross Floor Area (ft2)': u'float',\n- u'Food Service - Number of Computers': u'float',\n- u'Food Service - Number of Workers on Main Shift': u'float',\n- u'Food Service - Weekly Operating Hours': u'float',\n- u'Food Service - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Food Service Business Average Weekly Hours': u'float',\n- u'Food Service Computer Quantity': u'float',\n- u'Food Service Design Files Gross Floor Area': u'float',\n- u'Food Service Gross Floor Area': u'float',\n- u'Food Service Temporary Quality Alert': u'string',\n- u'Food Service Workers on Main Shift Quantity': u'float',\n- u'Food Service-Fast Business Average Weekly Hours': u'float',\n- u'Food Service-Fast Computer Quantity': u'float',\n- u'Food Service-Fast Design Files Gross Floor Area': u'float',\n- u'Food Service-Fast Gross Floor Area': u'float',\n- u'Food Service-Fast Temporary Quality Alert': u'string',\n- u'Food Service-Fast Workers on Main Shift Quantity': u'float',\n- u'Food Service-Full Business Average Weekly Hours': u'float',\n- u'Food Service-Full Computer Quantity': u'float',\n- u'Food Service-Full Design Files Gross Floor Area': u'float',\n- u'Food Service-Full Gross Floor Area': u'float',\n- u'Food Service-Full Temporary Quality Alert': u'string',\n- u'Food Service-Full Workers on Main Shift Quantity': u'float',\n- u'Footprint Shape': u'string',\n- u'Foundation Area': u'float',\n- u'Foundation Wall Below Grade Depth': u'float',\n- u'Foundation Wall Insulation Condition': u'string',\n- u'Foundation Wall Insulation Continuity': u'string',\n- u'Foundation Wall Insulation Thickness': u'float',\n- u'Foundation Wall Type': u'string',\n- u'Fuel Generated': u'string',\n- u'Fuel Interruptibility': u'string',\n- u'Fuel Oil #1 Use (kBtu)': u'float',\n- u'Fuel Oil #2 Use (kBtu)': u'float',\n- u'Fuel Oil #4 Use (kBtu)': u'float',\n- u'Fuel Oil #5 & 6 Use (kBtu)': u'float',\n- u'Fuel Oil (No. 1) Cost ($)': u'float',\n- u'Fuel Oil (No. 2) Cost ($)': u'float',\n- u'Fuel Oil (No. 4) Cost ($)': u'float',\n- u'Fuel Oil (No. 5 and No. 6) Cost ($)': u'float',\n- u'Fuel Oil No-1 Derivation Method Estimated': u'string',\n- u'Fuel Oil No-1 Resource Cost': u'float',\n- u'Fuel Oil No-1 Resource Value kBtu': u'float',\n- u'Fuel Oil No-2 Derivation Method Estimated': u'string',\n- u'Fuel Oil No-2 Resource Cost': u'float',\n- u'Fuel Oil No-2 Resource Value kBtu': u'float',\n- u'Fuel Oil No-4 Derivation Method Estimated': u'string',\n- u'Fuel Oil No-4 Resource Cost': u'float',\n- u'Fuel Oil No-4 Resource Value kBtu': u'float',\n- u'Fuel Oil No-5 and No-6 Derivation Method Estimated': u'string',\n- u'Fuel Oil No-5 and No-6 Resource Cost': u'float',\n- u'Fuel Oil No-5 and No-6 Resource Value kBtu': u'float',\n- u'Fuel Use Intensity': u'float',\n- u'Funding from Rebates': u'string',\n- u'Funding from Tax Credits': u'string',\n- u'GHG Emissions': u'float',\n- u'Gas Price Escalation Rate': u'float',\n- u'Gas Station Business Average Weekly Hours': u'float',\n- u'Gas Station Case Refrigeration Length': u'',\n- u'Gas Station Cash Register Quantity': u'',\n- u'Gas Station Computer Quantity': u'float',\n- u'Gas Station Cooled Percentage of Total Area': u'',\n- u'Gas Station Design Files Gross Floor Area': u'float',\n- u'Gas Station Gross Floor Area': u'float',\n- u'Gas Station Heated Percentage of Total Area': u'',\n- u'Gas Station Refrigeration Case Quantity': u'',\n- u'Gas Station Temporary Quality Alert': u'string',\n- u'Gas Station Walk-In Refrigeration Area': u'',\n- u'Gas Station Walk-in Refrigeration Quantity': u'',\n- u'Gas Station Workers on Main Shift Quantity': u'float',\n- u'Gas Station has Kitchen': u'',\n- u'Generated Onsite Renewable Electricity Resoure Value kWh': u'float',\n- u'Generation Annual Operation Hours': u'float',\n- u'Generation Capacity': u'float',\n- u'Generation Capacity Unit': u'string',\n- u'Glass Type': u'string',\n- u'Green Power - Offsite (kWh)': u'float',\n- u'Green Power - Onsite (kWh)': u'float',\n- u'Green Power - Onsite and Offsite (kWh)': u'float',\n- u'Gross Floor Area Quality Alert': u'string',\n- u'Ground Coupling': u'string',\n- u'Guiding Principle 1.1 Integrated - Team': u'string',\n- u'Guiding Principle 1.2 Integrated - Goals': u'string',\n- u'Guiding Principle 1.3 Integrated - Plan': u'string',\n- u'Guiding Principle 1.4 Integrated -Occupant Feedback': u'string',\n- u'Guiding Principle 1.5 Integrated - Commissioning': u'string',\n- u'Guiding Principle 2.1 Energy - Energy Efficiency Any Option (Any Option)': u'string',\n- u'Guiding Principle 2.1 Energy Efficiency - Option 1': u'string',\n- u'Guiding Principle 2.1 Energy Efficiency - Option 2': u'string',\n- u'Guiding Principle 2.1 Energy Efficiency - Option 3': u'string',\n- u'Guiding Principle 2.2 Energy - Efficient Products': u'string',\n- u'Guiding Principle 2.3 Energy - Onsite Renewable': u'string',\n- u'Guiding Principle 2.4 Energy - Measurement and Verification': u'string',\n- u'Guiding Principle 2.5 Energy - Benchmarking': u'string',\n- u'Guiding Principle 3.1 Indoor Water - Option 1': u'string',\n- u'Guiding Principle 3.1 Indoor Water - Option 2': u'string',\n- u'Guiding Principle 3.1 Water - Indoor Water Any Option (Any Option)': u'string',\n- u'Guiding Principle 3.2 Outdoor Water - Option 1': u'string',\n- u'Guiding Principle 3.2 Outdoor Water - Option 2': u'string',\n- u'Guiding Principle 3.2 Outdoor Water - Option 3': u'string',\n- u'Guiding Principle 3.2 Water - Outdoor Water Any Option (Any Option)': u'string',\n- u'Guiding Principle 3.3 Water - Stormwater': u'string',\n- u'Guiding Principle 3.4 Water - Efficient Products': u'string',\n- u'Guiding Principle 4.1 Indoor Environment - Ventilation and Thermal Comfort': u'string',\n- u'Guiding Principle 4.2 Indoor Environment - Moisture Control': u'string',\n- u'Guiding Principle 4.3 Indoor Environment - Automated Lighting Controls': u'string',\n- u'Guiding Principle 4.4 Daylighting and Occupant Controls - Option 1': u'string',\n- u'Guiding Principle 4.4 Daylighting and Occupant Controls - Option 2': u'string',\n- u'Guiding Principle 4.4 Indoor Environment - Daylighting and Occupant Controls Any Option (Any Option)': u'string',\n- u'Guiding Principle 4.5 Indoor Environment - Low-Emitting Materials': u'string',\n- u'Guiding Principle 4.6 Indoor Environment - Integrated Pest Management': u'string',\n- u'Guiding Principle 4.7 Indoor Environment - Tobacco Smoke Control': u'string',\n- u'Guiding Principle 5.1 Materials - Recycled Content': u'string',\n- u'Guiding Principle 5.2 Materials - Biobased Content': u'string',\n- u'Guiding Principle 5.3 Materials - Environmentally Preferred Products': u'string',\n- u'Guiding Principle 5.4 Materials - Waste and Materials Mgmt': u'string',\n- u'Guiding Principle 5.5 Materials - Ozone Depleting Compounds': u'string',\n- u'Guiding Principles - % Complete (Yes or Not Applicable)': u'string',\n- u'Guiding Principles - % In Process': u'string',\n- u'Guiding Principles - % No': u'string',\n- u'Guiding Principles - % Not Applicable': u'string',\n- u'Guiding Principles - % Not Assessed': u'string',\n- u'Guiding Principles - % Yes': u'string',\n- u'Guiding Principles - Checklist Manager': u'string',\n- u'Guiding Principles - Principles Date Achieved': u'string',\n- u'Guiding Principles - Principles Date Anticipated': u'string',\n- u'HPWH Minimum Air Temperature': u'float',\n- u'Health Care Design Files Gross Floor Area': u'float',\n- u'Health Care Temporary Quality Alert': u'string',\n- u'Health Care-Inpatient Hospital Cooled Percentage of Total Area': u'string',\n- u'Health Care-Inpatient Hospital Derivation Method Default': u'string',\n- u'Health Care-Inpatient Hospital Design Files Gross Floor Area': u'float',\n- u'Health Care-Inpatient Hospital Full Time Equivalent (FTE) Workers Quantity': u'float',\n- u'Health Care-Inpatient Hospital Gross Floor Area': u'float',\n- u'Health Care-Inpatient Hospital Heated Percentage of Total Area': u'string',\n- u'Health Care-Inpatient Hospital Licensed Beds Quantity': u'float',\n- u'Health Care-Inpatient Hospital Medical Equipment Quantity': u'float',\n- u'Health Care-Inpatient Hospital Ownership': u'string',\n- u'Health Care-Inpatient Hospital Staffed Beds Quantity': u'float',\n- u'Health Care-Inpatient Hospital Temporary Quality Alert': u'string',\n- u'Health Care-Inpatient Hospital Workers on Main Shift Quantity': u'float',\n- u'Health Care-Inpatient Hospital has Commercial Laundry Area': u'string',\n- u'Health Care-Inpatient Hospital has Laboratory': u'string',\n- u'Health Care-Outpatient Non-diagnostic Business Average Weekly Hours': u'float',\n- u'Health Care-Outpatient Non-diagnostic Cooled Percentage of Total Area': u'string',\n- u'Health Care-Outpatient Non-diagnostic Derivation Method Default': u'string',\n- u'Health Care-Outpatient Non-diagnostic Design Files Gross Floor Area': u'float',\n- u'Health Care-Outpatient Non-diagnostic Gross Floor Area': u'float',\n- u'Health Care-Outpatient Non-diagnostic Heated Percentage of Total Area': u'string',\n- u'Health Care-Outpatient Non-diagnostic Medical Equipment Quantity': u'float',\n- u'Health Care-Outpatient Non-diagnostic Sub-component Health Care-Outpatient Surgical Gross Floor Area': u'float',\n- u'Health Care-Outpatient Non-diagnostic Temporary Quality Alert': u'string',\n- u'Health Care-Outpatient Non-diagnostic Workers on Main Shift Quantity': u'float',\n- u'Health Care-Outpatient Rehabilitation Business Average Weekly Hours': u'float',\n- u'Health Care-Outpatient Rehabilitation Computer Quantity': u'float',\n- u'Health Care-Outpatient Rehabilitation Design Files Gross Floor Area': u'float',\n- u'Health Care-Outpatient Rehabilitation Gross Floor Area': u'float',\n- u'Health Care-Outpatient Rehabilitation Temporary Quality Alert': u'string',\n- u'Health Care-Outpatient Rehabilitation Workers on Main Shift Quantity': u'float',\n- u'Health Care-Outpatient Surgical Business Average Weekly Hours': u'float',\n- u'Health Care-Outpatient Surgical Computer Quantity': u'float',\n- u'Health Care-Outpatient Surgical Design Files Gross Floor Area': u'float',\n- u'Health Care-Outpatient Surgical Gross Floor Area': u'float',\n- u'Health Care-Outpatient Surgical Temporary Quality Alert': u'string',\n- u'Health Care-Outpatient Surgical Workers on Main Shift Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Average Residents Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Capacity Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Commercial Clothes Washer Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Commercial Refrigeration Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Computer Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Cooled Percentage of Total Area': u'string',\n- u'Health Care-Skilled Nursing Facility Derivation Method Default': u'string',\n- u'Health Care-Skilled Nursing Facility Design Files Gross Floor Area': u'float',\n- u'Health Care-Skilled Nursing Facility Gross Floor Area': u'float',\n- u'Health Care-Skilled Nursing Facility Guest Rooms Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Heated Percentage of Total Area': u'string',\n- u'Health Care-Skilled Nursing Facility People Lift System Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Residential Clothes Washer Quantity': u'float',\n- u'Health Care-Skilled Nursing Facility Temporary Quality Alert': u'string',\n- u'Health Care-Skilled Nursing Facility Workers on Main Shift Quantity': u'float',\n- u'Health Care-Veterinary Business Average Weekly Hours': u'float',\n- u'Health Care-Veterinary Computer Quantity': u'float',\n- u'Health Care-Veterinary Design Files Gross Floor Area': u'float',\n- u'Health Care-Veterinary Gross Floor Area': u'float',\n- u'Health Care-Veterinary Temporary Quality Alert': u'string',\n- u'Health Care-Veterinary Workers on Main Shift Quantity': u'float',\n- u'Heat Pump Backup AFUE': u'float',\n- u'Heat Pump Backup Heating Switchover Temperature': u'float',\n- u'Heat Pump Backup system fuel': u'string',\n- u'Heat Pump Water Heater Refrigerant Designation': u'string',\n- u'Heat Recovery Efficiency': u'float',\n- u'Heat Recovery Type': u'string',\n- u'Heated Floor Area': u'float',\n- u'Heating Degree Days (HDD) (\u00b0F)': u'float',\n- u'Heating Degree Days (HDD) Weather Metric Value': u'float',\n- u'Heating Delivery Type': u'string',\n- u'Heating Equipment Maintenance Frequency': u'string',\n- u'Heating Refrigerant Type': u'string',\n- u'Heating Setback Frequency': u'string',\n- u'Heating Setback Temperature': u'float',\n- u'Heating Setpoint setpoint': u'float',\n- u'Heating Stage Capacity': u'float',\n- u'Heating Staging': u'string',\n- u'Heating Type': u'string',\n- u'Home Energy Score': u'float',\n- u'Horizontal Abutments': u'string',\n- u'Hospital (General Medical & Surgical) - Full Time Equivalent (FTE) Workers Density (Number per 1,000 ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - Gross Floor Area (ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - Laboratory': u'string',\n- u'Hospital (General Medical & Surgical) - Licensed Bed Capacity': u'float',\n- u'Hospital (General Medical & Surgical) - Licensed Bed Capacity Density (Number per 1,000 ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - MRI Density (Number per 1,000 ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - Maximum Number of Floors': u'float',\n- u'Hospital (General Medical & Surgical) - Number of MRI Machines': u'float',\n- u'Hospital (General Medical & Surgical) - Number of Staffed Beds': u'float',\n- u'Hospital (General Medical & Surgical) - Number of Workers on Main Shift': u'float',\n- u'Hospital (General Medical & Surgical) - Number of Workers on Main Shift Density (Number per 1,000 ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - Onsite Laundry Facility': u'string',\n- u'Hospital (General Medical & Surgical) - Owned By': u'string',\n- u'Hospital (General Medical & Surgical) - Percent That Can Be Cooled': u'float',\n- u'Hospital (General Medical & Surgical) - Percent That Can Be Heated': u'float',\n- u'Hospital (General Medical & Surgical) - Staffed Bed Density (Number per 1,000 ft2)': u'float',\n- u'Hospital (General Medical & Surgical) - Tertiary Care': u'string',\n- u'Hospital (General Medical & Surgical)- Full Time Equivalent (FTE) Workers': u'float',\n- u'Hot Water Boiler Maximum Flow Rate': u'float',\n- u'Hot Water Boiler Minimum Flow Rate': u'float',\n- u'Hot Water Reset Control': u'string',\n- u'Hotel - Amount of Laundry Processed On-site Annually (short tons/year)': u'float',\n- u'Hotel - Commercial Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Hotel - Cooking Facilities': u'string',\n- u'Hotel - Full Service Spa Floor Area (ft2)': u'float',\n- u'Hotel - Gross Floor Area (ft2)': u'float',\n- u'Hotel - Gym/fitness Center Floor Area (ft2)': u'float',\n- u'Hotel - Number of Workers on Main Shift': u'float',\n- u'Hotel - Percent That Can Be Cooled': u'float',\n- u'Hotel - Percent That Can Be Heated': u'float',\n- u'Hotel - Room Density (Number per 1,000 ft2)': u'float',\n- u'Hotel - Type of Laundry Facility': u'string',\n- u'Hotel - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Hotel- Hours per day guests on-site': u'float',\n- u'Hotel- Number of Commercial Refrigeration/Freezer Units': u'float',\n- u'Hotel- Number of Rooms': u'float',\n- u'Hotel- Number of guest meals served per year': u'float',\n- u'Humidification Type': u'string',\n- u'Humidity Control Maximum': u'float',\n- u'Humidity Control Minimum': u'float',\n- u'IT Energy Intensity': u'float',\n- u'IT Peak Power': u'float',\n- u'IT Standby Power': u'float',\n- u'IT System Type': u'string',\n- u'Ice/Curling Rink - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Ice/Curling Rink - Gross Floor Area (ft2)': u'float',\n- u'Ice/Curling Rink - Number of Computers': u'float',\n- u'Ice/Curling Rink - Number of Workers on Main Shift': u'float',\n- u'Ice/Curling Rink - Weekly Operating Hours': u'float',\n- u'Ice/Curling Rink - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Ignition Type': u'string',\n- u'In Portfolio Manager': u'string',\n- u'Indirect Emissions Intensity kgtCO2e/ft2': u'float',\n- u'Indirect Emissions Value MtCO2e': u'float',\n- u'Indirect GHG Emissions (MtCO2e)': u'float',\n- u'Indirect GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Indirect Tank Heating Source': u'string',\n- u'Indoor Arena - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Indoor Arena - Enclosed Floor Area (ft2)': u'float',\n- u'Indoor Arena - Gross Floor Area (ft2)': u'float',\n- u'Indoor Arena - Ice Events': u'float',\n- u'Indoor Arena - Number of Computers': u'float',\n- u'Indoor Arena - Number of Concert/Show Events per Year': u'float',\n- u'Indoor Arena - Number of Special/Other Events per Year': u'float',\n- u'Indoor Arena - Number of Sporting Events per Year': u'float',\n- u'Indoor Arena - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Indoor Arena - Percent That Can Be Cooled': u'float',\n- u'Indoor Arena - Percent That Can Be Heated': u'float',\n- u'Indoor Arena - Size of Electronic Scoreboards (ft2)': u'float',\n- u'Indoor Arena - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Indoor Water Cost (All Water Sources) ($)': u'float',\n- u'Indoor Water Cost Intensity (All Water Sources) ($/ft2)': u'float',\n- u'Indoor Water Intensity (All Water Sources) (gal/ft2)': u'float',\n- u'Indoor Water Use (All Water Sources) (kgal)': u'float',\n- u'Industrial Manufacturing Business Average Weekly Hours': u'float',\n- u'Industrial Manufacturing Computer Quantity': u'float',\n- u'Industrial Manufacturing Gross Floor Area': u'float',\n- u'Industrial Manufacturing Plant Design Files Gross Floor Area': u'float',\n- u'Industrial Manufacturing Plant Temporary Quality Alert': u'string',\n- u'Industrial Manufacturing Workers on Main Shift Quantity': u'float',\n- u'Input Capacity': u'float',\n- u'Input Voltage': u'float',\n- u'Installation Type': u'string',\n- u'Installed Fan Flow Rate': u'float',\n- u'Installed Power': u'float',\n- u'Interior Alternative Water Generated Onsite Derivation Method Estimated': u'string',\n- u'Interior Automated Shades': u'string',\n- u'Interior Delivered Potable Water Derivation Method Estimated': u'string',\n- u'Interior Delivered Reclaimed Water Derivation Method Estimated': u'string',\n- u'Interior Exterior and Other Location Other Water Resource Derivation Method Estimated': u'string',\n- u'Interior Other Water Resource Derivation Method Estimated': u'string',\n- u'Interior Shading Type': u'string',\n- u'Interior Visible Absorptance': u'float',\n- u'Interior and Exterior and Other Location Alternative Water Generated Onsite Derivation Method Estimated': u'string',\n- u'Interior and Exterior and Other Location Delivered Potable Water Derivation Method Estimated': u'string',\n- u'Interior and Exterior and Other Location Delivered Reclaimed Water Derivation Method Estimated': u'string',\n- u'Internal Rate of Return': u'float',\n- u'Investment in Energy Projects, Cumulative ($)': u'float',\n- u'Investment in Energy Projects, Cumulative ($/ft2)': u'float',\n- u'K-12 School - Computer Density (Number per 1,000 ft2)': u'float',\n- u'K-12 School - Cooking Facilities': u'string',\n- u'K-12 School - Gross Floor Area (ft2)': u'float',\n- u'K-12 School - Gymnasium Floor Area (ft2)': u'float',\n- u'K-12 School - High School': u'string',\n- u'K-12 School - Months in Use': u'float',\n- u'K-12 School - Number of Computers': u'float',\n- u'K-12 School - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'K-12 School - Number of Workers on Main Shift': u'float',\n- u'K-12 School - Percent That Can Be Cooled': u'float',\n- u'K-12 School - Percent That Can Be Heated': u'float',\n- u'K-12 School - Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'K-12 School - School District': u'string',\n- u'K-12 School - Student Seating Capacity': u'float',\n- u'K-12 School - Student Seating Density (Number per 1,000 ft2)': u'float',\n- u'K-12 School - Weekend Operation': u'string',\n- u'K-12 School - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Kerosene Cost ($)': u'float',\n- u'Kerosene Derivation Method Estimated': u'string',\n- u'Kerosene Resource Cost': u'float',\n- u'Kerosene Resource Value kBtu': u'float',\n- u'Kerosene Use (kBtu)': u'float',\n- u'LEED Certification Audit Exemption': u'string',\n- u'Laboratory - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Laboratory - Gross Floor Area (ft2)': u'float',\n- u'Laboratory - Number of Computers': u'float',\n- u'Laboratory - Number of Workers on Main Shift': u'float',\n- u'Laboratory - Weekly Operating Hours': u'float',\n- u'Laboratory - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Laboratory Business Average Weekly Hours': u'float',\n- u'Laboratory Computer Quantity': u'float',\n- u'Laboratory Design Files Gross Floor Area': u'float',\n- u'Laboratory Gross Floor Area': u'float',\n- u'Laboratory Temporary Quality Alert': u'string',\n- u'Laboratory Workers on Main Shift Quantity': u'float',\n- u'Lamp Distribution Type': u'string',\n- u'Lamp Length': u'float',\n- u'Lamp Subtype': u'string',\n- u'Latitude': u'string',\n- u'Laundry Equipment Usage': u'string',\n- u'Laundry Type': u'string',\n- u'Laundry Unit Quantity': u'float',\n- u'Laundry Unit Year of Manufacture': u'date',\n- u'Library - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Library - Gross Floor Area (ft2)': u'float',\n- u'Library - Number of Computers': u'float',\n- u'Library - Number of Workers on Main Shift': u'float',\n- u'Library - Weekly Operating Hours': u'float',\n- u'Library - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Lifestyle Center - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Lifestyle Center - Gross Floor Area (ft2)': u'float',\n- u'Lifestyle Center - Number of Computers': u'float',\n- u'Lifestyle Center - Number of Workers on Main Shift': u'float',\n- u'Lifestyle Center - Weekly Operating Hours': u'float',\n- u'Lifestyle Center - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Light Shelf Distance from Top': u'float',\n- u'Light Shelf Exterior Protrusion': u'float',\n- u'Light Shelf Interior Protrusion': u'float',\n- u'Lighting Control Type Daylighting': u'string',\n- u'Lighting Control Type Manual': u'string',\n- u'Lighting Control Type Occupancy': u'string',\n- u'Lighting Control Type Timer': u'string',\n- u'Lighting Efficacy': u'float',\n- u'Lighting Power Density': u'float',\n- u'Lighting Type': u'string',\n- u'Lighting is ENERGY STAR Rated': u'string',\n- u'Lighting is FEMP Designated Product': u'string',\n- u'Liquid Propane Cost ($)': u'float',\n- u'Liquid Propane Derivation Method Estimated': u'string',\n- u'Liquid Propane Resource Cost': u'float',\n- u'Liquid Propane Resource Value kBtu': u'float',\n- u'Liquid Propane Use (kBtu)': u'float',\n- u'Locations of exterior water intrusion damage': u'string',\n- u'Locations of interior water intrusion damage': u'string',\n- u'Lodging Business Average Weekly Hours': u'float',\n- u'Lodging Computer Quantity': u'float',\n- u'Lodging Design Files Gross Floor Area': u'float',\n- u'Lodging Gross Floor Area': u'float',\n- u'Lodging Temporary Quality Alert': u'string',\n- u'Lodging Workers on Main Shift Quantity': u'float',\n- u'Lodging with Extended Amenities Commercial Refrigeration Quantity': u'float',\n- u'Lodging with Extended Amenities Cooled Percentage of Total Area': u'string',\n- u'Lodging with Extended Amenities Derivation Method Default': u'string',\n- u'Lodging with Extended Amenities Design Files Gross Floor Area': u'float',\n- u'Lodging with Extended Amenities Gross Floor Area': u'float',\n- u'Lodging with Extended Amenities Guest Rooms Quantity': u'float',\n- u'Lodging with Extended Amenities Heated Percentage of Total Area': u'string',\n- u'Lodging with Extended Amenities Laundry Load Type': u'string',\n- u'Lodging with Extended Amenities Laundry Loads Operation Events per Year Mass ton': u'float',\n- u'Lodging with Extended Amenities Meal Served Operation Events per Year': u'float',\n- u'Lodging with Extended Amenities Public Access Average Daily Hours': u'float',\n- u'Lodging with Extended Amenities Sub-component Beauty and Health Services Gross Floor Area': u'float',\n- u'Lodging with Extended Amenities Sub-component Recreation-Fitness Center Gross Floor Area': u'float',\n- u'Lodging with Extended Amenities Temporary Quality Alert': u'string',\n- u'Lodging with Extended Amenities Workers on Main Shift Quantity': u'float',\n- u'Lodging with Extended Amenities has Commercial Kitchen': u'string',\n- u'Longitude': u'float',\n- u'Lot Size': u'float',\n- u'Luminaire Height': u'float',\n- u'M&V Option': u'string',\n- u'MV Cost': u'float',\n- u'Mailing Center/Post Office - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Mailing Center/Post Office - Gross Floor Area (ft2)': u'float',\n- u'Mailing Center/Post Office - Number of Computers': u'float',\n- u'Mailing Center/Post Office - Number of Workers on Main Shift': u'float',\n- u'Mailing Center/Post Office - Weekly Operating Hours': u'float',\n- u'Mailing Center/Post Office - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Makeup Air Source': u'string',\n- u'Manufacturing/Industrial Plant - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Manufacturing/Industrial Plant - Gross Floor Area (ft2)': u'float',\n- u'Manufacturing/Industrial Plant - Number of Computers': u'float',\n- u'Manufacturing/Industrial Plant - Number of Workers on Main Shift': u'float',\n- u'Manufacturing/Industrial Plant - Weekly Operating Hours': u'float',\n- u'Manufacturing/Industrial Plant - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Marginal Cost Rate': u'float',\n- u'Marginal Sell Rate': u'float',\n- u'Maximum Fan Power': u'float',\n- u'Maximum Outside Air Flow Rate': u'float',\n- u'Measure Capital Replacement Costs': u'float',\n- u'Measure Description': u'string',\n- u'Measure End Date': u'date',\n- u'Measure First Cost': u'float',\n- u'Measure Implementation Status': u'string',\n- u'Measure Life': u'float',\n- u'Measure Name': u'string',\n- u'Measure Notes': u'string',\n- u'Measure Scale of Application': u'string',\n- u'Measure Start Date': u'date',\n- u'Medical Office - Gross Floor Area (ft2)': u'float',\n- u'Medical Office - MRI Machine Density (Number per 1,000 ft2)': u'float',\n- u'Medical Office - Number of MRI Machines': u'float',\n- u'Medical Office - Number of Surgical Operating Beds': u'float',\n- u'Medical Office - Number of Workers on Main Shift': u'float',\n- u'Medical Office - Percent That Can Be Cooled': u'float',\n- u'Medical Office - Percent That Can Be Heated': u'float',\n- u'Medical Office - Surgery Center Size (ft2)': u'float',\n- u'Medical Office - Surgical Operating Bed Density (Number per 1,000 ft2)': u'float',\n- u'Medical Office - Weekly Operating Hours': u'float',\n- u'Medical Office - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Metal Halide Start Type': u'string',\n- u'Metered Areas (Energy)': u'string',\n- u'Metered Areas (Water)': u'string',\n- u'Metering Configuration': u'string',\n- u'Military Community Lodging-Institutional Cooled Percentage of Total Area': u'float',\n- u'Military Community Lodging-Institutional Derivation Method Default': u'string',\n- u'Military Community Lodging-Institutional Design Files Gross Floor Area': u'float',\n- u'Military Community Lodging-Institutional Gross Floor Area': u'float',\n- u'Military Community Lodging-Institutional Guest Rooms Quantity': u'float',\n- u'Military Community Lodging-Institutional Heated Percentage of Total Area': u'float',\n- u'Military Community Lodging-Institutional Temporary Quality Alert': u'string',\n- u'Military Community Lodging-Institutional has Computer Lab': u'string',\n- u'Military Community Lodging-Institutional has Food Service-Institutional': u'string',\n- u'Minimum Dimming Light Fraction': u'float',\n- u'Minimum Dimming Power Fraction': u'float',\n- u'Minimum Fan Flow Rate': u'float',\n- u'Minimum Fan Speed as a Fraction of Maximum - Cooling': u'float',\n- u'Minimum Fan Speed as a Fraction of Maximum - Heating': u'float',\n- u'Minimum Outside Air Percentage': u'float',\n- u'Minimum Part Load Ratio': u'float',\n- u'Minimum Power Factor Without Penalty': u'float',\n- u'Montly Interval Frequency Quality Alert': u'string',\n- u'Most Recent Sale Date': u'date',\n- u'Motor Application': u'string',\n- u'Motor Brake HP': u'float',\n- u'Motor Drive Efficiency': u'float',\n- u'Motor Efficiency': u'float',\n- u'Motor Enclosure Type': u'string',\n- u'Motor Full Load Amps': u'float',\n- u'Motor HP': u'float',\n- u'Motor Location Relative to Air Stream': u'string',\n- u'Motor Pole Count': u'float',\n- u'Motor RPM': u'float',\n- u'Movie Theater - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Movie Theater - Gross Floor Area (ft2)': u'float',\n- u'Movie Theater - Number of Computers': u'float',\n- u'Movie Theater - Number of Workers on Main Shift': u'float',\n- u'Movie Theater - Weekly Operating Hours': u'float',\n- u'Movie Theater - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Multifamily Apartment Units Quantity': u'float',\n- u'Multifamily Bedrooms Quantity': u'float',\n- u'Multifamily Common Area Percentage of Total Area': u'float',\n- u'Multifamily Cooled Percentage of Total Area': u'',\n- u'Multifamily Derivation Method Default': u'string',\n- u'Multifamily Design Files Gross Floor Area': u'float',\n- u'Multifamily Floors Quantity Greater Than 0 Less Than 5 Apartment Units Quantity': u'float',\n- u'Multifamily Floors Quantity Greater Than 4 Less Than 10 Apartment Units Quantity': u'float',\n- u'Multifamily Floors Quantity Greater Than 9 Apartment Units Quantity': u'float',\n- u'Multifamily Floors Quantity High Range Value': u'float',\n- u'Multifamily Government Subsidized Community': u'string',\n- u'Multifamily Gross Floor Area': u'float',\n- u'Multifamily Heated Percentage of Total Area': u'string',\n- u'Multifamily Housing - Government Subsidized Housing': u'string',\n- u'Multifamily Housing - Gross Floor Area (ft2)': u'float',\n- u'Multifamily Housing - Maximum Number of Floors': u'float',\n- u'Multifamily Housing - Number of Bedrooms': u'float',\n- u'Multifamily Housing - Number of Dishwasher Hookups': u'float',\n- u'Multifamily Housing - Number of Laundry Hookups in All Units': u'float',\n- u'Multifamily Housing - Number of Laundry Hookups in Common Area(s)': u'float',\n- u'Multifamily Housing - Number of Residential Living Units': u'float',\n- u'Multifamily Housing - Percent That Can Be Cooled': u'float',\n- u'Multifamily Housing - Percent That Can Be Heated': u'float',\n- u'Multifamily Housing - Percent of Gross Floor Area That is Common Space Only': u'float',\n- u'Multifamily Housing - Primary Hot Water Fuel Type for units (for units)': u'string',\n- u'Multifamily Housing - Resident Population Type': u'string',\n- u'Multifamily Occupant Type': u'string',\n- u'Multifamily Service Hot Water Primary Input Resource': u'string',\n- u'Multifamily Temporary Quality Alert': u'string',\n- u'Multiple Building Heights': u'float',\n- u'Municipally Supplied Potable Water - Indoor Cost ($)': u'float',\n- u'Municipally Supplied Potable Water - Indoor Cost Intensity ($/ft2)': u'float',\n- u'Municipally Supplied Potable Water - Indoor Intensity (gal/ft2)': u'float',\n- u'Municipally Supplied Potable Water - Indoor Use (kgal)': u'float',\n- u'Municipally Supplied Potable Water - Outdoor Cost ($)': u'float',\n- u'Municipally Supplied Potable Water - Outdoor Use (kgal)': u'float',\n- u'Municipally Supplied Potable Water: Combined Indoor/Outdoor or Other Cost ($)': u'float',\n- u'Municipally Supplied Potable Water: Combined Indoor/Outdoor or Other Use (kgal)': u'float',\n- u'Municipally Supplied Reclaimed Water - Indoor Cost ($)': u'float',\n- u'Municipally Supplied Reclaimed Water - Indoor Cost Intensity ($/ft2)': u'float',\n- u'Municipally Supplied Reclaimed Water - Indoor Intensity (gal/ft2)': u'float',\n- u'Municipally Supplied Reclaimed Water - Indoor Use (kgal)': u'float',\n- u'Municipally Supplied Reclaimed Water - Outdoor Cost ($)': u'float',\n- u'Municipally Supplied Reclaimed Water - Outdoor Use (kgal)': u'float',\n- u'Municipally Supplied Reclaimed Water: Combined Indoor/Outdoor or Other Cost ($)': u'float',\n- u'Municipally Supplied Reclaimed Water: Combined Indoor/Outdoor or Other Use (kgal)': u'float',\n- u'Museum - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Museum - Gross Floor Area (ft2)': u'float',\n- u'Museum - Number of Computers': u'float',\n- u'Museum - Number of Workers on Main Shift': u'float',\n- u'Museum - Weekly Operating Hours': u'float',\n- u'Museum - Worker Density (Number per 1,000 ft2)': u'float',\n- u'NAICS Code': u'string',\n- u'NPV of Tax Implications': u'float',\n- u'NYC Borough, Block and Lot (BBL)': u'string',\n- u'NYC Building Identification Number (BIN)': u'string',\n- u'Name of Audit Certification Holder': u'string',\n- u'Name of Retro-commissioning Certification Holder': u'string',\n- u'National Average EUI': u'float',\n- u'National Median ENERGY STAR Score': u'float',\n- u'National Median ENERGY STAR Score Assessment Value': u'float',\n- u'National Median Emissions Value MtCO2e': u'float',\n- u'National Median Energy Cost ($)': u'float',\n- u'National Median Energy Resource Cost': u'float',\n- u'National Median Occupancy Classification': u'string',\n- u'National Median Reference Property Type': u'string',\n- u'National Median Site EUI (kBtu/ft2)': u'float',\n- u'National Median Site Energy Percent Improvement': u'float',\n- u'National Median Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'National Median Site Energy Resource Value kBtu': u'float',\n- u'National Median Site Energy Use (kBtu)': u'float',\n- u'National Median Source EUI (kBtu/ft2)': u'float',\n- u'National Median Source Energy Percent Improvement': u'float',\n- u'National Median Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'National Median Source Energy Resource Value kBtu': u'float',\n- u'National Median Source Energy Use (kBtu)': u'float',\n- u'National Median Total GHG Emissions (MtCO2e)': u'float',\n- u'National Median Water/Wastewater Site EUI (kBtu/gpd)': u'float',\n- u'National Median Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Natural Gas': u'string',\n- u'Natural Gas Cost ($)': u'float',\n- u'Natural Gas Derivation Method Estimated': u'string',\n- u'Natural Gas Resource Cost': u'float',\n- u'Natural Gas Resource Value Therm': u'float',\n- u'Natural Gas Resource Value kBtu': u'float',\n- u'Natural Gas Use (kBtu)': u'float',\n- u'Natural Gas Use (therms)': u'float',\n- u'Natural Ventilation': u'string',\n- u'Natural Ventilation Method': u'string',\n- u'Natural Ventilation Rate': u'float',\n- u'Net Emissions (MtCO2e)': u'float',\n- u'Net Emissions Value MtCO2e': u'float',\n- u'Net Metering': u'string',\n- u'Net Onsite Generated Electricity Resource Value kBtu': u'float',\n- u'Net Onsite Generated Electricity Resource Value kWh': u'float',\n- u'Net Onsite Renewable Electricity Resoure Value kBtu': u'float',\n- u'Net Onsite Renewable Electricity Resoure Value kWh': u'float',\n- u'Net Present Value': u'float',\n- u'Net Refrigeration Capacity': u'float',\n- u'Non-Enclosed Assembly-Stadium Computer Quantity': u'float',\n- u'Non-Enclosed Assembly-Stadium Cooled Percentage of Total Area': u'string',\n- u'Non-Enclosed Assembly-Stadium Design Files Gross Floor Area': u'float',\n- u'Non-Enclosed Assembly-Stadium Enclosed Floor Area': u'float',\n- u'Non-Enclosed Assembly-Stadium Gross Floor Area': u'float',\n- u'Non-Enclosed Assembly-Stadium Heated Percentage of Total Area': u'string',\n- u'Non-Enclosed Assembly-Stadium Non-sporting Event Operation Events per Year': u'float',\n- u'Non-Enclosed Assembly-Stadium Other Operation Event Ooperation Events per Year': u'float',\n- u'Non-Enclosed Assembly-Stadium Signage Display Area': u'float',\n- u'Non-Enclosed Assembly-Stadium Sporting Event Operation Events per Year': u'float',\n- u'Non-Enclosed Assembly-Stadium Temporary Quality Alert': u'string',\n- u'Non-Enclosed Assembly-Stadium Walk-in Refrigeration Quantity': u'float',\n- u'Non-Enclosed Assembly-Stadium has Ice Performance': u'float',\n- u'Non-Potable Water used for Irrigation': u'string',\n- u'Non-Refrigerated Warehouse - Gross Floor Area (ft2)': u'float',\n- u'Non-Refrigerated Warehouse - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Non-Refrigerated Warehouse - Number of Worker on Main Shift': u'float',\n- u'Non-Refrigerated Warehouse - Percent That Can Be Cooled': u'float',\n- u'Non-Refrigerated Warehouse - Percent That Can Be Heated': u'float',\n- u'Non-Refrigerated Warehouse - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Non-Refrigerated Warehouse - Weekly Operating Hours': u'float',\n- u'Non-Refrigerated Warehouse - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Normalization Start Year': u'date',\n- u'Normalization Years': u'string',\n- u'Number of Ballasts per Luminaire': u'float',\n- u'Number of Buildings': u'float',\n- u'Number of Computers': u'float',\n- u'Number of Cooling Stages': u'float',\n- u'Number of Discrete Fan Speeds - Cooling': u'float',\n- u'Number of Discrete Fan Speeds - Heating': u'float',\n- u'Number of Exterior Doors': u'float',\n- u'Number of Heating Stages': u'float',\n- u'Number of Lamps per Ballast': u'float',\n- u'Number of Lamps per Luminaire': u'float',\n- u'Number of Luminaires': u'float',\n- u'Number of Meals': u'float',\n- u'Number of Months in Operation': u'float',\n- u'Number of Occupants': u'float',\n- u'Number of Refrigerant Return Lines': u'float',\n- u'Number of Rooms': u'float',\n- u'Number of Units': u'float',\n- u'OM Cost Annual Savings': u'float',\n- u'Observed Primary Occupancy Classification': u'string',\n- u'Occupancy': u'string',\n- u'Occupancy Sensors': u'string',\n- u'Occupant Activity Level': u'string',\n- u'Off-Cycle Heat Loss Coefficient': u'float',\n- u'Off-Peak Occupancy Percentage': u'float',\n- u'Office - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Office - Gross Floor Area (ft2)': u'float',\n- u'Office - Number of Computers': u'float',\n- u'Office - Number of Workers on Main Shift': u'float',\n- u'Office - Percent That Can Be Cooled': u'float',\n- u'Office - Percent That Can Be Heated': u'float',\n- u'Office - Weekly Operating Hours': u'float',\n- u'Office - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Office Business Average Weekly Hours': u'float',\n- u'Office Computer Quantity': u'float',\n- u'Office Cooled Percentage of Total Area': u'string',\n- u'Office Derivation Method Default': u'string',\n- u'Office Design Files Gross Floor Area': u'float',\n- u'Office Gross Floor Area': u'float',\n- u'Office Heated Percentage of Total Area': u'string',\n- u'Office Temporary Quality Alert': u'string',\n- u'Office Workers on Main Shift Quantity': u'float',\n- u'Offsite Renewable Energy Resource Value kWh': u'float',\n- u'On-Site Generation Type': u'string',\n- u'On-site Renewable Electricity': u'float',\n- u'Onsite Renewable Electricity Resource Value kWh': u'float',\n- u'Onsite Renewable Energy Resource Value kWh': u'float',\n- u'Onsite Renewable System Electricity Exported': u'float',\n- u'Onsite and Offiste Renewable Energy Resource Value kWh': u'float',\n- u'Operable Windows': u'string',\n- u'Other - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Education - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Education - Gross Floor Area (ft2)': u'float',\n- u'Other - Education - Number of Computers': u'float',\n- u'Other - Education - Number of Workers on Main Shift': u'float',\n- u'Other - Education - Weekly Operating Hours': u'float',\n- u'Other - Education - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Entertainment/Public Assembly - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Entertainment/Public Assembly - Gross Floor Area (ft2)': u'float',\n- u'Other - Entertainment/Public Assembly - Number of Computers': u'float',\n- u'Other - Entertainment/Public Assembly - Number of Workers on Main Shift': u'float',\n- u'Other - Entertainment/Public Assembly - Weekly Operating Hours': u'float',\n- u'Other - Entertainment/Public Assembly - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Gross Floor Area (ft2)': u'float',\n- u'Other - Lodging/Residential - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Lodging/Residential - Gross Floor Area (ft2)': u'float',\n- u'Other - Lodging/Residential - Number of Computers': u'float',\n- u'Other - Lodging/Residential - Number of Workers on Main Shift': u'float',\n- u'Other - Lodging/Residential - Weekly Operating Hours': u'float',\n- u'Other - Lodging/Residential - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Mall - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Mall - Gross Floor Area (ft2)': u'float',\n- u'Other - Mall - Number of Computers': u'float',\n- u'Other - Mall - Number of Workers on Main Shift': u'float',\n- u'Other - Mall - Weekly Operating Hours': u'float',\n- u'Other - Mall - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Number of Computers': u'float',\n- u'Other - Number of Workers on Main Shift': u'float',\n- u'Other - Public Services - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Public Services - Gross Floor Area (ft2)': u'float',\n- u'Other - Public Services - Number of Computers': u'float',\n- u'Other - Public Services - Number of Workers on Main Shift': u'float',\n- u'Other - Public Services - Weekly Operating Hours': u'float',\n- u'Other - Public Services - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Recreation - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Recreation - Gross Floor Area (ft2)': u'float',\n- u'Other - Recreation - Number of Computers': u'float',\n- u'Other - Recreation - Number of Workers on Main Shift': u'float',\n- u'Other - Recreation - Weekly Operating Hours': u'float',\n- u'Other - Recreation - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Restaurant/Bar - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Restaurant/Bar - Gross Floor Area (ft2)': u'float',\n- u'Other - Restaurant/Bar - Number of Computers': u'float',\n- u'Other - Restaurant/Bar - Number of Workers on Main Shift': u'float',\n- u'Other - Restaurant/Bar - Weekly Operating Hours': u'float',\n- u'Other - Restaurant/Bar - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Services - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Services - Gross Floor Area (ft2)': u'float',\n- u'Other - Services - Number of Computers': u'float',\n- u'Other - Services - Number of Workers on Main Shift': u'float',\n- u'Other - Services - Weekly Operating Hours': u'float',\n- u'Other - Services - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Specialty Hospital - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Specialty Hospital - Gross Floor Area (ft2)': u'float',\n- u'Other - Specialty Hospital - Number of Computers': u'float',\n- u'Other - Specialty Hospital - Number of Workers on Main Shift': u'float',\n- u'Other - Specialty Hospital - Weekly Operating Hours': u'float',\n- u'Other - Specialty Hospital - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Stadium - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Stadium - Enclosed Floor Area (ft2)': u'float',\n- u'Other - Stadium - Gross Floor Area (ft2)': u'float',\n- u'Other - Stadium - Ice Events': u'float',\n- u'Other - Stadium - Number of Computers': u'float',\n- u'Other - Stadium - Number of Concert/Show Events per Year': u'float',\n- u'Other - Stadium - Number of Special/Other Events per Year': u'float',\n- u'Other - Stadium - Number of Sporting Events per Year': u'float',\n- u'Other - Stadium - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Other - Stadium - Percent That Can Be Cooled': u'float',\n- u'Other - Stadium - Percent That Can Be Heated': u'float',\n- u'Other - Stadium - Size of Electronic Scoreboards (ft2)': u'float',\n- u'Other - Stadium - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Other - Technology/Science - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Technology/Science - Gross Floor Area (ft2)': u'float',\n- u'Other - Technology/Science - Number of Computers': u'float',\n- u'Other - Technology/Science - Number of Workers on Main Shift': u'float',\n- u'Other - Technology/Science - Weekly Operating Hours': u'float',\n- u'Other - Technology/Science - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Utility - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Other - Utility - Gross Floor Area (ft2)': u'float',\n- u'Other - Utility - Number of Computers': u'float',\n- u'Other - Utility - Number of Workers on Main Shift': u'float',\n- u'Other - Utility - Weekly Operating Hours': u'float',\n- u'Other - Utility - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other - Weekly Operating Hours': u'float',\n- u'Other - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Other Business Average Weekly Hours': u'float',\n- u'Other Cost ($)': u'float',\n- u'Other Derivation Method Estimated': u'string',\n- u'Other Design Files Gross Floor Area': u'float',\n- u'Other Financial Incentives': u'string',\n- u'Other HVAC Type': u'string',\n- u'Other Occupancy Classification Computer Quantity': u'float',\n- u'Other Occupancy Classification Gross Floor Area': u'float',\n- u'Other Occupancy Classification Workers on Main Shift Quantity': u'float',\n- u'Other Peak Rate': u'string',\n- u'Other Resource Resource Cost': u'float',\n- u'Other Resource Resource Value kBtu': u'float',\n- u'Other Temporary Quality Alert': u'string',\n- u'Other Use (kBtu)': u'float',\n- u'Other Water Resource Exterior Resource Cost': u'float',\n- u'Other Water Resource Exterior Resource Value kgal': u'float',\n- u'Other Water Resource Interior Exterior and Other Resource Cost': u'float',\n- u'Other Water Resource Interior Resource Cost': u'float',\n- u'Other Water Resource Interior Resource Cost Intensity': u'float',\n- u'Other Water Resource Interior Resource Intensity gallons/ft2': u'float',\n- u'Other Water Resource Interior Resource Value kgal': u'float',\n- u'Other Water Resource Water Interior Exterior and OtherLocation Resource Value kgal': u'float',\n- u'Other Water Sources - Indoor Cost ($)': u'float',\n- u'Other Water Sources - Indoor Cost Intensity ($/ft2)': u'float',\n- u'Other Water Sources - Indoor Intensity (gal/ft2)': u'float',\n- u'Other Water Sources - Indoor Use (kgal)': u'float',\n- u'Other Water Sources - Outdoor Cost ($)': u'float',\n- u'Other Water Sources - Outdoor Use (kgal)': u'float',\n- u'Other Water Sources: Combined Indoor/Outdoor or Other Cost ($)': u'float',\n- u'Other Water Sources: Combined Indoor/Outdoor or Other Use (kgal)': u'float',\n- u'Outdoor Water Cost (All Water Sources) ($)': u'float',\n- u'Outdoor Water Use (All Water Sources) (kgal)': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Gross Floor Area (ft2)': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Number of Computers': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Number of Workers on Main Shift': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Weekly Operating Hours': u'float',\n- u'Outpatient Rehabilitation/Physical Therapy - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Output Capacity': u'float',\n- u'Outside Air Reset Maximum Cooling Supply Temperature': u'float',\n- u'Outside Air Reset Maximum Heating Supply Temperature': u'float',\n- u'Outside Air Reset Minimum Cooling Supply Temperature': u'float',\n- u'Outside Air Reset Minimum Heating Supply Temperature': u'float',\n- u'Outside Air Temperature Lower Limit Cooling Reset Control': u'float',\n- u'Outside Air Temperature Lower Limit Heating Reset Control': u'float',\n- u'Outside Air Temperature Upper Limit Cooling Reset Control': u'float',\n- u'Outside Air Temperature Upper Limit Heating Reset Control': u'float',\n- u'Outside Lighting Type': u'string',\n- u'Overhang Height above Window': u'float',\n- u'Overhang Projection': u'string',\n- u'Owner City': u'string',\n- u'Owner Email': u'string',\n- u'Owner Email Address': u'string',\n- u'Owner Name': u'string',\n- u'Owner Phone': u'',\n- u'Owner Postal Code': u'string',\n- u'Owner State': u'string',\n- u'Owner Street Address': u'string',\n- u'Owner Telephone Number': u'string',\n- u'Ownership': u'string',\n- u'Ownership Status': u'string',\n- u'PM Administrator': u'string',\n- u'PM Profile Status': u'string',\n- u'PM Sharing Account': u'string',\n- u'PV Module Length': u'float',\n- u'PV Module Rated Power': u'float',\n- u'PV Module Width': u'float',\n- u'PV System Array Azimuth': u'float',\n- u'PV System Inverter Efficiency': u'float',\n- u'PV System Location': u'string',\n- u'PV System Maximum Power Output': u'float',\n- u'PV System Number of Arrays': u'float',\n- u'PV System Number of Modules per Array': u'float',\n- u'PV System Racking System Tilt Angle Min': u'float',\n- u'PVc System Racking System Tilt Angle Max': u'float',\n- u'Package Estimated Cost Savings': u'float',\n- u'Package Estimated Cost Savings Intensity': u'float',\n- u'Parasitic Fuel Consumption Rate': u'float',\n- u'Parent Property Name': u'string',\n- u'Parking - Completely Enclosed Parking Garage Size (ft2)': u'float',\n- u'Parking - Gross Floor Area (ft2)': u'float',\n- u'Parking - Open Parking Lot Size (ft2)': u'float',\n- u'Parking - Partially Enclosed Parking Garage Size (ft2)': u'float',\n- u'Parking - Supplemental Heating': u'string',\n- u'Parking Conditioning Status is Heated': u'string',\n- u'Parking Design Files Gross Floor Area': u'float',\n- u'Parking Enclosed Floor Area': u'float',\n- u'Parking Floor Area': u'float',\n- u'Parking Non-enclosed Floor Area': u'float',\n- u'Parking Open Floor Area': u'float',\n- u'Parking Temporary Quality Alert': u'string',\n- u'Part Load Ratio Below Which Hot Gas Bypass Operates': u'float',\n- u'Partial Quality Alert': u'string',\n- u'Peak Occupancy Percentage': u'float',\n- u'Percent Better Than Baseline Design Site Energy Use Intensity': u'float',\n- u'Percent Better than National Median Site EUI': u'float',\n- u'Percent Better than National Median Source EUI': u'float',\n- u'Percent Better than National Median Water/Wastewater Site EUI': u'float',\n- u'Percent Better than National Median Water/Wastewater Source EUI': u'float',\n- u'Percent Savings in Lighting Power Density': u'float',\n- u'Percent Skylight Area': u'float',\n- u'Percent of Electricity that is Green Power': u'float',\n- u'Percent of RECs Retained': u'float',\n- u'Percent of Roof Terraces': u'float',\n- u'Percent of Total Electricity Generated from Onsite Renewable Systems': u'float',\n- u'Percent of Window Area Shaded': u'float',\n- u'Percentage of Common Space': u'float',\n- u'Performing Arts - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Performing Arts - Gross Floor Area (ft2)': u'float',\n- u'Performing Arts - Number of Computers': u'float',\n- u'Performing Arts - Number of Workers on Main Shift': u'float',\n- u'Performing Arts - Weekly Operating Hours': u'float',\n- u'Performing Arts - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Perimeter': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Gross Floor Area (ft2)': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Number of Computers': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Number of Workers on Main Shift': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Weekly Operating Hours': u'float',\n- u'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Pipe Insulation Thickness': u'float',\n- u'Pipe Location': u'string',\n- u'Plug Load Equipment is ENERGY STAR Rated': u'string',\n- u'Plug Load Peak Power': u'float',\n- u'Plug Load Standby Power': u'float',\n- u'Plug Load Type': u'string',\n- u'Plumbing Penetration Sealing': u'string',\n- u'Point Of Use': u'string',\n- u'Police Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Police Station - Gross Floor Area (ft2)': u'float',\n- u'Police Station - Number of Computers': u'float',\n- u'Police Station - Number of Workers on Main Shift': u'float',\n- u'Police Station - Weekly Operating Hours': u'float',\n- u'Police Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Pool Control Type': u'string',\n- u'Pool Hours Uncovered': u'float',\n- u'Pool Location': u'string',\n- u'Pool Pump Duty Cycle': u'string',\n- u'Pool Size Category': u'string',\n- u'Pool Surface Area': u'float',\n- u'Pool Type': u'string',\n- u'Pool Volume': u'float',\n- u'Pool Water Temperature': u'float',\n- u'Pool is Heated': u'string',\n- u'Portfolio Manager Parent Property ID': u'string',\n- u'Portfolio Manager Property ID': u'string',\n- u'Portfolio Manager Property Identifier': u'string',\n- u'Potable': u'string',\n- u'Potable Water Savings': u'float',\n- u'Power Plant': u'string',\n- u'Power Plant Company Name': u'string',\n- u'Pre-school/Daycare - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Pre-school/Daycare - Gross Floor Area (ft2)': u'float',\n- u'Pre-school/Daycare - Number of Computers': u'float',\n- u'Pre-school/Daycare - Number of Workers on Main Shift': u'float',\n- u'Pre-school/Daycare - Weekly Operating Hours': u'float',\n- u'Pre-school/Daycare - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Premises Block Number': u'string',\n- u'Premises City': u'string',\n- u'Premises Conditioned Floor Area': u'float',\n- u'Premises Count': u'float',\n- u'Premises Country': u'string',\n- u'Premises County': u'string',\n- u'Premises Custom ID': u'string',\n- u'Premises Federal Real Property Identifier': u'float',\n- u'Premises Gross Floor Area': u'float',\n- u'Premises Modified Date': u'date',\n- u'Premises Name': u'string',\n- u'Premises Name Identifier': u'string',\n- u'Premises Notes': u'string',\n- u'Premises Occupancy Classification': u'string',\n- u'Premises Occupied Floor Area': u'float',\n- u'Premises Parking Floor Area': u'float',\n- u'Premises Partial Quality Alert': u'string',\n- u'Premises Postal Code': u'string',\n- u'Premises Quality Alert': u'string',\n- u'Premises State': u'string',\n- u'Premises Street Address 1': u'string',\n- u'Premises Street Address 2': u'string',\n- u'Premises Tax Book Number': u'string',\n- u'Premises Tax Map Number': u'string',\n- u'Premises Year Completed': u'date',\n- u'Premises ZIP Code': u'string',\n- u'Primary Air Distribution Type': u'string',\n- u'Primary Contact': u'string',\n- u'Primary Cooking Fuel': u'string',\n- u'Primary Cooling Type': u'string',\n- u'Primary Fan Configuration': u'string',\n- u'Primary Heating Fuel Type': u'string',\n- u'Primary Heating Type': u'string',\n- u'Primary Property Type - EPA Calculated': u'string',\n- u'Primary Service Hot Water Fuel': u'string',\n- u'Primary Service Hot Water Location': u'string',\n- u'Primary Service Hot Water Type': u'string',\n- u'Primary Zonal Cooling Fuel Type': u'string',\n- u'Primary Zonal Cooling Type': u'string',\n- u'Primary Zonal Heating Type': u'string',\n- u'Prison/Incarceration - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Prison/Incarceration - Gross Floor Area (ft2)': u'float',\n- u'Prison/Incarceration - Number of Computers': u'float',\n- u'Prison/Incarceration - Number of Workers on Main Shift': u'float',\n- u'Prison/Incarceration - Weekly Operating Hours': u'float',\n- u'Prison/Incarceration - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Process Load Duty Cycle': u'string',\n- u'Process Load Heat Gain Fraction': u'float',\n- u'Process Load Installed Power': u'float',\n- u'Process Load Type': u'string',\n- u'Propane Cost ($)': u'float',\n- u'Propane Derivation Method Estimated': u'string',\n- u'Propane Resource Cost': u'float',\n- u'Propane Resource Value kBtu': u'float',\n- u'Propane Use (kBtu)': u'float',\n- u'Property Data Administrator': u'string',\n- u'Property Data Administrator - Email': u'string',\n- u'Property Floor Area (Buildings and Parking) (ft2)': u'float',\n- u'Property Floor Area (Parking) (ft2)': u'float',\n- u'Property Management Company': u'string',\n- u'Property Use Detail Alerts': u'string',\n- u'Public Assembly Business Average Weekly Hours': u'float',\n- u'Public Assembly Computer Quantity': u'float',\n- u'Public Assembly Design Files Gross Floor Area': u'float',\n- u'Public Assembly Gross Floor Area': u'float',\n- u'Public Assembly Temporary Quality Alert': u'string',\n- u'Public Assembly Workers on Main Shift Quantity': u'float',\n- u'Public Safety Station Business Average Weekly Hours': u'float',\n- u'Public Safety Station Computer Quantity': u'float',\n- u'Public Safety Station Design Files Gross Floor Area': u'float',\n- u'Public Safety Station Gross Floor Area': u'float',\n- u'Public Safety Station Temporary Quality Alert': u'string',\n- u'Public Safety Station Workers on Main Shift Quantity': u'float',\n- u'Public Safety-Correctional Facility Business Average Weekly Hours': u'float',\n- u'Public Safety-Correctional Facility Computer Quantity': u'float',\n- u'Public Safety-Correctional Facility Gross Floor Area': u'float',\n- u'Public Safety-Correctional Facility Workers on Main Shift Quantity': u'float',\n- u'Public safety-Correctional Facility Design Files Gross Floor Area': u'float',\n- u'Public safety-Correctional Facility Temporary Quality Alert': u'string',\n- u'Publicly Subsidized': u'string',\n- u'Pump Application': u'string',\n- u'Pump Control Type': u'string',\n- u'Pump Efficiency': u'float',\n- u'Pump Installed Flow Rate': u'float',\n- u'Pump Maximum Flow Rate': u'float',\n- u'Pump Minimum Flow Rate': u'float',\n- u'Pump Operation': u'string',\n- u'Pump Power Demand': u'float',\n- u'Pumping Configuration': u'string',\n- u'Quality Alert Measured Date': u'date',\n- u'Quality Alert Tested': u'date',\n- u'Quality Alert-Energy Alerts': u'string',\n- u'Quality Alert-Space Alert': u'string',\n- u'Quantity': u'float',\n- u'Quantity of Processed Laundry': u'float',\n- u'REALPac Energy Benchmarking Program Building Name': u'string',\n- u'Race Track - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Race Track - Gross Floor Area (ft2)': u'float',\n- u'Race Track - Number of Computers': u'float',\n- u'Race Track - Number of Workers on Main Shift': u'float',\n- u'Race Track - Weekly Operating Hours': u'float',\n- u'Race Track - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Radiant Barrier': u'string',\n- u'Rate Structure Effective Date': u'date',\n- u'Rate Structure End Date': u'date',\n- u'Rate Structure Sector': u'string',\n- u'Rated Cooling Sensible Heat Ratio': u'float',\n- u'Rated Heat Pump Sensible Heat Ratio': u'float',\n- u'Rated Lamp Life': u'float',\n- u'Reactive Power Charge': u'float',\n- u'Receive Date': u'date',\n- u'Recirculation': u'string',\n- u'Recirculation Control Type': u'string',\n- u'Recirculation Energy Loss Rate': u'float',\n- u'Recirculation Flow Rate': u'float',\n- u'Recirculation Loop Count': u'float',\n- u'Recommended Measure': u'string',\n- u'Recover Efficiency': u'float',\n- u'Recreation Business Average Weekly Hours': u'float',\n- u'Recreation Computer Quantity': u'float',\n- u'Recreation Design Files Gross Floor Area': u'float',\n- u'Recreation Gross Floor Area': u'float',\n- u'Recreation Temporary Quality Alert': u'string',\n- u'Recreation Workers on Main Shift Quantity': u'float',\n- u'Recreation-Fitness Center Business Average Weekly Hours': u'float',\n- u'Recreation-Fitness Center Computer Quantity': u'float',\n- u'Recreation-Fitness Center Design Files Gross Floor Area': u'float',\n- u'Recreation-Fitness Center Gross Floor Area': u'float',\n- u'Recreation-Fitness Center Temporary Quality Alert': u'string',\n- u'Recreation-Fitness Center Workers on Main Shift Quantity': u'float',\n- u'Recreation-Ice Rink Business Average Weekly Hours': u'float',\n- u'Recreation-Ice Rink Computer Quantity': u'float',\n- u'Recreation-Ice Rink Design Files Gross Floor Area': u'float',\n- u'Recreation-Ice Rink Gross Floor Area': u'float',\n- u'Recreation-Ice Rink Temporary Quality Alert': u'string',\n- u'Recreation-Ice Rink Workers on Main Shift Quantity': u'float',\n- u'Recreation-Indoor Sport Business Average Weekly Hours': u'float',\n- u'Recreation-Indoor Sport Computer Quantity': u'float',\n- u'Recreation-Indoor Sport Design Files Gross Floor Area': u'float',\n- u'Recreation-Indoor Sport Gross Floor Area': u'float',\n- u'Recreation-Indoor Sport Temporary Quality Alert': u'string',\n- u'Recreation-Indoor Sport Workers on Main Shift Quantity': u'float',\n- u'Recreation-Pool Design Files Gross Floor Area': u'float',\n- u'Recreation-Pool Temporary Quality Alert': u'string',\n- u'Reference Case': u'string',\n- u'Reference For Rate Structure': u'string',\n- u'Refrigerant Charge Factor': u'float',\n- u'Refrigerant Return Line Diameter': u'float',\n- u'Refrigerant Subcooler': u'string',\n- u'Refrigerated Case Doors': u'string',\n- u'Refrigerated Warehouse - Gross Floor Area (ft2)': u'float',\n- u'Refrigerated Warehouse - Number of Workers on Main Shift': u'float',\n- u'Refrigerated Warehouse - Weekly Operating Hours': u'float',\n- u'Refrigerated Warehouse - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Refrigeration Compressor Type': u'string',\n- u'Refrigeration Energy': u'float',\n- u'Refrigeration Unit Size': u'float',\n- u'Refrigeration Unit Type': u'string',\n- u'Refrigeration Unit is ENERGY STAR Rated': u'string',\n- u'Refrigeration Unit is Third Party Certified': u'string',\n- u'Regional Average EUI': u'string',\n- u'Reheat Control Strategy': u'string',\n- u'Renewable Electricity Generated Onsite Percent of Total': u'float',\n- u'Renewable Electricity Percent of Total': u'float',\n- u'Renewable Energy Credits (RECs) Retained': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Gross Floor Area (ft2)': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Number of Computers': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Number of Workers on Main Shift': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Weekly Operating Hours': u'float',\n- u'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Repair Services Business Average Weekly Hours': u'float',\n- u'Repair Services Computer Quantity': u'float',\n- u'Repair Services Gross Floor Area': u'float',\n- u'Repair Services Temporary Quality Alert': u'string',\n- u'Repair Services Workers on Main Shift Quantity': u'float',\n- u'Replaced/modified/removed system identifier': u'string',\n- u'Required Ventilation Rate': u'float',\n- u'Residence Hall/ Dormitory - Computer Lab': u'string',\n- u'Residence Hall/ Dormitory - Dining Hall': u'string',\n- u'Residence Hall/Dormitory - Gross Floor Area (ft2)': u'float',\n- u'Residence Hall/Dormitory - Number of Rooms': u'float',\n- u'Residence Hall/Dormitory - Percent That Can Be Cooled': u'float',\n- u'Residence Hall/Dormitory - Percent That Can Be Heated': u'float',\n- u'Residence Hall/Dormitory - Room Density (Number per 1,000 ft2)': u'float',\n- u'Residual Value': u'string',\n- u'Resource': u'string',\n- u'Resource Generated On Site': u'float',\n- u'Resource Units': u'string',\n- u'Restaurant - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Restaurant - Gross Floor Area (ft2)': u'float',\n- u'Restaurant - Number of Computers': u'float',\n- u'Restaurant - Number of Workers on Main Shift': u'float',\n- u'Restaurant - Weekly Operating Hours': u'float',\n- u'Restaurant - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Retail Store - Cash Register Density (Number per 1,000 ft2)': u'float',\n- u'Retail Store - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Retail Store - Exterior Entrance to the Public': u'string',\n- u'Retail Store - Gross Floor Area (ft2)': u'float',\n- u'Retail Store - Number of Cash Registers': u'float',\n- u'Retail Store - Number of Computers': u'float',\n- u'Retail Store - Number of Open or Closed Refrigeration/Freezer Units': u'float',\n- u'Retail Store - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Retail Store - Number of Workers on Main Shift': u'float',\n- u'Retail Store - Open or Closed Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Retail Store - Percent That Can Be Cooled': u'float',\n- u'Retail Store - Percent That Can Be Heated': u'float',\n- u'Retail Store - Single Store': u'string',\n- u'Retail Store - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Retail Store - Weekly Operating Hours': u'float',\n- u'Retail Store - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Retail-Dry Goods Retail Business Average Weekly Hours': u'float',\n- u'Retail-Dry Goods Retail Case Refrigeration Length': u'float',\n- u'Retail-Dry Goods Retail Cash Register Quantity': u'float',\n- u'Retail-Dry Goods Retail Commercial Refrigeration Case Quantity': u'float',\n- u'Retail-Dry Goods Retail Computer Quantity': u'float',\n- u'Retail-Dry Goods Retail Cooled Percentage of Total Area': u'string',\n- u'Retail-Dry Goods Retail Derivation Method Default': u'string',\n- u'Retail-Dry Goods Retail Design Files Gross Floor Area': u'float',\n- u'Retail-Dry Goods Retail Gross Floor Area': u'float',\n- u'Retail-Dry Goods Retail Heated Percentage of Total Area': u'string',\n- u'Retail-Dry Goods Retail Public Entrance Location is Exterior': u'string',\n- u'Retail-Dry Goods Retail Temporary Quality Alert': u'string',\n- u'Retail-Dry Goods Retail Walk-In Refrigeration Area': u'float',\n- u'Retail-Dry Goods Retail Walk-in Refrigeration Quantity': u'float',\n- u'Retail-Dry Goods Retail Workers on Main Shift Quantity': u'float',\n- u'Retail-Dry Goods Retail has Kitchen': u'string',\n- u'Retail-Enclosed Mall Business Average Weekly Hours': u'float',\n- u'Retail-Enclosed Mall Computer Quantity': u'float',\n- u'Retail-Enclosed Mall Design Files Gross Floor Area': u'float',\n- u'Retail-Enclosed Mall Gross Floor Area': u'float',\n- u'Retail-Enclosed Mall Temporary Quality Alert': u'string',\n- u'Retail-Enclosed Mall Workers on Main Shift Quantity': u'float',\n- u'Retail-Hypermarket Business Average Weekly Hours': u'float',\n- u'Retail-Hypermarket Case Refrigeration Length': u'',\n- u'Retail-Hypermarket Cash Register Quantity': u'float',\n- u'Retail-Hypermarket Commercial Refrigeration Case Quantity': u'float',\n- u'Retail-Hypermarket Computer Quantity': u'float',\n- u'Retail-Hypermarket Cooled Percentage of Total Area': u'string',\n- u'Retail-Hypermarket Derivation Method Default': u'string',\n- u'Retail-Hypermarket Design Files Gross Floor Area': u'float',\n- u'Retail-Hypermarket Gross Floor Area': u'float',\n- u'Retail-Hypermarket Heated Percentage of Total Area': u'string',\n- u'Retail-Hypermarket Public Entrance Location is Exterior': u'string',\n- u'Retail-Hypermarket Temporary Quality Alert': u'string',\n- u'Retail-Hypermarket Walk-In Refrigeration Area': u'',\n- u'Retail-Hypermarket Walk-in Refrigeration Quantity': u'float',\n- u'Retail-Hypermarket Workers on Main Shift Quantity': u'float',\n- u'Retail-Hypermarket has Kitchen': u'',\n- u'Retail-Mall Business Average Weekly Hours': u'float',\n- u'Retail-Mall Computer Quantity': u'float',\n- u'Retail-Mall Design Files Gross Floor Area': u'float',\n- u'Retail-Mall Gross Floor Area': u'float',\n- u'Retail-Mall Temporary Quality Alert': u'string',\n- u'Retail-Mall Workers on Main Shift Quantity': u'float',\n- u'Retail-Strip Mall Business Average Weekly Hours': u'float',\n- u'Retail-Strip Mall Computer Quantity': u'float',\n- u'Retail-Strip Mall Design Files Gross Floor Area': u'float',\n- u'Retail-Strip Mall Gross Floor Area': u'float',\n- u'Retail-Strip Mall Temporary Quality Alert': u'string',\n- u'Retail-Strip Mall Workers on Main Shift Quantity': u'float',\n- u'Retro-commissioning Date': u'date',\n- u'Return Duct Percent Conditioned Space': u'float',\n- u'Roller Rink - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Roller Rink - Gross Floor Area (ft2)': u'float',\n- u'Roller Rink - Number of Computers': u'float',\n- u'Roller Rink - Number of Workers on Main Shift': u'float',\n- u'Roller Rink - Weekly Operating Hours': u'float',\n- u'Roller Rink - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Roof Area': u'float',\n- u'Roof Color': u'string',\n- u'Roof Exterior Solar Absorptance': u'float',\n- u'Roof Exterior Thermal Absorptance': u'float',\n- u'Roof Framing Configuration': u'string',\n- u'Roof Framing Depth': u'float',\n- u'Roof Framing Factor': u'float',\n- u'Roof Framing Material': u'string',\n- u'Roof Insulated Area': u'float',\n- u'Roof Insulation Condition': u'string',\n- u'Roof Insulation Continuity': u'string',\n- u'Roof Insulation Material': u'string',\n- u'Roof Insulation Thickness': u'float',\n- u'Roof Insulation Type': u'string',\n- u'Roof R-Value': u'float',\n- u'Roof Slope': u'float',\n- u'Roof Type': u'string',\n- u'Room Density': u'float',\n- u'SHW Control Type': u'string',\n- u'SHW Efficiency': u'float',\n- u'SHW Setpoint Temp': u'float',\n- u'SHW Year installed': u'date',\n- u'SHW is ENERGY STAR Rated': u'string',\n- u'SHW is FEMP Designated Product': u'string',\n- u'Scenario Name': u'string',\n- u'Scenario Qualifier': u'string',\n- u'Scenario Type': u'string',\n- u'Schedule Begin Month': u'float',\n- u'Schedule Day': u'float',\n- u'Schedule End Month': u'float',\n- u'Schedule Type': u'float',\n- u'Scope': u'string',\n- u'Self-Storage Facility - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Self-Storage Facility - Gross Floor Area (ft2)': u'float',\n- u'Self-Storage Facility - Number of Computers': u'float',\n- u'Self-Storage Facility - Number of Workers on Main Shift': u'float',\n- u'Self-Storage Facility - Weekly Operating Hours': u'float',\n- u'Self-Storage Facility - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Average Number of Residents': u'float',\n- u'Senior Care Community - Commercial Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Commercial Washing Machine Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Electronic Lift Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Gross Floor Area (ft2)': u'float',\n- u'Senior Care Community - Living Unit Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Maximum Resident Capacity': u'float',\n- u'Senior Care Community - Number of Commercial Refrigeration/ Freezer Units': u'float',\n- u'Senior Care Community - Number of Commercial Washing Machines': u'float',\n- u'Senior Care Community - Number of Computers': u'float',\n- u'Senior Care Community - Number of Residential Electronic Lift Systems': u'float',\n- u'Senior Care Community - Number of Residential Living Units': u'float',\n- u'Senior Care Community - Number of Residential Washing Machines': u'float',\n- u'Senior Care Community - Number of Workers on Main Shift': u'float',\n- u'Senior Care Community - Percent That Can Be Cooled': u'float',\n- u'Senior Care Community - Percent That Can Be Heated': u'float',\n- u'Senior Care Community - Resident Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Residential Washing Machine Density (Number per 1,000 ft2)': u'float',\n- u'Senior Care Community - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Sequencing': u'string',\n- u'Serves Multiple Buildings': u'string',\n- u'Service Business Average Weekly Hours': u'float',\n- u'Service Computer Quantity': u'float',\n- u'Service Design Files Gross Floor Area': u'float',\n- u'Service Gross Floor Area': u'float',\n- u'Service Temporary Quality Alert': u'string',\n- u'Service Workers on Main Shift Quantity': u'float',\n- u'Service and Product Provider': u'string',\n- u'Service and Product Provider Company Name': u'string',\n- u'Service-Postal Business Average Weekly Hours': u'float',\n- u'Service-Postal Computer Quantity': u'float',\n- u'Service-Postal Design Files Gross Floor Area': u'float',\n- u'Service-Postal Gross Floor Area': u'float',\n- u'Service-Postal Temporary Quality Alert': u'string',\n- u'Service-Postal Workers on Main Shift Quantity': u'float',\n- u'Service-Repair Design Files Gross Floor Area': u'float',\n- u'Setpoint temperature cooling': u'float',\n- u'Setup temperature cooling': u'float',\n- u'Shared Resource System': u'string',\n- u'Simple Payback': u'float',\n- u'Single Family Bedrooms Quantity': u'float',\n- u'Single Family Design Files Gross Floor Area': u'float',\n- u'Single Family Gross Floor Area': u'float',\n- u'Single Family Home - Bedroom Density (Number per 1,000 ft2)': u'float',\n- u'Single Family Home - Density of People (Number per 1,000 ft2)': u'float',\n- u'Single Family Home - Gross Floor Area (ft2)': u'float',\n- u'Single Family Home - Number of Bedrooms': u'float',\n- u'Single Family Home - Number of People': u'float',\n- u'Single Family Temporary Quality Alert': u'string',\n- u'Single family Peak Total Occupants Quantity': u'float',\n- u'Site Address Line 1': u'string',\n- u'Site Address Line 2': u'string',\n- u'Site EUI - Adjusted to Current Year (kBtu/ft2)': u'float',\n- u'Site Energy Adjusted for Specific Year Current Resource Intensity kBtu/ft2': u'float',\n- u'Site Energy Adjusted for Specific Year Current Resource Value kBtu': u'float',\n- u'Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'Site Energy Resource Value kBtu': u'float',\n- u'Site Energy Use': u'float',\n- u'Site Energy Use (kBtu)': u'float',\n- u'Site Energy Use - Adjusted to Current Year (kBtu)': u'float',\n- u'Site Energy Use Intensity': u'float',\n- u'Site Use Description': u'string',\n- u'Skylight Glazing': u'string',\n- u'Skylight Layout': u'string',\n- u'Skylight Operability': u'string',\n- u'Skylight Pitch': u'float',\n- u'Skylight Solar tube': u'string',\n- u'Skylight Type': u'string',\n- u'Skylight Window Treatments': u'string',\n- u'Skylight to Roof Ratio': u'float',\n- u'Skylights Visible Transmittance': u'float',\n- u'Slab Exposed Perimeter': u'float',\n- u'Slab Insulation Condition': u'string',\n- u'Slab Insulation Orientation': u'float',\n- u'Slab Insulation Thickness': u'float',\n- u'Slab Perimeter': u'float',\n- u'Social/Meeting Hall - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Social/Meeting Hall - Gross Floor Area (ft2)': u'float',\n- u'Social/Meeting Hall - Number of Computers': u'float',\n- u'Social/Meeting Hall - Number of Workers on Main Shift': u'float',\n- u'Social/Meeting Hall - Weekly Operating Hours': u'float',\n- u'Social/Meeting Hall - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Software program used': u'string',\n- u'Software program version': u'string',\n- u'Solar Heat Gain Coefficient SHGC (SHGC)': u'float',\n- u'Solar Hot Water Present': u'string',\n- u'Solar Thermal System Collector Area': u'float',\n- u'Solar Thermal System Collector Azimuth': u'float',\n- u'Solar Thermal System Collector Loop Type': u'string',\n- u'Solar Thermal System Collector Tilt': u'float',\n- u'Solar Thermal System Collector Type': u'string',\n- u'Solar Thermal System Storage Volume': u'float',\n- u'Solar Thermal System Type': u'string',\n- u'Source EUI (kBtu/ft2)': u'float',\n- u'Source EUI - Adjusted to Current Year (kBtu/ft2)': u'float',\n- u'Source Energy Adjusted for Specific Year Current Resource Intensity kBtu/ft2': u'float',\n- u'Source Energy Adjusted for Specific Year Current Resource Value kBtu': u'float',\n- u'Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'Source Energy Resource Value kBtu': u'float',\n- u'Source Energy Use': u'string',\n- u'Source Energy Use (kBtu)': u'float',\n- u'Source Energy Use - Adjusted to Current Year (kBtu)': u'float',\n- u'Source Energy Use Intensity': u'float',\n- u'Source Site Ratio': u'float',\n- u'Space Floors Above Grade': u'float',\n- u'Space Floors Below Grade': u'float',\n- u'Space Name': u'string',\n- u'Space Number Main Shift Workers': u'float',\n- u'Space Number of FTE Workers': u'float',\n- u'Space Occupant Capacity': u'float',\n- u'Space Peak Number of Occupants': u'float',\n- u'Space Use Description': u'string',\n- u'Specular Reflectors': u'string',\n- u'Split Condenser': u'string',\n- u'Stadium (Closed) - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Stadium (Closed) - Enclosed Floor Area (ft2)': u'float',\n- u'Stadium (Closed) - Gross Floor Area (ft2)': u'float',\n- u'Stadium (Closed) - Ice Events': u'float',\n- u'Stadium (Closed) - Number of Computers': u'float',\n- u'Stadium (Closed) - Number of Concert/Show Events per Year': u'float',\n- u'Stadium (Closed) - Number of Special/Other Events per Year': u'float',\n- u'Stadium (Closed) - Number of Sporting Events per Year': u'float',\n- u'Stadium (Closed) - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Stadium (Closed) - Percent That Can Be Cooled': u'float',\n- u'Stadium (Closed) - Percent That Can Be Heated': u'float',\n- u'Stadium (Closed) - Size of Electronic Scoreboards (ft2)': u'float',\n- u'Stadium (Closed) - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Stadium (Open) - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Stadium (Open) - Enclosed Floor Area (ft2)': u'float',\n- u'Stadium (Open) - Gross Floor Area (ft2)': u'float',\n- u'Stadium (Open) - Ice Events': u'float',\n- u'Stadium (Open) - Number of Computers': u'float',\n- u'Stadium (Open) - Number of Concert/Show Events per Year': u'float',\n- u'Stadium (Open) - Number of Special/Other Events per Year': u'float',\n- u'Stadium (Open) - Number of Sporting Events per Year': u'float',\n- u'Stadium (Open) - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Stadium (Open) - Percent That Can Be Cooled': u'float',\n- u'Stadium (Open) - Percent That Can Be Heated': u'float',\n- u'Stadium (Open) - Size of Electronic Scoreboards (ft2)': u'float',\n- u'Stadium (Open) - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Static Pressure': u'float',\n- u'Static Pressure - Installed': u'float',\n- u'Static Pressure Reset Control': u'string',\n- u'Steam Boiler Maximum Operating Pressure': u'float',\n- u'Steam Boiler Minimum Operating Pressure': u'float',\n- u'Storage Tank Insulation R-Value': u'float',\n- u'Storage Tank Insulation Thickness': u'float',\n- u'Strip Mall - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Strip Mall - Gross Floor Area (ft2)': u'float',\n- u'Strip Mall - Number of Computers': u'float',\n- u'Strip Mall - Number of Workers on Main Shift': u'float',\n- u'Strip Mall - Weekly Operating Hours': u'float',\n- u'Strip Mall - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Student Community Lodging-Institutional Cooled Percentage of Total Area': u'string',\n- u'Student Community Lodging-Institutional Derivation Method Default': u'string',\n- u'Student Community Lodging-Institutional Design Files Gross Floor Area': u'float',\n- u'Student Community Lodging-Institutional Gross Floor Area': u'float',\n- u'Student Community Lodging-Institutional Guest Rooms Quantity': u'float',\n- u'Student Community Lodging-Institutional Heated Percentage of Total Area': u'string',\n- u'Student Community Lodging-Institutional Temporary Quality Alert': u'string',\n- u'Student Community Lodging-Institutional has Computer Lab': u'string',\n- u'Student Community Lodging-Institutional has Food Service-Institutional': u'string',\n- u'Sub-component Commercial Kitchen': u'string',\n- u'Sub-component Recreation-Fitness Center Gross Floor Area': u'float',\n- u'Suction Vapor Temperature': u'float',\n- u'Summer Peak': u'float',\n- u'Summer Peak Electricity Reduction': u'float',\n- u'Supermarket/Grocery - Cash Register Density (Number per 1,000 ft2)': u'float',\n- u'Supermarket/Grocery - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Supermarket/Grocery - Cooking Facilities': u'string',\n- u'Supermarket/Grocery - Gross Floor Area (ft2)': u'float',\n- u'Supermarket/Grocery - Number of Cash Registers': u'float',\n- u'Supermarket/Grocery - Number of Computers': u'float',\n- u'Supermarket/Grocery - Number of Open or Closed Refrigeration/Freezer Units': u'float',\n- u'Supermarket/Grocery - Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Supermarket/Grocery - Number of Workers on Main Shift': u'float',\n- u'Supermarket/Grocery - Open or Closed Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Supermarket/Grocery - Percent That Can Be Cooled': u'float',\n- u'Supermarket/Grocery - Percent That Can Be Heated': u'float',\n- u'Supermarket/Grocery - Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Supermarket/Grocery - Weekly Operating Hours': u'float',\n- u'Supermarket/Grocery - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Supply Air Control Strategy': u'string',\n- u'Supply Air Temp Reset Control': u'string',\n- u'Supply Air Temperature Setpoint': u'float',\n- u'Supply Duct Percent Conditioned Space': u'float',\n- u'Supply Fraction of Duct Leakage': u'float',\n- u'Swimming Pool - Approximate Pool Size': u'float',\n- u'Swimming Pool - Location of Pool': u'string',\n- u'Swimming Pool - Months in Use': u'float',\n- u'Tank Heating Type': u'string',\n- u'Tank Height': u'float',\n- u'Tank Perimeter': u'float',\n- u'Tank Volume': u'float',\n- u'Target % Better Than Median Source EUI': u'float',\n- u'Target ENERGY STAR Score': u'float',\n- u'Target ENERGY STAR Score Assessment Metric Value': u'float',\n- u'Target Emissions Intensity kgCO2e/ft2': u'float',\n- u'Target Emissions Value MtCO2e': u'float',\n- u'Target Energy Cost ($)': u'float',\n- u'Target Energy Resource Cost': u'float',\n- u'Target Finder Baseline': u'float',\n- u'Target Finder EUI': u'float',\n- u'Target National Median Source Energy Percent Improvement': u'float',\n- u'Target Site EUI (kBtu/ft2)': u'float',\n- u'Target Site Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Target Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'Target Site Energy Resource Value kBtu': u'float',\n- u'Target Site Energy Use (kBtu)': u'float',\n- u'Target Source EUI (kBtu/ft2)': u'float',\n- u'Target Source Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Target Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'Target Source Energy Resource Value kBtu': u'float',\n- u'Target Source Energy Use (kBtu)': u'float',\n- u'Target Total GHG Emissions (MtCO2e)': u'float',\n- u'Target Total GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Target Water/Wastewater Site EUI (kBtu/gpd)': u'float',\n- u'Target Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Technology Category': u'string',\n- u'Temporary Quality Alert': u'string',\n- u'Terrace R-Value': u'float',\n- u'Thermal Efficiency': u'float',\n- u'Third Party Certification Date Achieved': u'date',\n- u'Third Party Certification Date Anticipated': u'date',\n- u'Third party certification': u'string',\n- u'Tightness': u'string',\n- u'Tightness/Fit Condition': u'string',\n- u'Total GHG Emissions (MtCO2e)': u'float',\n- u'Total GHG Emissions Intensity (kgCO2e/ft2)': u'float',\n- u'Total Heat Rejection': u'float',\n- u'Total Package Cost': u'float',\n- u'Total Package Cost Intensity': u'float',\n- u'Total Water Cost (All Water Sources) ($)': u'float',\n- u'Transformer Nameplate Efficiency': u'float',\n- u'Transformer Rated Power': u'float',\n- u'Transportation Terminal Business Average Weekly Hours': u'float',\n- u'Transportation Terminal Computer Quantity': u'float',\n- u'Transportation Terminal Design Files Gross Floor Area': u'float',\n- u'Transportation Terminal Gross Floor Area': u'float',\n- u'Transportation Terminal Temporary Quality Alert': u'string',\n- u'Transportation Terminal Workers on Main Shift Quantity': u'float',\n- u'Transportation Terminal/Station - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Transportation Terminal/Station - Gross Floor Area (ft2)': u'float',\n- u'Transportation Terminal/Station - Number of Computers': u'float',\n- u'Transportation Terminal/Station - Number of Workers on Main Shift': u'float',\n- u'Transportation Terminal/Station - Weekly Operating Hours': u'float',\n- u'Transportation Terminal/Station - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Type of Cooking Equipment': u'string',\n- u'Type of Measure': u'string',\n- u'Type of Rate Structure': u'string',\n- u'Type of resource meter': u'string',\n- u'Typical Exterior Shading Depth': u'float',\n- u'Typical Exterior Shading Type': u'string',\n- u'Typical Exterior Wall Type': u'string',\n- u'Typical Floor R-Value': u'float',\n- u'Typical Ground Coupling Type': u'string',\n- u'Typical Skylight Area': u'float',\n- u'Typical Skylight Frame Type': u'string',\n- u'Typical Skylight Frames R-Value': u'float',\n- u'Typical Skylight U-Value': u'float',\n- u'Typical Skylights SHGC': u'float',\n- u'Typical Wall R-Value': u'float',\n- u'Typical Window Area': u'float',\n- u'Typical Window Frame': u'string',\n- u'Typical Window Frame R-Value': u'float',\n- u'Typical Window SHGC': u'float',\n- u'Typical Window Sill Height': u'float',\n- u'Typical Window Type': u'string',\n- u'Typical Window U-Value': u'float',\n- u'Typical Window Visual Transmittance': u'float',\n- u'Typical Window to Wall Ratio': u'float',\n- u'U.S. Federal Campus': u'string',\n- u'US Agency Designated Covered Facility ID': u'string',\n- u'US EPA Emissions Factor kgCO2e/MMBtu': u'float',\n- u'US Federal Real Property Unique Identifier': u'string',\n- u'Urgent Care/Clinic/Other Outpatient - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Urgent Care/Clinic/Other Outpatient - Gross Floor Area (ft2)': u'float',\n- u'Urgent Care/Clinic/Other Outpatient - Number of Computers': u'float',\n- u'Urgent Care/Clinic/Other Outpatient - Number of Workers on Main Shift': u'float',\n- u'Urgent Care/Clinic/Other Outpatient - Weekly Operating Hours': u'float',\n- u'Urgent Care/Clinic/Other Outpatient - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Utility Account Number': u'string',\n- u'Utility Billpayer': u'string',\n- u'Utility Business Average Weekly Hours': u'float',\n- u'Utility Computer Quantity': u'float',\n- u'Utility Design Files Gross Floor Area': u'float',\n- u'Utility Gross Floor Area': u'float',\n- u'Utility Meter Number': u'string',\n- u'Utility Name': u'string',\n- u'Utility Temporary Quality Alert': u'string',\n- u'Utility Workers on Main Shift Quantity': u'float',\n- u'Ventilation Control Method': u'string',\n- u'Ventilation Rate': u'float',\n- u'Ventilation Type': u'string',\n- u'Ventilation Zone Control': u'string',\n- u'Vertical Abutments': u'string',\n- u'Vertical Edge Fin Only': u'string',\n- u'Vertical Fin Depth': u'float',\n- u'Vestibule': u'string',\n- u'Veterinary Office - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Veterinary Office - Gross Floor Area (ft2)': u'float',\n- u'Veterinary Office - Number of Computers': u'float',\n- u'Veterinary Office - Number of Workers on Main Shift': u'float',\n- u'Veterinary Office - Weekly Operating Hours': u'float',\n- u'Veterinary Office - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Visible Transmittance': u'float',\n- u'Vivarium Business Average Weekly Hours': u'float',\n- u'Vivarium Computer Quantity': u'float',\n- u'Vivarium Design Files Gross Floor Area': u'float',\n- u'Vivarium Gross Floor Area': u'float',\n- u'Vivarium Temporary Quality Alert': u'string',\n- u'Vivarium Workers on Main Shift Quantity': u'float',\n- u'Vocational School - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Vocational School - Gross Floor Area (ft2)': u'float',\n- u'Vocational School - Number of Computers': u'float',\n- u'Vocational School - Number of Workers on Main Shift': u'float',\n- u'Vocational School - Weekly Operating Hours': u'float',\n- u'Vocational School - Worker Density (Number per 1,000 ft2)': u'float',\n- u'Wall Area': u'float',\n- u'Wall Exterior Solar Absorptance': u'float',\n- u'Wall Exterior Thermal Absorptance': u'float',\n- u'Wall Framing Configuration': u'string',\n- u'Wall Framing Depth': u'float',\n- u'Wall Framing Factor': u'float',\n- u'Wall Framing Material': u'string',\n- u'Wall Insulation Condition': u'string',\n- u'Wall Insulation Continuity': u'string',\n- u'Wall Insulation Location': u'string',\n- u'Wall Insulation Material': u'string',\n- u'Wall Insulation Thickness': u'float',\n- u'Wall Insulation Type': u'string',\n- u'Wall R-Value': u'float',\n- u'Warehouse-Refrigerated Business Average Weekly Hours': u'float',\n- u'Warehouse-Refrigerated Derivation Method Default': u'string',\n- u'Warehouse-Refrigerated Design Files Gross Floor Area': u'float',\n- u'Warehouse-Refrigerated Gross Floor Area': u'float',\n- u'Warehouse-Refrigerated Temporary Quality Alert': u'string',\n- u'Warehouse-Refrigerated Workers on Main Shift Quantity': u'float',\n- u'Warehouse-Self-storage Business Average Weekly Hours': u'float',\n- u'Warehouse-Self-storage Computer Quantity': u'float',\n- u'Warehouse-Self-storage Design Files Gross Floor Area': u'float',\n- u'Warehouse-Self-storage Gross Floor Area': u'float',\n- u'Warehouse-Self-storage Temporary Quality Alert': u'string',\n- u'Warehouse-Self-storage Workers on Main Shift Quantity': u'float',\n- u'Warehouse-Unrefrigerated Business Average Weekly Hours': u'float',\n- u'Warehouse-Unrefrigerated Cooled Percentage of Total Area': u'float',\n- u'Warehouse-Unrefrigerated Derivation Method Default': u'string',\n- u'Warehouse-Unrefrigerated Design Files Gross Floor Area': u'float',\n- u'Warehouse-Unrefrigerated Gross Floor Area': u'float',\n- u'Warehouse-Unrefrigerated Heated Percentage of Total Area': u'float',\n- u'Warehouse-Unrefrigerated Refrigeration Walk-in Quantity': u'float',\n- u'Warehouse-Unrefrigerated Temporary Quality Alert': u'string',\n- u'Warehouse-Unrefrigerated Workers on Main Shift Quantity': u'float',\n- u'Wastewater Treatment Plant - Average Effluent Biological Oxygen Demand (BOD5) (mg/l)': u'float',\n- u'Wastewater Treatment Plant - Average Influent Biological Oxygen Demand (BOD5) (mg/l)': u'float',\n- u'Wastewater Treatment Plant - Average Influent Flow (MGD)': u'float',\n- u'Wastewater Treatment Plant - Fixed Film Trickle Filtration Process': u'string',\n- u'Wastewater Treatment Plant - Gross Floor Area (ft2)': u'float',\n- u'Wastewater Treatment Plant - Nutrient Removal': u'string',\n- u'Wastewater Treatment Plant - Plant Design Flow Rate (MGD)': u'float',\n- u'Water Alerts': u'string',\n- u'Water Baseline Date': u'date',\n- u'Water Cooled Condenser Flow Control': u'string',\n- u'Water Cost': u'float',\n- u'Water Current Date': u'date',\n- u'Water Fixture Cycles per day': u'float',\n- u'Water Fixture Fraction Hot Water': u'float',\n- u'Water Fixture Rated Flow Rate': u'float',\n- u'Water Fixture Volume per Cycle': u'float',\n- u'Water Intensity': u'float',\n- u'Water Metered Premises': u'string',\n- u'Water Resource Baseline Annual Interval End Date': u'date',\n- u'Water Resource Current Annual Interval End Date': u'date',\n- u'Water Resource Exterior Complete Resource Cost': u'float',\n- u'Water Resource Exterior Complete Resource Value kgal': u'float',\n- u'Water Resource Quality Alert': u'string',\n- u'Water Treatment Biomass Emissions Flow Intensity kgCO2e/gpd': u'float',\n- u'Water Treatment Direct Emissions Flow Intensity kgCO2e/gpd': u'float',\n- u'Water Treatment Emissions Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Flow Derivation Method Estimated': u'string',\n- u'Water Treatment Indirect Emissions Flow Intensity kgCO2e/gpd': u'float',\n- u'Water Treatment National Median Site Energy Percent Improvement': u'float',\n- u'Water Treatment National Median Site Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment National Median Source Energy Percent Improvement': u'float',\n- u'Water Treatment National Median Source Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Site Energy Adjusted for Specific Year Current Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Site Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Source Energy Adjusted for Specific Year Current Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Source Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Weather Normalized Site Electricity Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Weather Normalized Site Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment Weather Normalized Site Natural Gas Resource Flow Intensity Therm/gpd': u'float',\n- u'Water Treatment Weather Normalized Source Energy Resource Flow Intensity kBtu/gpd': u'float',\n- u'Water Treatment-Drinking Water and Distribution Daily Draw Consumption Rate Mgal/d': u'float',\n- u'Water Treatment-Drinking Water and Distribution Design Files Gross Floor Area': u'float',\n- u'Water Treatment-Drinking Water and Distribution Gross Floor Area': u'float',\n- u'Water Treatment-Drinking Water and Distribution Temporary Quality Alert': u'string',\n- u'Water Treatment-Wastewater Average Effluent Biological Oxygen Demand': u'float',\n- u'Water Treatment-Wastewater Average Flow Value Mgal/d': u'float',\n- u'Water Treatment-Wastewater Average Influent Biological Oxygen Demand': u'float',\n- u'Water Treatment-Wastewater Derivation Method Default': u'string',\n- u'Water Treatment-Wastewater Design Files Gross Floor Area': u'float',\n- u'Water Treatment-Wastewater Gross Floor Area': u'float',\n- u'Water Treatment-Wastewater Nutrient Removal Proces is Implemented': u'string',\n- u'Water Treatment-Wastewater Plant Design Flow Value Mgal/d': u'float',\n- u'Water Treatment-Wastewater Temporary Quality Alert': u'string',\n- u'Water Treatment-Wastewater Trickle Filtration Process is Fixed Film': u'string',\n- u'Water Use': u'float',\n- u'Water Use (All Water Sources) (kgal)': u'float',\n- u'Water Use Type': u'string',\n- u'Water collected for Reuse': u'string',\n- u'Water-Side Economizer DB Temperature Maximum': u'float',\n- u'Water-Side Economizer Temperature Maximum': u'float',\n- u'Water-Side Economizer Temperature Setpoint': u'float',\n- u'Water-Side Economizer Type': u'string',\n- u'Water/Wastewater Biomass GHG Emissions Intensity (kgCO2e/gpd)': u'float',\n- u'Water/Wastewater Direct GHG Emissions Intensity (kgCO2e/gpd)': u'float',\n- u'Water/Wastewater Estimated Savings from Energy Projects, Cumulative ($/GPD)': u'float',\n- u'Water/Wastewater Indirect GHG Emissions Intensity (kgCO2e/gpd)': u'float',\n- u'Water/Wastewater Investment in Energy Projects, Cumulative ($/GPD)': u'float',\n- u'Water/Wastewater Site EUI (kBtu/gpd)': u'float',\n- u'Water/Wastewater Site EUI - Adjusted to Current Year (kBtu/gpd)': u'float',\n- u'Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Water/Wastewater Source EUI - Adjusted to Current Year (kBtu/gpd)': u'float',\n- u'Water/Wastewater Total GHG Emissions Intensity (kgCO2e/gpd)': u'float',\n- u'Weather Data Source': u'string',\n- u'Weather Data Station ID': u'string',\n- u'Weather Normalized Site EUI (kBtu/ft2)': u'float',\n- u'Weather Normalized Site Electricity (kWh)': u'float',\n- u'Weather Normalized Site Electricity Intensity (kWh/ft2)': u'float',\n- u'Weather Normalized Site Electricity Resource Intensity kWh/ft2': u'float',\n- u'Weather Normalized Site Electricity Resource Value kWh': u'float',\n- u'Weather Normalized Site Energy Resource Intensity kBtu/ft2': u'float',\n- u'Weather Normalized Site Energy Resource Value kBtu': u'float',\n- u'Weather Normalized Site Energy Use (kBtu)': u'float',\n- u'Weather Normalized Site Natural Gas Intensity (therms/ft2)': u'float',\n- u'Weather Normalized Site Natural Gas Resource Intensity Therm/ft2': u'float',\n- u'Weather Normalized Site Natural Gas Resource Value Therm': u'float',\n- u'Weather Normalized Site Natural Gas Use (therms)': u'float',\n- u'Weather Normalized Source Energy Resource Intensity kBtu/ft2': u'float',\n- u'Weather Normalized Source Energy Resource Value kBtu': u'float',\n- u'Weather Normalized Source Energy Use (kBtu)': u'float',\n- u'Weather Normalized Water/Wastewater Site Electricity Intensity (kWh/gpd)': u'float',\n- u'Weather Normalized Water/Wastewater Site Natural Gas Intensity (therms/gpd)': u'float',\n- u'Weather Normalized Water/Wastewater Source EUI (kBtu/gpd)': u'float',\n- u'Weather Station Category': u'string',\n- u'Weather Station ID': u'string',\n- u'Weather Station Name': u'string',\n- u'Weather Type': u'string',\n- u'Weather Year': u'date',\n- u'Weather-Stripped': u'string',\n- u'Wholesale Club/Supercenter- Cash Register Density (Number per 1,000 ft2)': u'float',\n- u'Wholesale Club/Supercenter- Computer Density (Number per 1,000 ft2)': u'float',\n- u'Wholesale Club/Supercenter- Exterior Entrance to the Public': u'float',\n- u'Wholesale Club/Supercenter- Gross Floor Area (ft2)': u'float',\n- u'Wholesale Club/Supercenter- Number of Cash Registers': u'float',\n- u'Wholesale Club/Supercenter- Number of Computers': u'float',\n- u'Wholesale Club/Supercenter- Number of Open or Closed Refrigeration/Freezer Units': u'float',\n- u'Wholesale Club/Supercenter- Number of Walk-in Refrigeration/Freezer Units': u'float',\n- u'Wholesale Club/Supercenter- Number of Workers on Main Shift': u'float',\n- u'Wholesale Club/Supercenter- Open or Closed Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Wholesale Club/Supercenter- Percent That Can Be Cooled': u'float',\n- u'Wholesale Club/Supercenter- Percent That Can Be Heated': u'float',\n- u'Wholesale Club/Supercenter- Walk-in Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Wholesale Club/Supercenter- Weekly Operating Hours': u'float',\n- u'Wholesale Club/Supercenter- Worker Density (Number per 1,000 ft2)': u'float',\n- u'Window Frame Type': u'string',\n- u'Window Glass Layers': u'float',\n- u'Window Height': u'float',\n- u'Window Horizontal Spacing': u'float',\n- u'Window Layout': u'string',\n- u'Window Orientation': u'float',\n- u'Window Sill Height': u'float',\n- u'Window Width': u'float',\n- u'Window to Wall Ratio': u'float',\n- u'Windows Gas Filled': u'string',\n- u'Winter Peak': u'float',\n- u'Winter Peak Electricity Reduction': u'float',\n- u'Wood Cost ($)': u'float',\n- u'Wood Derivation Method Estimated': u'string',\n- u'Wood Resource Cost': u'float',\n- u'Wood Resource Value kBtu': u'float',\n- u'Wood Use (kBtu)': u'float',\n- u'Work Plane Height': u'float',\n- u'Worship Facility - Commercial Refrigeration Density (Number per 1,000 ft2)': u'float',\n- u'Worship Facility - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Worship Facility - Cooking Facilities': u'float',\n- u'Worship Facility - Gross Floor Area (ft2)': u'float',\n- u'Worship Facility - Number of Commercial Refrigeration/Freezer Units': u'float',\n- u'Worship Facility - Number of Computers': u'float',\n- u'Worship Facility - Open All Weekdays': u'float',\n- u'Worship Facility - Seating Capacity': u'float',\n- u'Worship Facility - Weekly Operating Hours': u'float',\n- u'Year Occupied': u'date',\n- u'Year Of Latest Retrofit': u'date',\n- u'Year PM Benchmarked': u'date',\n- u'Year of Last Energy Audit': u'date',\n- u'Year of Last Major Remodel': u'date',\n- u'Zoo - Computer Density (Number per 1,000 ft2)': u'float',\n- u'Zoo - Gross Floor Area (ft2)': u'float',\n- u'Zoo - Number of Computers': u'float',\n- u'Zoo - Number of Workers on Main Shift': u'float',\n- u'Zoo - Weekly Operating Hours': u'float',\n- u'Zoo - Worker Density (Number per 1,000 ft2)': u'float',\n- u'eGRID Output Emissions Rate (kgCO2e/MBtu)': u'float',\n- u'eGRID Region Code': u'string',\n- u'eGRID Subregion': u'string'\n+ 'AC Adjusted': 'string',\n+ 'ASHRAE Baseline Lighting Power Density': 'float',\n+ 'Ability to Share Forward': 'string',\n+ 'Absorption Heat Source': 'string',\n+ 'Absorption Stages': 'string',\n+ 'Active Dehumidification': 'string',\n+ 'Address Line 1': 'string',\n+ 'Address Line 2': 'string',\n+ 'Administrator Contact ID': 'string',\n+ 'Administrator Email Address': 'string',\n+ 'Administrator Full Name': 'string',\n+ 'Adult Education - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Adult Education - Gross Floor Area (ft2)': 'float',\n+ 'Adult Education - Number of Computers': 'float',\n+ 'Adult Education - Number of Workers on Main Shift': 'float',\n+ 'Adult Education - Weekly Operating Hours': 'float',\n+ 'Adult Education - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Air Distribution Configuration': 'string',\n+ 'Air Duct Configuration': 'string',\n+ 'Alternate Baseline Lighting Power Density': 'float',\n+ 'Alternative Water Generated On-Site - Indoor Cost ($)': 'float',\n+ 'Alternative Water Generated On-Site - Indoor Cost Intensity ($/ft2)': 'float',\n+ 'Alternative Water Generated On-Site - Indoor Intensity (gal/ft2)': 'float',\n+ 'Alternative Water Generated On-Site - Indoor Use (kgal)': 'float',\n+ 'Alternative Water Generated On-Site - Outdoor Cost ($)': 'float',\n+ 'Alternative Water Generated On-Site - Outdoor Use (kgal)': 'float',\n+ 'Alternative Water Generated On-Site: Combined Indoor/Outdoor or Other Cost ($)': 'float',\n+ 'Alternative Water Generated On-Site: Combined Indoor/Outdoor or Other Use (kgal)': 'float',\n+ 'Alternative Water Generated Onsite Exterior Resource Cost': 'float',\n+ 'Alternative Water Generated Onsite Exterior Resource Value kgal': 'float',\n+ 'Alternative Water Generated Onsite Interior Exterior Resource Value kgal': 'float',\n+ 'Alternative Water Generated Onsite Interior Exterior and Other Resource Cost': 'float',\n+ 'Alternative Water Generated Onsite Interior Exterior and Other Resource Value kgal': 'float',\n+ 'Alternative Water Generated Onsite Interior Resource Cost': 'float',\n+ 'Alternative Water Generated Onsite Interior Resource Cost Intensity': 'float',\n+ 'Alternative Water Generated Onsite Interior Resource Intensity gallons/ft2': 'float',\n+ 'Alternative Water Generated Onsite Interior Resource Value kgal': 'float',\n+ 'Ambulatory Surgical Center - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Ambulatory Surgical Center - Gross Floor Area (ft2)': 'float',\n+ 'Ambulatory Surgical Center - Number of Computers': 'float',\n+ 'Ambulatory Surgical Center - Number of Workers on Main Shift': 'float',\n+ 'Ambulatory Surgical Center - Weekly Operating Hours': 'float',\n+ 'Ambulatory Surgical Center - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Analysis Period': 'string',\n+ 'Annual Combined Whole Building Annual Weather Normalized Site Resource Use': 'float',\n+ 'Annual Combined Whole Building Annual Weather Normalized Source Resource Use': 'float',\n+ 'Annual Combined Whole Builidng Annual Site Energy Use Intensity (EUI)': 'float',\n+ 'Annual Combined Whole Builidng Annual Source Energy Use Intensity (EUI)': 'float',\n+ 'Annual Efficiency Unit': 'string',\n+ 'Annual Fuel Use Consistent Units (Consistent Units)': 'string',\n+ 'Annual Fuel Use Native Units (Native Units)': 'string',\n+ 'Annual Heating Efficiency Value': 'float',\n+ 'Annual Interval End Date (Year)': 'date',\n+ 'Annual Net Emissions': 'float',\n+ 'Annual Partial Quality Alert': 'string',\n+ 'Annual Savings Cost (Cost)': 'float',\n+ 'Annual Savings Site Energy (Site Energy)': 'float',\n+ 'Annual Savings Source Energy (Source Energy)': 'float',\n+ 'Annual Water Cost Savings': 'float',\n+ 'Annual Water Savings': 'float',\n+ 'Anti-Sweat Heater Controls': 'string',\n+ 'Anti-Sweat Heater Controls Manufacturer': 'string',\n+ 'Anti-Sweat Heater Controls Model Number': 'string',\n+ 'Anti-Sweat Heater Power': 'float',\n+ 'Anti-Sweat Heaters': 'string',\n+ 'Aquarium - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Aquarium - Gross Floor Area (ft2)': 'float',\n+ 'Aquarium - Number of Computers': 'float',\n+ 'Aquarium - Number of Workers on Main Shift': 'float',\n+ 'Aquarium - Weekly Operating Hours': 'float',\n+ 'Aquarium - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Arch2030 Baseline': 'float',\n+ 'Aspect Ratio': 'float',\n+ 'Assembly-Arcade or Casino Without Lodging Business Average Weekly Hours': 'float',\n+ 'Assembly-Arcade or Casino Without Lodging Computer Quantity': 'float',\n+ 'Assembly-Arcade or Casino Without Lodging Design Files Gross Floor Area': 'float',\n+ 'Assembly-Arcade or Casino Without Lodging Gross Floor Area': 'float',\n+ 'Assembly-Arcade or Casino Without Lodging Temporary Quality Alert': 'string',\n+ 'Assembly-Arcade or Casino Without Lodging Workers on Main Shift Quantity': 'float',\n+ 'Assembly-Convention Center Business Average Weekly Hours': 'float',\n+ 'Assembly-Convention Center Computer Quantity': 'float',\n+ 'Assembly-Convention Center Design Files Gross Floor Area': 'float',\n+ 'Assembly-Convention Center Gross Floor Area': 'float',\n+ 'Assembly-Convention Center Temporary Quality Alert': 'string',\n+ 'Assembly-Convention Center Workers on Main Shift Quantity': 'float',\n+ 'Assembly-Cultural Entertainment Business Average Weekly Hours': 'float',\n+ 'Assembly-Cultural Entertainment Computer Quantity': 'float',\n+ 'Assembly-Cultural Entertainment Design Files Gross Floor Area': 'float',\n+ 'Assembly-Cultural Entertainment Gross Floor Area': 'float',\n+ 'Assembly-Cultural Entertainment Temporary Quality Alert': 'string',\n+ 'Assembly-Cultural Entertainment Workers on Main Shift Quantity': 'float',\n+ 'Assembly-Religious Business Average Weekly Hours': 'float',\n+ 'Assembly-Religious Business Schedule Day is Weekdays': 'float',\n+ 'Assembly-Religious Business Weekday Quantity': 'float',\n+ 'Assembly-Religious Capacity Quantity': 'float',\n+ 'Assembly-Religious Commercial Refrigeration Quantity': 'float',\n+ 'Assembly-Religious Computer Quantity': 'float',\n+ 'Assembly-Religious Derivation Method Default': 'string',\n+ 'Assembly-Religious Design Files Gross Floor Area': 'float',\n+ 'Assembly-Religious Gross Floor Area': 'float',\n+ 'Assembly-Religious Temporary Quality Alert': 'string',\n+ 'Assembly-Religious has Kitchen': 'string',\n+ 'Assembly-Social Entertainment Business Average Weekly Hours': 'float',\n+ 'Assembly-Social Entertainment Computer Quantity': 'float',\n+ 'Assembly-Social Entertainment Design Files Gross Floor Area': 'float',\n+ 'Assembly-Social Entertainment Gross Floor Area': 'float',\n+ 'Assembly-Social Entertainment Temporary Quality Alert': 'string',\n+ 'Assembly-Social Entertainment Workers on Main Shift Quantity': 'float',\n+ 'Assembly-Stadium Computer Quantity': 'float',\n+ 'Assembly-Stadium Cooled Percentage of Total Area': 'string',\n+ 'Assembly-Stadium Design Files Gross Floor Area': 'float',\n+ 'Assembly-Stadium Enclosed Floor Area': 'float',\n+ 'Assembly-Stadium Gross Floor Area': 'float',\n+ 'Assembly-Stadium Heated Percentage of Total Area': 'string',\n+ 'Assembly-Stadium Ice Performance': 'float',\n+ 'Assembly-Stadium Non-sporting Event Operation Events per Year': 'float',\n+ 'Assembly-Stadium Other Operation Events per Year': 'float',\n+ 'Assembly-Stadium Refrigeration Walk-in Quantity': 'float',\n+ 'Assembly-Stadium Signage Display Area': 'float',\n+ 'Assembly-Stadium Sporting Event Operation Events per Year': 'float',\n+ 'Assembly-Stadium Temporary Quality Alert': 'string',\n+ 'Assessment Approved Assessment Recognition Status Date': 'string',\n+ 'Assessment Compliance Target Date': 'date',\n+ 'Assessment Program': 'string',\n+ 'Asset Score': 'float',\n+ 'Audit Cost': 'float',\n+ 'Audit Date': 'date',\n+ 'Audit Team Member Certification Type': 'string',\n+ 'Auditor Company': 'string',\n+ 'Auditor Qualification': 'string',\n+ 'Auditor Qualification Number': 'string',\n+ 'Auditor Qualification State': 'string',\n+ 'Auditor Team Member with Certification': 'string',\n+ 'Automobile Dealership - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Automobile Dealership - Gross Floor Area (ft2)': 'float',\n+ 'Automobile Dealership - Number of Computers': 'float',\n+ 'Automobile Dealership - Number of Workers on Main Shift': 'float',\n+ 'Automobile Dealership - Weekly Operating Hours': 'float',\n+ 'Automobile Dealership - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Average Cooling Operating Hours': 'float',\n+ 'Average Daily Hours': 'float',\n+ 'Average Weekly Business Hours': 'float',\n+ 'Average Weekly Hours': 'float',\n+ 'Avoided Emissions': 'float',\n+ 'Avoided Emissions - Offsite Green Power (MtCO2e)': 'float',\n+ 'Avoided Emissions - Onsite Green Power (MtCO2e)': 'float',\n+ 'Avoided Emissions - Onsite and Offsite Green Power (MtCO2e)': 'float',\n+ 'Avoided from Offsite Renewable Energy Emissions Value MtCO2e': 'float',\n+ 'Avoided from Onsite Renewable Energy Emissions Value MtCO2e': 'float',\n+ 'Avoided from Onsite and Offsite Renewable Energy Emissions Value MtCO2e': 'float',\n+ 'Azimuth': 'float',\n+ 'Backup Generator': 'string',\n+ 'Ballast Type': 'string',\n+ 'Bank Branch - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Bank Branch - Gross Floor Area (ft2)': 'float',\n+ 'Bank Branch - Number of Computers': 'float',\n+ 'Bank Branch - Number of Workers on Main Shift': 'float',\n+ 'Bank Branch - Percent That Can Be Cooled': 'float',\n+ 'Bank Branch - Percent That Can Be Heated': 'float',\n+ 'Bank Branch - Weekly Operating Hours': 'float',\n+ 'Bank Branch - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Bank Business Average Weekly Hours': 'float',\n+ 'Bank Computer Quantity': 'float',\n+ 'Bank Cooled Percentage of Total Area': 'float',\n+ 'Bank Derivation Method Default': 'string',\n+ 'Bank Design Files Gross Floor Area': 'float',\n+ 'Bank Gross Floor Area': 'float',\n+ 'Bank Heated Percentage of Total Area': 'float',\n+ 'Bank Temporary Quality Alert': 'string',\n+ 'Bank Workers on Main Shift Quantity': 'float',\n+ 'Bar/Nightclub - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Bar/Nightclub - Gross Floor Area (ft2)': 'float',\n+ 'Bar/Nightclub - Number of Computers': 'float',\n+ 'Bar/Nightclub - Number of Workers on Main Shift': 'float',\n+ 'Bar/Nightclub - Weekly Operating Hours': 'float',\n+ 'Bar/Nightclub - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Barracks - Computer Lab': 'string',\n+ 'Barracks - Dining Hall': 'string',\n+ 'Barracks - Room Density (Number per 1,000 ft2)': 'float',\n+ 'Barracks- Gross Floor Area (ft2)': 'float',\n+ 'Barracks- Number of Rooms': 'float',\n+ 'Barracks- Percent That Can Be Cooled': 'float',\n+ 'Barracks- Percent That Can Be Heated': 'float',\n+ 'Beauty and Health Services Business Average Weekly Hours': 'float',\n+ 'Beauty and Health Services Computer Quantity': 'float',\n+ 'Beauty and Health Services Design Files Gross Floor Area': 'float',\n+ 'Beauty and Health Services Gross Floor Area': 'float',\n+ 'Beauty and Health Services Temporary Quality Alert': 'string',\n+ 'Beauty and Health Services Workers on Main Shift Quantity': 'float',\n+ 'Benchmark Type': 'string',\n+ 'Biomass Emissions Intensity kgCO2e/ft2': 'float',\n+ 'Biomass Emissions Value MtCO2e': 'float',\n+ 'Biomass GHG Emissions (MtCO2e)': 'float',\n+ 'Biomass GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Boiler Entering Water Temperature': 'float',\n+ 'Boiler Insulation R Value': 'float',\n+ 'Boiler Insulation Thickness': 'float',\n+ 'Boiler Leaving Water Temperature': 'float',\n+ 'Boiler Type': 'string',\n+ 'Boiler percent condensate return': 'float',\n+ 'Bowling Alley - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Bowling Alley - Gross Floor Area (ft2)': 'float',\n+ 'Bowling Alley - Number of Computers': 'float',\n+ 'Bowling Alley - Number of Workers on Main Shift': 'float',\n+ 'Bowling Alley - Weekly Operating Hours': 'float',\n+ 'Bowling Alley - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Building Certification': 'string',\n+ 'Building Operator Name': 'string',\n+ 'Building Operator Type': 'string',\n+ 'Building air leakage': 'float',\n+ 'Building air leakage unit': 'string',\n+ 'Buildings Quantity': 'float',\n+ 'Burner Turndown Ratio': 'float',\n+ 'Burner Type': 'string',\n+ 'CMU Fill': 'string',\n+ 'Calculated Primary Occupancy Classification': 'string',\n+ 'Calculation Method': 'string',\n+ 'Capacity': 'float',\n+ 'Capacity Percentage Quantity': 'string',\n+ 'Capacity Unit': 'string',\n+ 'Case Door Orientation': 'string',\n+ 'Case Return Line Diameter': 'float',\n+ 'Casino - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Casino - Gross Floor Area (ft2)': 'float',\n+ 'Casino - Number of Computers': 'float',\n+ 'Casino - Number of Workers on Main Shift': 'float',\n+ 'Casino - Weekly Operating Hours': 'float',\n+ 'Casino - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Ceiling Visible Absorptance': 'float',\n+ 'Cell Count': 'float',\n+ 'Central Refrigeration System': 'string',\n+ 'Certification Expiration Date': 'date',\n+ 'Certification Program': 'string',\n+ 'Certification Value': 'string',\n+ 'Certification Version': 'string',\n+ 'Certification Year': 'date',\n+ 'Chilled Water Reset Control': 'string',\n+ 'Chilled Water Supply Temperature': 'float',\n+ 'Chiller Compressor Driver': 'string',\n+ 'Chiller Compressor Type': 'string',\n+ 'Climate Zone': 'string',\n+ 'Clothes Washer Capacity': 'float',\n+ 'Clothes Washer Loader Type': 'string',\n+ 'Clothes Washer Modified Energy Factor': 'float',\n+ 'Clothes Washer Water Factor': 'float',\n+ 'Coal (Anthracite) Resource Cost': 'float',\n+ 'Coal (Anthracite) Resource Value kBtu': 'float',\n+ 'Coal (Bituminous) Resource Cost': 'float',\n+ 'Coal (Bituminous) Resource Value kBtu': 'float',\n+ 'Coal (anthracite) Cost ($)': 'float',\n+ 'Coal (anthracite) Derivation Method Estimated': 'string',\n+ 'Coal (bituminous) Cost ($)': 'float',\n+ 'Coal (bituminous) Derivation Method Estimated': 'string',\n+ 'Coal - Anthracite Use (kBtu)': 'float',\n+ 'Coal - Bituminous Use (kBtu)': 'float',\n+ 'Coefficient of Performance': 'float',\n+ 'Coke Cost ($)': 'float',\n+ 'Coke Derivation Method Estimated': 'string',\n+ 'Coke Resource Cost': 'float',\n+ 'Coke Resource Value kBtu': 'float',\n+ 'Coke Use (kBtu)': 'float',\n+ 'Collection Date': 'date',\n+ 'College/University - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'College/University - Enrollment': 'float',\n+ 'College/University - Grant Dollars ($)': 'float',\n+ 'College/University - Gross Floor Area (ft2)': 'float',\n+ 'College/University - Number of Computers': 'float',\n+ 'College/University - Number of Workers on Main Shift': 'float',\n+ 'College/University - Weekly Operating Hours': 'float',\n+ 'College/University - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Combustion Efficiency': 'float',\n+ 'Complete Interior Water Resource Delivered Resource Cost': 'float',\n+ 'Complete Interior Water Resource Delivered Resource Cost Intensity': 'float',\n+ 'Complete Interior Water Resource Delivered and Generated Resource Intensity gallons/ft2': 'float',\n+ 'Complete Interior Water Resource Delivered and Generated Resource Value kgal': 'float',\n+ 'Complete Resource': 'string',\n+ 'Complete Water Resource Resource Cost': 'float',\n+ 'Complete Water Resource Resource Value kgal': 'float',\n+ 'Completed Construction Status Date': 'float',\n+ 'Compressor Staging': 'string',\n+ 'Compressor Unloader': 'string',\n+ 'Compressor Unloader Stages': 'string',\n+ 'Condenser Fan Speed Operation': 'string',\n+ 'Condenser Type': 'string',\n+ 'Condenser Water Temperature': 'float',\n+ 'Condensing Operation': 'string',\n+ 'Condensing Temperature': 'float',\n+ 'Construction Status': 'string',\n+ 'Contact Address 1': 'string',\n+ 'Contact Address 2': 'string',\n+ 'Contact City': 'string',\n+ 'Contact Name': 'string',\n+ 'Contact Postal Code': 'string',\n+ 'Contact State': 'string',\n+ 'Contact Type': 'string',\n+ 'Control Technology': 'string',\n+ 'Control Type': 'string',\n+ 'Convenience Store Business Average Weekly Hours': 'float',\n+ 'Convenience Store Case Refrigeration Length': '',\n+ 'Convenience Store Cash Register Quantity': '',\n+ 'Convenience Store Computer Quantity': 'float',\n+ 'Convenience Store Cooled Percentage of Total Area': '',\n+ 'Convenience Store Design Files Gross Floor Area': 'float',\n+ 'Convenience Store Gross Floor Area': 'float',\n+ 'Convenience Store Heated Percentage of Total Area': '',\n+ 'Convenience Store Refrigeration Case Quantity': '',\n+ 'Convenience Store Temporary Quality Alert': 'string',\n+ 'Convenience Store Walk-In Refrigeration Area': '',\n+ 'Convenience Store Walk-in Refrigeration Quantity': '',\n+ 'Convenience Store Workers on Main Shift Quantity': 'float',\n+ 'Convenience Store has Kitchen': '',\n+ 'Convenience Store with Gas Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Convenience Store with Gas Station - Gross Floor Area (ft2)': 'float',\n+ 'Convenience Store with Gas Station - Number of Computers': 'float',\n+ 'Convenience Store with Gas Station - Number of Workers on Main Shift': 'float',\n+ 'Convenience Store with Gas Station - Weekly Operating Hours': 'float',\n+ 'Convenience Store with Gas Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Convenience Store without Gas Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Convenience Store without Gas Station - Gross Floor Area (ft2)': 'float',\n+ 'Convenience Store without Gas Station - Number of Computers': 'float',\n+ 'Convenience Store without Gas Station - Number of Workers on Main Shift': 'float',\n+ 'Convenience Store without Gas Station - Weekly Operating Hours': 'float',\n+ 'Convenience Store without Gas Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Convention Center - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Convention Center - Gross Floor Area (ft2)': 'float',\n+ 'Convention Center - Number of Computers': 'float',\n+ 'Convention Center - Number of Workers on Main Shift': 'float',\n+ 'Convention Center - Weekly Operating Hours': 'float',\n+ 'Convention Center - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Conveyance Peak Power': 'float',\n+ 'Conveyance Peak Time': 'date:time',\n+ 'Conveyance Standby Power': 'float',\n+ 'Conveyance Standby Time': 'date:time',\n+ 'Conveyance System Type': 'string',\n+ 'Cooking Capacity': 'float',\n+ 'Cooking Capacity Unit': 'string',\n+ 'Cooking Energy per Meal': 'float',\n+ 'Cooking Equipment is Third Party Certified': 'string',\n+ 'Cooled Floor Area': 'float',\n+ 'Cooling Control Strategy': 'string',\n+ 'Cooling Degree Days (CDD) (\u00b0F)': 'float',\n+ 'Cooling Degree Days (CDD) Weather Metric Value': 'float',\n+ 'Cooling Delivery Type': 'string',\n+ 'Cooling Efficiency Units': 'string',\n+ 'Cooling Efficiency Value': 'float',\n+ 'Cooling Equipment Maintenance Frequency': 'string',\n+ 'Cooling Equipment Redundancy': 'string',\n+ 'Cooling Refrigerant': 'string',\n+ 'Cooling Stage Capacity': 'float',\n+ 'Cooling Supply Air Temperature': 'float',\n+ 'Cooling Supply Air Temperature Control Type': 'string',\n+ 'Cooling Tower Control Type': 'string',\n+ 'Cooling Type': 'string',\n+ 'Cooling is ENERGY STAR Rated': 'string',\n+ 'Cooling is FEMP Designated Product': 'string',\n+ 'Cost Effectiveness Screening Method': 'string',\n+ 'Country': 'string',\n+ 'County': 'string',\n+ 'Courthouse - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Courthouse - Gross Floor Area (ft2)': 'float',\n+ 'Courthouse - Number of Computers': 'float',\n+ 'Courthouse - Number of Workers on Main Shift': 'float',\n+ 'Courthouse - Percent That Can Be Cooled': 'float',\n+ 'Courthouse - Percent That Can Be Heated': 'float',\n+ 'Courthouse - Weekly Operating Hours': 'float',\n+ 'Courthouse - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Courthouse Business Average Weekly Hours': 'float',\n+ 'Courthouse Computer Quantity': 'float',\n+ 'Courthouse Cooled Percentage of Total Area': 'float',\n+ 'Courthouse Derivation Method Default': 'string',\n+ 'Courthouse Design Files Gross Floor Area': 'float',\n+ 'Courthouse Gross Floor Area': 'float',\n+ 'Courthouse Heated Percentage of Total Area': 'float',\n+ 'Courthouse Temporary Quality Alert': 'string',\n+ 'Courthouse Workers on Main Shift Quantity': 'float',\n+ 'Crankcase Heater': 'string',\n+ 'Daily Hot Water Draw': 'float',\n+ 'Daily Water Use': 'float',\n+ 'Data Center - Cooling Equipment Redundancy': 'string',\n+ 'Data Center - Gross Floor Area (ft2)': 'float',\n+ 'Data Center - IT Energy Configuration': 'string',\n+ 'Data Center - IT Equipment Input Site Energy (kWh)': 'float',\n+ 'Data Center - IT Site Energy (kWh)': 'float',\n+ 'Data Center - IT Source Energy (kBtu)': 'float',\n+ 'Data Center - National Median PUE': 'float',\n+ 'Data Center - PDU Input Site Energy (kWh)': 'float',\n+ 'Data Center - PDU Output Site Energy (kWh)': 'float',\n+ 'Data Center - PUE': 'float',\n+ 'Data Center - UPS Output Site Energy (kWh)': 'float',\n+ 'Data Center - UPS System Redundancy': 'string',\n+ 'Data Center Cooling Equipment Redundancy': 'string',\n+ 'Data Center Derivation Method Default': 'string',\n+ 'Data Center Design Files Gross Floor Area': 'float',\n+ 'Data Center Gross Floor Area': 'float',\n+ 'Data Center IT Equipment Input Meter Site Energy Derivation Method Estimated': 'string',\n+ 'Data Center IT Equipment Input Meter Site Energy Resource Value kWh': '',\n+ 'Data Center IT Site Energy Resource Value kWh': 'float',\n+ 'Data Center IT Source Energy Resource Value kBtu': 'float',\n+ 'Data Center National Median Power Usage Effectiveness (PUE) Efficinecy Value': 'float',\n+ 'Data Center PDU Input Meter Site Energy Derivation Method Estimated': 'string',\n+ 'Data Center PDU Input Meter Site Energy Resource Value kWh': '',\n+ 'Data Center PDU Output Meter Site Energy Derivation Method Estimated': 'string',\n+ 'Data Center PDU Output Meter Site Energy Resource Value kWh': '',\n+ 'Data Center Power Usage Effectiveness (PUE) Efficinecy Value': 'float',\n+ 'Data Center Quality Alert': 'string',\n+ 'Data Center Temporary Quality Alert': 'string',\n+ 'Data Center UPS Support': 'string',\n+ 'Data Center UPS System Redundancy': 'string',\n+ 'Data center Supply UPS Output Meter Site Energy Derivation Method Estimated': 'string',\n+ 'Data center Supply UPS Output Meter Site Energy Resource Value kWh': '',\n+ 'Date Property Last Modified': 'date',\n+ 'Date of Last PM Modification': 'date',\n+ 'Day End Hour': 'float',\n+ 'Day Start Hour': 'float',\n+ 'Daylight Sensors': 'string',\n+ 'Daylighting Control Steps': 'string',\n+ 'Daylighting Illuminance Set Point': 'float',\n+ 'Deck Type': 'string',\n+ 'Defrost Type': 'string',\n+ 'Dehumidification Type': 'string',\n+ 'Delivered Electricity Resource Cost': 'float',\n+ 'Delivered Electricity Resource Value kBtu': 'float',\n+ 'Delivered Electricity Resource Value kWh': 'float',\n+ 'Delivered Exterior Potable Water Resource Cost': 'float',\n+ 'Delivered Exterior Potable Water Resource Value kgal': 'float',\n+ 'Delivered Exterior Reclaimed Water Resource Cost': 'float',\n+ 'Delivered Exterior Reclaimed Water Resource Value kgal': 'float',\n+ 'Delivered Exterior and Other Location Reclaimed Water Interior Resource Cost': 'float',\n+ 'Delivered Exterior and Other Location Reclaimed Water Resource Value kgal': 'float',\n+ 'Delivered Interior Exterior or Other Location Potable Water Resource Cost': 'float',\n+ 'Delivered Interior Exterior or Other Location Potable Water Resource Value kgal': 'float',\n+ 'Delivered Interior Potable Water Resource Cost': 'float',\n+ 'Delivered Interior Potable Water Resource Cost Intensity': 'float',\n+ 'Delivered Interior Potable Water Resource Intensity gallons/ft2': 'float',\n+ 'Delivered Interior Potable Water Resource Value kgal': 'float',\n+ 'Delivered Interior Reclaimed Water Resource Cost': 'float',\n+ 'Delivered Interior Reclaimed Water Resource Cost Intensity': 'float',\n+ 'Delivered Interior Reclaimed Water Resource Value kgal': 'float',\n+ 'Delivered Reclaimed Water Interior Exterior and Other Resource Value kgal': '',\n+ 'Delivered Reclaimed Water Interior Resource Intensity gallons/ft2': 'float',\n+ 'Delivered and Net Generated Onsite Renewable Electricity Resource Value kBtu': 'float',\n+ 'Delivered and Net Generated Onsite Renewable Electricity Resource Value kWh': 'float',\n+ 'Delivered and Onsite Generated Electricity Resource Value kBtu': 'float',\n+ 'Delivered and Onsite Generated Electricity Resource Value kWh': 'float',\n+ 'Demand Ratchet Percentage': 'float',\n+ 'Demand Reduction': 'float',\n+ 'Demand Window': 'string',\n+ 'Design Adult Education - Gross Floor Area (ft2)': 'float',\n+ 'Design Ambient Temperature': 'float',\n+ 'Design Ambulatory Surgical Center - Gross Floor Area (ft2)': 'float',\n+ 'Design Aquarium - Gross Floor Area (ft2)': 'float',\n+ 'Design Automobile Dealership - Gross Floor Area (ft2)': 'float',\n+ 'Design Bank Branch - Gross Floor Area (ft2)': 'float',\n+ 'Design Bar/Nightclub - Gross Floor Area (ft2)': 'float',\n+ 'Design Barracks - Gross Floor Area (ft2)': 'float',\n+ 'Design Biomass GHG Emissions (MtCO2e)': 'float',\n+ 'Design Bowling Alley - Gross Floor Area (ft2)': 'float',\n+ 'Design Casino - Gross Floor Area (ft2)': 'float',\n+ 'Design Coal - Anthracite Use (kBtu)': 'float',\n+ 'Design Coal - Bituminous Use (kBtu)': 'float',\n+ 'Design Coke Use (kBtu)': 'float',\n+ 'Design College/University - Gross Floor Area (ft2)': 'float',\n+ 'Design Convenience Store with Gas Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Convenience Store without Gas Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Convention Center - Gross Floor Area (ft2)': 'float',\n+ 'Design Courthouse - Gross Floor Area (ft2)': 'float',\n+ 'Design Data Center - Gross Floor Area (ft2)': 'float',\n+ 'Design Diesel #2 Use (kBtu)': 'float',\n+ 'Design Direct GHG Emissions (MtCO2e)': 'float',\n+ 'Design Distribution Center - Gross Floor Area (ft2)': 'float',\n+ 'Design District Chilled Water Use (kBtu)': 'float',\n+ 'Design District Hot Water Use (kBtu)': 'float',\n+ 'Design District Steam Use (kBtu)': 'float',\n+ 'Design Drinking Water Treatment & Distribution - Gross Floor Area (ft2)': 'float',\n+ 'Design ENERGY STAR Score': 'float',\n+ 'Design Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kBtu)': 'float',\n+ 'Design Electricity Use - Grid Purchase (kBtu)': 'float',\n+ 'Design Electricity Use - Grid Purchase and Onsite Renewable Energy (kBtu)': 'float',\n+ 'Design Enclosed Mall - Gross Floor Area (ft2)': 'float',\n+ 'Design Energy Cost ($)': 'float',\n+ 'Design Energy Cost Intensity ($/ft2)': 'float',\n+ 'Design Energy/Power Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Fast Food Restaurant - Gross Floor Area (ft2)': 'float',\n+ 'Design Files ENERGY STAR Score Assessment Value': 'float',\n+ 'Design Files Energy Resource Cost': 'float',\n+ 'Design Files Energy Resource Cost Intensity': 'float',\n+ 'Design Files Power Usage Effectiveness (PUE) Efficiency Value': 'float',\n+ 'Design Files Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Design Files Site Energy Resource Value kBtu': 'float',\n+ 'Design Files Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Design Files Source Energy Resource Value kBtu': 'float',\n+ 'Design Files Water Treatment Site Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Design Files Water Treatment Source Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Design Files Water/Wastewater Site Energy Resource Intensity kBtu/gpd': 'float',\n+ 'Design Files Water/Wastewater Source Energy Resource Intensity kBtu/gpd': 'float',\n+ 'Design Financial Office - Gross Floor Area (ft2)': 'float',\n+ 'Design Fire Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Fitness Center/Health Club/Gym - Gross Floor Area (ft2)': 'float',\n+ 'Design Food Sales - Gross Floor Area (ft2)': 'float',\n+ 'Design Food Service - Gross Floor Area (ft2)': 'float',\n+ 'Design Fuel Oil #1 Use (kBtu)': 'float',\n+ 'Design Fuel Oil #2 Use (kBtu)': 'float',\n+ 'Design Fuel Oil #4 Use (kBtu)': 'float',\n+ 'Design Fuel Oil #5 & 6 Use (kBtu)': 'float',\n+ 'Design Greenhouse Gas Emissions': 'float',\n+ 'Design Greenhouse Gas Emissions Intensity': 'float',\n+ 'Design Hospital (General Medical & Surgical) - Gross Floor Area (ft2)': 'float',\n+ 'Design Hotel - Gross Floor Area (ft2)': 'float',\n+ 'Design Ice/Curling Rink - Gross Floor Area (ft2)': 'float',\n+ 'Design Indirect GHG Emissions (MtCO2e)': 'float',\n+ 'Design Indoor Arena - Gross Floor Area (ft2)': 'float',\n+ 'Design K-12 School - Gross Floor Area (ft2)': 'float',\n+ 'Design Kerosene Use (kBtu)': 'float',\n+ 'Design Laboratory - Gross Floor Area (ft2)': 'float',\n+ 'Design Library - Gross Floor Area (ft2)': 'float',\n+ 'Design Lifestyle Center - Gross Floor Area (ft2)': 'float',\n+ 'Design Liquid Propane Use (kBtu)': 'float',\n+ 'Design Mailing Center/Post Office - Gross Floor Area (ft2)': 'float',\n+ 'Design Manufacturing/Industrial Plant - Gross Floor Area (ft2)': 'float',\n+ 'Design Medical Office - Gross Floor Area (ft2)': 'float',\n+ 'Design Movie Theater - Gross Floor Area (ft2)': 'float',\n+ 'Design Multifamily Housing - Gross Floor Area (ft2)': 'float',\n+ 'Design Museum - Gross Floor Area (ft2)': 'float',\n+ 'Design Natural Gas Use (kBtu)': 'float',\n+ 'Design Non-Refrigerated Warehouse - Gross Floor Area (ft2)': 'float',\n+ 'Design Office - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Education - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Entertainment/Public Assembly - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Lodging/Residential - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Mall - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Public Services - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Recreation - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Restaurant/Bar - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Services - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Specialty Hospital - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Stadium - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Technology/Science - Gross Floor Area (ft2)': 'float',\n+ 'Design Other - Utility - Gross Floor Area (ft2)': 'float',\n+ 'Design Other Use (kBtu)': 'float',\n+ 'Design Outpatient Rehabilitation/Physical Therapy - Gross Floor Area (ft2)': 'float',\n+ 'Design PUE': 'float',\n+ 'Design Parking - Gross Floor Area (ft2)': 'float',\n+ 'Design Performing Arts - Gross Floor Area (ft2)': 'float',\n+ 'Design Personal Services (Health/Beauty, Dry Cleaning, etc) - Gross Floor Area (ft2)': 'float',\n+ 'Design Police Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Pre-school/Daycare - Gross Floor Area (ft2)': 'float',\n+ 'Design Prison/Incarceration - Gross Floor Area (ft2)': 'float',\n+ 'Design Propane Use (kBtu)': 'float',\n+ 'Design Race Track - Gross Floor Area (ft2)': 'float',\n+ 'Design Refrigerated Warehouse - Gross Floor Area (ft2)': 'float',\n+ 'Design Repair Services (Vehicle, Shoe, Locksmith, etc) - Gross Floor Area (ft2)': 'float',\n+ 'Design Residence Hall/Dormitory - Gross Floor Area (ft2)': 'float',\n+ 'Design Restaurant - Gross Floor Area (ft2)': 'float',\n+ 'Design Retail Store - Gross Floor Area (ft2)': 'float',\n+ 'Design Roller Rink - Gross Floor Area (ft2)': 'float',\n+ 'Design Self-Storage Facility - Gross Floor Area (ft2)': 'float',\n+ 'Design Senior Care Community - Gross Floor Area (ft2)': 'float',\n+ 'Design Single Family Home - Gross Floor Area (ft2)': 'float',\n+ 'Design Site EUI': 'float',\n+ 'Design Site EUI (kBtu/ft2)': 'float',\n+ 'Design Site Energy Use (kBtu)': 'float',\n+ 'Design Social/Meeting Hall - Gross Floor Area (ft2)': 'float',\n+ 'Design Source EUI': 'float',\n+ 'Design Source EUI (kBtu/ft2)': 'float',\n+ 'Design Source Energy Use (kBtu)': 'float',\n+ 'Design Stadium (Closed) - Gross Floor Area (ft2)': 'float',\n+ 'Design Stadium (Open) - Gross Floor Area (ft2)': 'float',\n+ 'Design Strip Mall - Gross Floor Area (ft2)': 'float',\n+ 'Design Supermarket/Grocery Store - Gross Floor Area (ft2)': 'float',\n+ 'Design Swimming Pool - Gross Floor Area (ft2)': 'float',\n+ 'Design Target % Better Than Median Source EUI': 'float',\n+ 'Design Target Biomass Emissions Value MtCO2e': 'float',\n+ 'Design Target Coal (anthracite) Resource Value kBtu': 'float',\n+ 'Design Target Coal (bituminous) Resource Value kBtu': 'float',\n+ 'Design Target Coke Resource Value kBtu': 'float',\n+ 'Design Target Delivered Electricity Resource Value kBtu': 'float',\n+ 'Design Target Diesel Resource Value kBtu': 'float',\n+ 'Design Target Direct Emissions Value MtCO2e': 'float',\n+ 'Design Target District Hot Water Resource Value kBtu': 'float',\n+ 'Design Target District Steam Resource Value kBtu': 'float',\n+ 'Design Target ENERGY STAR Score': 'float',\n+ 'Design Target ENERGY STAR Score Assessment Value': 'float',\n+ 'Design Target Emissions Intensity kgCO2e/ft': 'float',\n+ 'Design Target Emissions Value MtCO2e': 'float',\n+ 'Design Target Energy Cost ($)': 'float',\n+ 'Design Target Energy Resource Cost': 'float',\n+ 'Design Target Fuel Oil No-1 Resource Value kBtu': 'float',\n+ 'Design Target Fuel Oil No-2 Resource Value kBtu': 'float',\n+ 'Design Target Fuel Oil No-4 Resource Value kBtu': 'float',\n+ 'Design Target Fuel Oil No-5 and No-6 Resource Value kBtu': 'float',\n+ 'Design Target Indirect Emissions Value MtCO2e': 'float',\n+ 'Design Target Kerosene Resource Value kBtu': 'float',\n+ 'Design Target Liquid Propane Resource Value kBtu': 'float',\n+ 'Design Target Natural Gas Resource Value kBtu': 'float',\n+ 'Design Target Other Resource Value kBtu': 'float',\n+ 'Design Target Percent Improvement National Median Source Energy Resource Intensity': 'float',\n+ 'Design Target Propane Resource Value kBtu': 'float',\n+ 'Design Target Site EUI (kBtu/ft2)': 'float',\n+ 'Design Target Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Design Target Site Energy Resource Value kBtu': 'float',\n+ 'Design Target Site Energy Use (kBtu)': 'float',\n+ 'Design Target Source EUI (kBtu/ft2)': 'float',\n+ 'Design Target Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Design Target Source Energy Resource Value kBtu': 'float',\n+ 'Design Target Source Energy Use (kBtu)': 'float',\n+ 'Design Target Total GHG Emissions (MtCO2e)': 'float',\n+ 'Design Target Total GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Design Target Water/Wastewater Site EUI (kBtu/gpd)': 'float',\n+ 'Design Target Water/Wastewater Site Energy Resource Intensity kBtu/gpd': 'float',\n+ 'Design Target Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Design Target Water/Wastewater Source Energy Resource Intensity kBtu/gpd': 'float',\n+ 'Design Target Wood Resource Value kBtu': 'float',\n+ 'Design Temperature Difference': 'float',\n+ 'Design Total GHG Emissions (MtCO2e)': 'float',\n+ 'Design Total GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Design Transportation Terminal/Station - Gross Floor Area (ft2)': 'float',\n+ 'Design Urgent Care/Clinic/Other Outpatient - Gross Floor Area (ft2)': 'float',\n+ 'Design Veterinary Office - Gross Floor Area (ft2)': 'float',\n+ 'Design Vocational School - Gross Floor Area (ft2)': 'float',\n+ 'Design Wastewater Treatment Plant - Gross Floor Area (ft2)': 'float',\n+ 'Design Water/Wastewater Site EUI (kBtu/gpd)': 'float',\n+ 'Design Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Design Wholesale Club/Supercenter - Gross Floor Area (ft2)': 'float',\n+ 'Design Wood Use (kBtu)': 'float',\n+ 'Design Worship Facility - Gross Floor Area (ft2)': 'float',\n+ 'Design Zoo - Gross Floor Area (ft2)': 'float',\n+ 'Desuperheat Valve': 'float',\n+ 'Diesel': 'string',\n+ 'Diesel #2 Use (kBtu)': 'float',\n+ 'Diesel Cost ($)': 'float',\n+ 'Diesel Derivation Method Estimated': 'string',\n+ 'Diesel Resource Cost': 'float',\n+ 'Diesel Resource Value kBtu': 'float',\n+ 'Direct Emissions Intensity kgCO2e/ft2': 'float',\n+ 'Direct Emissions Value MtCo2e': 'float',\n+ 'Direct GHG Emissions (MtCO2e)': 'float',\n+ 'Direct GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Discount Factor': 'float',\n+ 'Dishwasher Energy Factor': 'float',\n+ 'Dishwasher Hot Water Use': 'float',\n+ 'Dishwasher Loads Per Week': 'float',\n+ 'Dishwasher Quantity': 'float',\n+ 'Dishwasher Type': 'string',\n+ 'Dishwasher Year of Manufacture': 'date',\n+ 'Distance Between Vertical Fins': 'float',\n+ 'Distribution Center - Gross Floor Area (ft2)': 'float',\n+ 'Distribution Center - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Distribution Center - Number of Workers on Main Shift': 'float',\n+ 'Distribution Center - Percent That Can Be Cooled': 'float',\n+ 'Distribution Center - Percent That Can Be Heated': 'float',\n+ 'Distribution Center - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Distribution Center - Weekly Operating Hours': 'float',\n+ 'Distribution Center - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Distribution Type': 'string',\n+ 'District Chilled Water': 'string',\n+ 'District Chilled Water Cost ($)': 'float',\n+ 'District Chilled Water Derivation Method Estimated': 'string',\n+ 'District Chilled Water Resource Cost': 'float',\n+ 'District Chilled Water Resource Value kBtu': 'float',\n+ 'District Chilled Water Use (kBtu)': 'float',\n+ 'District Host Water Resource Value kBtu': 'float',\n+ 'District Hot Water': 'string',\n+ 'District Hot Water Cost ($)': 'float',\n+ 'District Hot Water Derivation Method Estimated': 'string',\n+ 'District Hot Water Resource Cost': 'float',\n+ 'District Hot Water Use (kBtu)': 'float',\n+ 'District Steam': 'string',\n+ 'District Steam Cost ($)': 'float',\n+ 'District Steam Derivation Method Estimated': 'string',\n+ 'District Steam Resource Cost': 'float',\n+ 'District Steam Resource Value kBtu': 'float',\n+ 'District Steam Use (kBtu)': 'float',\n+ 'Domestic Hot Water Type': 'string',\n+ 'Door Configuration': 'string',\n+ 'Door Glazed Area Fraction': 'float',\n+ 'Door Operation': 'string',\n+ 'Door Visible Transmittance': 'float',\n+ 'Doors Weather-Stripped': 'string',\n+ 'Draft Type': 'string',\n+ 'Drinking Water Treatment & Distribution - Average Flow (MGD)': 'float',\n+ 'Drinking Water Treatment & Distribution - Gross Floor Area (ft2)': 'float',\n+ 'Dryer Primary Energy Use Per Load': 'float',\n+ 'Dryer Secondary Energy Use Per Load': 'float',\n+ 'Duct Insulation': 'string',\n+ 'Duct Insulation R-Value': 'float',\n+ 'Duct Leakage Test Method': 'string',\n+ 'Duct Pressure Test Leakage Percentage (Percentage)': 'float',\n+ 'Duct Pressure Test Leakage cfm (cfm)': 'float',\n+ 'Duct Sealing': 'string',\n+ 'Duct Surface Area': 'float',\n+ 'Duct Type': 'string',\n+ 'Duty Cycle': 'string',\n+ 'ENERGY STAR Application Status': 'string',\n+ 'ENERGY STAR Certification - Application Status': 'string',\n+ 'ENERGY STAR Certification - Eligibility': 'string',\n+ 'ENERGY STAR Certification - Last Approval Date': 'date',\n+ 'ENERGY STAR Certification - Next Eligible Date': 'date',\n+ 'ENERGY STAR Certification - Profile Published': 'string',\n+ 'ENERGY STAR Certification - Year(s) Certified': 'string',\n+ 'ENERGY STAR Certification Approved Assessment Recognition Status Date': 'date',\n+ 'ENERGY STAR Certification Assessment Eligibility': 'string',\n+ 'ENERGY STAR Certification Assessment Recognition Status': 'string',\n+ 'ENERGY STAR Certification Assessment Year': 'string',\n+ 'ENERGY STAR Certification Eligible Assessment Recognition Status Date': 'date',\n+ 'ENERGY STAR Certification Published': 'string',\n+ 'ENERGY STAR Score Assessment Metric Value': 'float',\n+ 'ENERGY STAR Score Assessment Value': 'float',\n+ 'ENERGY Star Score': 'float',\n+ 'Economizer': 'string',\n+ 'Economizer Control': 'float',\n+ 'Economizer Dry Bulb Control Point': 'float',\n+ 'Economizer Enthalpy Control Point': 'float',\n+ 'Economizer Low Temperature Lockout': 'string',\n+ 'Economizer Type': 'string',\n+ 'Education Business Average Weekly Hours': 'float',\n+ 'Education Computer Quantity': 'float',\n+ 'Education Design Files Gross Floor Area': 'float',\n+ 'Education Gross Floor Area': 'float',\n+ 'Education Temporary Quality Alert': 'string',\n+ 'Education Workers on Main Shift Quantity': 'float',\n+ 'Education-Higher Business Average Weekly Hours': 'float',\n+ 'Education-Higher Computer Quantity': 'float',\n+ 'Education-Higher Design Files Gross Floor Area': 'float',\n+ 'Education-Higher Gross Floor Area': 'float',\n+ 'Education-Higher Registered Students Quantity': 'float',\n+ 'Education-Higher Temporary Quality Alert': 'string',\n+ 'Education-Higher Workers on Main Shift Quantity': 'float',\n+ 'Education-Preschool or Daycare Business Average Weekly Hours': 'float',\n+ 'Education-Preschool or Daycare Computer Quantity': 'float',\n+ 'Education-Preschool or Daycare Design Files Gross Floor Area': 'float',\n+ 'Education-Preschool or Daycare Gross Floor Area': 'float',\n+ 'Education-Preschool or Daycare Temporary Quality Alert': 'string',\n+ 'Education-Preschool or Daycare Workers on Main Shift Quantity': 'float',\n+ 'Electric Demand Rate': 'string',\n+ 'Electric Distribution Utility': 'string',\n+ 'Electric Distribution Utility (EDU) Company Name': 'string',\n+ 'Electrical Plug Load Intensity': 'float',\n+ 'Electricity': 'string',\n+ 'Electricity (Grid Purchase) Cost ($)': 'float',\n+ 'Electricity Generated Onsite Percent of Total': '',\n+ 'Electricity Photovoltaic Onsite renewable Derivation Method Estimated': 'string',\n+ 'Electricity Price Escalation Rate': 'string',\n+ 'Electricity Sourced from Onsite Renewable Systems': 'float',\n+ 'Electricity Use - Generated from Onsite Renewable Systems (kWh)': 'float',\n+ 'Electricity Use - Generated from Onsite Renewable Systems and Exported (kWh)': 'float',\n+ 'Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kBtu)': 'float',\n+ 'Electricity Use - Generated from Onsite Renewable Systems and Used Onsite (kWh)': 'float',\n+ 'Electricity Use - Grid Purchase (kBtu)': 'float',\n+ 'Electricity Use - Grid Purchase (kWh)': 'float',\n+ 'Electricity Use - Grid Purchase and Generated from Onsite Renewable Systems (kBtu)': 'float',\n+ 'Electricity Use - Grid Purchase and Generated from Onsite Renewable Systems (kWh)': 'float',\n+ 'Electricity Utility provided Derivation Method Estimated': 'string',\n+ 'Emissions Factor': 'float',\n+ 'Emissions Factor - Source': 'string',\n+ 'Emissions Intensity kgCO2e/ft2': 'float',\n+ 'Emissions Value MtCO2e': 'float',\n+ 'Enclosed Assembly-Stadium Computer Quantity': 'float',\n+ 'Enclosed Assembly-Stadium Cooled Percentage of Total Area': 'string',\n+ 'Enclosed Assembly-Stadium Design Files Gross Floor Area': 'float',\n+ 'Enclosed Assembly-Stadium Enclosed Floor Area': 'float',\n+ 'Enclosed Assembly-Stadium Gross Floor Area': 'float',\n+ 'Enclosed Assembly-Stadium Heated Percentage of Total Area': 'string',\n+ 'Enclosed Assembly-Stadium Ice Performance': 'float',\n+ 'Enclosed Assembly-Stadium Non-sporting Event Operation Events per Year': 'float',\n+ 'Enclosed Assembly-Stadium Other Operation Event Operation Events per Year': 'float',\n+ 'Enclosed Assembly-Stadium Signage Display Area': 'float',\n+ 'Enclosed Assembly-Stadium Sporting Event Operation Events per Year': 'float',\n+ 'Enclosed Assembly-Stadium Temporary Quality Alert': 'string',\n+ 'Enclosed Assembly-Stadium Walk-in Refrigeration Quantity': 'float',\n+ 'Enclosed Mall - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Enclosed Mall - Gross Floor Area (ft2)': 'float',\n+ 'Enclosed Mall - Number of Computers': 'float',\n+ 'Enclosed Mall - Number of Workers on Main Shift': 'float',\n+ 'Enclosed Mall - Weekly Operating Hours': 'float',\n+ 'Enclosed Mall - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'End Time Stamp': 'date:time',\n+ 'End Use': 'string',\n+ 'Energy Baseline Annual Interval End Date': 'date',\n+ 'Energy Baseline Date': 'date',\n+ 'Energy Cost': 'float',\n+ 'Energy Cost ($)': 'float',\n+ 'Energy Cost Intensity ($)': 'float',\n+ 'Energy Current Annual Interval End Date': 'date',\n+ 'Energy Generation Plant Business Average Weekly Hours': 'float',\n+ 'Energy Generation Plant Computer Quantity': 'float',\n+ 'Energy Generation Plant Design Files Gross Floor Area': 'float',\n+ 'Energy Generation Plant Gross Floor Area': 'float',\n+ 'Energy Generation Plant Temporary Quality Alert': 'string',\n+ 'Energy Generation Plant Workers on Main Shift Quantity': 'float',\n+ 'Energy Metered Premises': 'string',\n+ 'Energy Recovery Efficiency': 'float',\n+ 'Energy Resource Cost': 'float',\n+ 'Energy Resource Cost Intensity': 'float',\n+ 'Energy Storage Type': 'string',\n+ 'Energy/Power Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Energy/Power Station - Gross Floor Area (ft2)': 'float',\n+ 'Energy/Power Station - Number of Computers': 'float',\n+ 'Energy/Power Station - Number of Workers on Main Shift': 'float',\n+ 'Energy/Power Station - Weekly Operating Hours': 'float',\n+ 'Energy/Power Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Equipment Disposal and Salvage Costs': 'float',\n+ 'Estimated Quality Alert': 'string',\n+ 'Estimated Savings from Energy Projects, Cumulative ($)': 'float',\n+ 'Estimated Savings from Energy Projects, Cumulative ($/ft2)': 'float',\n+ 'Evaporative Cooling Entering Supply Air DB Temperature': 'float',\n+ 'Evaporative Cooling Entering Supply Air WB Temperature': 'float',\n+ 'Evaporative Cooling Operation': 'string',\n+ 'Evaporatively Cooled Condenser': 'string',\n+ 'Evaporatively Cooled Condenser Maximum Temperature': 'float',\n+ 'Evaporatively Cooled Condenser Minimum Temperature': 'float',\n+ 'Evaporator Pressure Regulators': 'string',\n+ 'Excess Quality Alert': 'string',\n+ 'Exported Onsite Renewable Electricity Resoure Value kWh': 'float',\n+ 'Exterior Alternative Water Generated Onsite Derivation Method Estimated': 'string',\n+ 'Exterior Delivered Potable Water Derivation Method Estimated': 'string',\n+ 'Exterior Delivered Reclaimed Water Derivation Method Estimated': 'string',\n+ 'Exterior Door Type': 'string',\n+ 'Exterior Other Water Resource Derivation Method Estimated': 'string',\n+ 'Exterior Roughness': 'string',\n+ 'Exterior Shading Type': 'string',\n+ 'Exterior Wall Color': 'string',\n+ 'Exterior Wall Type': 'string',\n+ 'Fan Application': 'string',\n+ 'Fan Design Static Pressure': 'float',\n+ 'Fan Efficiency': 'float',\n+ 'Fan Flow Control Type': 'string',\n+ 'Fan Placement': 'string',\n+ 'Fan Power Minimum Ratio': 'float',\n+ 'Fan Size': 'float',\n+ 'Fan Type': 'string',\n+ 'Fast Food Restaurant - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Fast Food Restaurant - Gross Floor Area (ft2)': 'float',\n+ 'Fast Food Restaurant - Number of Computers': 'float',\n+ 'Fast Food Restaurant - Number of Workers on Main Shift': 'float',\n+ 'Fast Food Restaurant - Weekly Operating Hours': 'float',\n+ 'Fast Food Restaurant - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Federal Agency': 'string',\n+ 'Federal Agency/Department': 'string',\n+ 'Federal Department': 'string',\n+ 'Federal Government Agency Company Name': 'string',\n+ 'Federal Property': 'string',\n+ 'Federal Region/Sub-Department': 'string',\n+ 'Federal Sustainability Checklist Completion Percentage': 'float',\n+ 'Fenestration Area': 'float',\n+ 'Fenestration R-value': 'float',\n+ 'Fenestration Type': 'string',\n+ 'Financial Office - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Financial Office - Gross Floor Area (ft2)': 'float',\n+ 'Financial Office - Number of Computers': 'float',\n+ 'Financial Office - Number of Workers on Main Shift': 'float',\n+ 'Financial Office - Percent That Can Be Cooled': 'float',\n+ 'Financial Office - Percent That Can Be Heated': 'float',\n+ 'Financial Office - Weekly Operating Hours': 'float',\n+ 'Financial Office - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Fire Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Fire Station - Gross Floor Area (ft2)': 'float',\n+ 'Fire Station - Number of Computers': 'float',\n+ 'Fire Station - Number of Workers on Main Shift': 'float',\n+ 'Fire Station - Weekly Operating Hours': 'float',\n+ 'Fire Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'First Cost': 'float',\n+ 'Fitness Center/Health Club/Gym - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Fitness Center/Health Club/Gym - Gross Floor Area (ft2)': 'float',\n+ 'Fitness Center/Health Club/Gym - Number of Computers': 'float',\n+ 'Fitness Center/Health Club/Gym - Number of Workers on Main Shift': 'float',\n+ 'Fitness Center/Health Club/Gym - Weekly Operating Hours': 'float',\n+ 'Fitness Center/Health Club/Gym - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Fixed Monthly Charge': 'float',\n+ 'Fixture Spacing': 'string',\n+ 'Floor Area Custom Name': 'string',\n+ 'Floor Area Source': 'string',\n+ 'Floor Area Type': 'string',\n+ 'Floor Area Value': 'float',\n+ 'Floor Construction Type': 'string',\n+ 'Floor Covering': 'string',\n+ 'Floor Framing Configuration': 'string',\n+ 'Floor Framing Depth': 'float',\n+ 'Floor Framing Factor': 'float',\n+ 'Floor Framing Material': 'string',\n+ 'Floor Insulation Condition': 'string',\n+ 'Floor Insulation Thickness': 'float',\n+ 'Floor R-Value': 'float',\n+ 'Floor Type': 'string',\n+ 'Floor-to-Ceiling Height': 'float',\n+ 'Floor-to-Floor Height': 'float',\n+ 'Floors Above Grade': 'float',\n+ 'Floors Below Grade': 'float',\n+ 'Floors Partially Below Grade': 'float',\n+ 'Fluorescent Start Type': 'string',\n+ 'Food Sales - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Food Sales - Gross Floor Area (ft2)': 'float',\n+ 'Food Sales - Number of Computers': 'float',\n+ 'Food Sales - Number of Workers on Main Shift': 'float',\n+ 'Food Sales - Weekly Operating Hours': 'float',\n+ 'Food Sales - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Food Sales Business Average Weekly Hours': 'float',\n+ 'Food Sales Case Refrigeration Length': 'float',\n+ 'Food Sales Cash Register Quantity': 'float',\n+ 'Food Sales Computer Quantity': 'float',\n+ 'Food Sales Cooled Percentage of Total Area': 'float',\n+ 'Food Sales Design Files Gross Floor Area': 'float',\n+ 'Food Sales Gross Floor Area': 'float',\n+ 'Food Sales Heated Percentage of Total Area': 'float',\n+ 'Food Sales Temporary Quality Alert': 'string',\n+ 'Food Sales Walk-In Refrigeration Area': 'float',\n+ 'Food Sales Walk-in Refrigeration Quantity': 'float',\n+ 'Food Sales Workers on Main Shift Quantity': 'float',\n+ 'Food Sales has Kitchen': 'float',\n+ 'Food Sales-Grocery Store Business Average Weekly Hours': 'float',\n+ 'Food Sales-Grocery Store Case Refrigeration Length': '',\n+ 'Food Sales-Grocery Store Cash Register Quantity': 'float',\n+ 'Food Sales-Grocery Store Commercial Refrigeration Case Quantity': 'float',\n+ 'Food Sales-Grocery Store Computer Quantity': 'float',\n+ 'Food Sales-Grocery Store Cooled Percentage of Total Area': 'string',\n+ 'Food Sales-Grocery Store Derivation Method Default': 'string',\n+ 'Food Sales-Grocery Store Design Files Gross Floor Area': 'float',\n+ 'Food Sales-Grocery Store Gross Floor Area': 'float',\n+ 'Food Sales-Grocery Store Heated Percentage of Total Area': 'string',\n+ 'Food Sales-Grocery Store Temporary Quality Alert': 'string',\n+ 'Food Sales-Grocery Store Walk-In Refrigeration Area': '',\n+ 'Food Sales-Grocery Store Walk-in Refrigeration Quantity': 'float',\n+ 'Food Sales-Grocery Store Workers on Main Shift Quantity': 'float',\n+ 'Food Sales-Grocery Store has Kitchen': 'float',\n+ 'Food Salese Refrigeration Case Quantity': 'float',\n+ 'Food Service - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Food Service - Gross Floor Area (ft2)': 'float',\n+ 'Food Service - Number of Computers': 'float',\n+ 'Food Service - Number of Workers on Main Shift': 'float',\n+ 'Food Service - Weekly Operating Hours': 'float',\n+ 'Food Service - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Food Service Business Average Weekly Hours': 'float',\n+ 'Food Service Computer Quantity': 'float',\n+ 'Food Service Design Files Gross Floor Area': 'float',\n+ 'Food Service Gross Floor Area': 'float',\n+ 'Food Service Temporary Quality Alert': 'string',\n+ 'Food Service Workers on Main Shift Quantity': 'float',\n+ 'Food Service-Fast Business Average Weekly Hours': 'float',\n+ 'Food Service-Fast Computer Quantity': 'float',\n+ 'Food Service-Fast Design Files Gross Floor Area': 'float',\n+ 'Food Service-Fast Gross Floor Area': 'float',\n+ 'Food Service-Fast Temporary Quality Alert': 'string',\n+ 'Food Service-Fast Workers on Main Shift Quantity': 'float',\n+ 'Food Service-Full Business Average Weekly Hours': 'float',\n+ 'Food Service-Full Computer Quantity': 'float',\n+ 'Food Service-Full Design Files Gross Floor Area': 'float',\n+ 'Food Service-Full Gross Floor Area': 'float',\n+ 'Food Service-Full Temporary Quality Alert': 'string',\n+ 'Food Service-Full Workers on Main Shift Quantity': 'float',\n+ 'Footprint Shape': 'string',\n+ 'Foundation Area': 'float',\n+ 'Foundation Wall Below Grade Depth': 'float',\n+ 'Foundation Wall Insulation Condition': 'string',\n+ 'Foundation Wall Insulation Continuity': 'string',\n+ 'Foundation Wall Insulation Thickness': 'float',\n+ 'Foundation Wall Type': 'string',\n+ 'Fuel Generated': 'string',\n+ 'Fuel Interruptibility': 'string',\n+ 'Fuel Oil #1 Use (kBtu)': 'float',\n+ 'Fuel Oil #2 Use (kBtu)': 'float',\n+ 'Fuel Oil #4 Use (kBtu)': 'float',\n+ 'Fuel Oil #5 & 6 Use (kBtu)': 'float',\n+ 'Fuel Oil (No. 1) Cost ($)': 'float',\n+ 'Fuel Oil (No. 2) Cost ($)': 'float',\n+ 'Fuel Oil (No. 4) Cost ($)': 'float',\n+ 'Fuel Oil (No. 5 and No. 6) Cost ($)': 'float',\n+ 'Fuel Oil No-1 Derivation Method Estimated': 'string',\n+ 'Fuel Oil No-1 Resource Cost': 'float',\n+ 'Fuel Oil No-1 Resource Value kBtu': 'float',\n+ 'Fuel Oil No-2 Derivation Method Estimated': 'string',\n+ 'Fuel Oil No-2 Resource Cost': 'float',\n+ 'Fuel Oil No-2 Resource Value kBtu': 'float',\n+ 'Fuel Oil No-4 Derivation Method Estimated': 'string',\n+ 'Fuel Oil No-4 Resource Cost': 'float',\n+ 'Fuel Oil No-4 Resource Value kBtu': 'float',\n+ 'Fuel Oil No-5 and No-6 Derivation Method Estimated': 'string',\n+ 'Fuel Oil No-5 and No-6 Resource Cost': 'float',\n+ 'Fuel Oil No-5 and No-6 Resource Value kBtu': 'float',\n+ 'Fuel Use Intensity': 'float',\n+ 'Funding from Rebates': 'string',\n+ 'Funding from Tax Credits': 'string',\n+ 'GHG Emissions': 'float',\n+ 'Gas Price Escalation Rate': 'float',\n+ 'Gas Station Business Average Weekly Hours': 'float',\n+ 'Gas Station Case Refrigeration Length': '',\n+ 'Gas Station Cash Register Quantity': '',\n+ 'Gas Station Computer Quantity': 'float',\n+ 'Gas Station Cooled Percentage of Total Area': '',\n+ 'Gas Station Design Files Gross Floor Area': 'float',\n+ 'Gas Station Gross Floor Area': 'float',\n+ 'Gas Station Heated Percentage of Total Area': '',\n+ 'Gas Station Refrigeration Case Quantity': '',\n+ 'Gas Station Temporary Quality Alert': 'string',\n+ 'Gas Station Walk-In Refrigeration Area': '',\n+ 'Gas Station Walk-in Refrigeration Quantity': '',\n+ 'Gas Station Workers on Main Shift Quantity': 'float',\n+ 'Gas Station has Kitchen': '',\n+ 'Generated Onsite Renewable Electricity Resoure Value kWh': 'float',\n+ 'Generation Annual Operation Hours': 'float',\n+ 'Generation Capacity': 'float',\n+ 'Generation Capacity Unit': 'string',\n+ 'Glass Type': 'string',\n+ 'Green Power - Offsite (kWh)': 'float',\n+ 'Green Power - Onsite (kWh)': 'float',\n+ 'Green Power - Onsite and Offsite (kWh)': 'float',\n+ 'Gross Floor Area Quality Alert': 'string',\n+ 'Ground Coupling': 'string',\n+ 'Guiding Principle 1.1 Integrated - Team': 'string',\n+ 'Guiding Principle 1.2 Integrated - Goals': 'string',\n+ 'Guiding Principle 1.3 Integrated - Plan': 'string',\n+ 'Guiding Principle 1.4 Integrated -Occupant Feedback': 'string',\n+ 'Guiding Principle 1.5 Integrated - Commissioning': 'string',\n+ 'Guiding Principle 2.1 Energy - Energy Efficiency Any Option (Any Option)': 'string',\n+ 'Guiding Principle 2.1 Energy Efficiency - Option 1': 'string',\n+ 'Guiding Principle 2.1 Energy Efficiency - Option 2': 'string',\n+ 'Guiding Principle 2.1 Energy Efficiency - Option 3': 'string',\n+ 'Guiding Principle 2.2 Energy - Efficient Products': 'string',\n+ 'Guiding Principle 2.3 Energy - Onsite Renewable': 'string',\n+ 'Guiding Principle 2.4 Energy - Measurement and Verification': 'string',\n+ 'Guiding Principle 2.5 Energy - Benchmarking': 'string',\n+ 'Guiding Principle 3.1 Indoor Water - Option 1': 'string',\n+ 'Guiding Principle 3.1 Indoor Water - Option 2': 'string',\n+ 'Guiding Principle 3.1 Water - Indoor Water Any Option (Any Option)': 'string',\n+ 'Guiding Principle 3.2 Outdoor Water - Option 1': 'string',\n+ 'Guiding Principle 3.2 Outdoor Water - Option 2': 'string',\n+ 'Guiding Principle 3.2 Outdoor Water - Option 3': 'string',\n+ 'Guiding Principle 3.2 Water - Outdoor Water Any Option (Any Option)': 'string',\n+ 'Guiding Principle 3.3 Water - Stormwater': 'string',\n+ 'Guiding Principle 3.4 Water - Efficient Products': 'string',\n+ 'Guiding Principle 4.1 Indoor Environment - Ventilation and Thermal Comfort': 'string',\n+ 'Guiding Principle 4.2 Indoor Environment - Moisture Control': 'string',\n+ 'Guiding Principle 4.3 Indoor Environment - Automated Lighting Controls': 'string',\n+ 'Guiding Principle 4.4 Daylighting and Occupant Controls - Option 1': 'string',\n+ 'Guiding Principle 4.4 Daylighting and Occupant Controls - Option 2': 'string',\n+ 'Guiding Principle 4.4 Indoor Environment - Daylighting and Occupant Controls Any Option (Any Option)': 'string',\n+ 'Guiding Principle 4.5 Indoor Environment - Low-Emitting Materials': 'string',\n+ 'Guiding Principle 4.6 Indoor Environment - Integrated Pest Management': 'string',\n+ 'Guiding Principle 4.7 Indoor Environment - Tobacco Smoke Control': 'string',\n+ 'Guiding Principle 5.1 Materials - Recycled Content': 'string',\n+ 'Guiding Principle 5.2 Materials - Biobased Content': 'string',\n+ 'Guiding Principle 5.3 Materials - Environmentally Preferred Products': 'string',\n+ 'Guiding Principle 5.4 Materials - Waste and Materials Mgmt': 'string',\n+ 'Guiding Principle 5.5 Materials - Ozone Depleting Compounds': 'string',\n+ 'Guiding Principles - % Complete (Yes or Not Applicable)': 'string',\n+ 'Guiding Principles - % In Process': 'string',\n+ 'Guiding Principles - % No': 'string',\n+ 'Guiding Principles - % Not Applicable': 'string',\n+ 'Guiding Principles - % Not Assessed': 'string',\n+ 'Guiding Principles - % Yes': 'string',\n+ 'Guiding Principles - Checklist Manager': 'string',\n+ 'Guiding Principles - Principles Date Achieved': 'string',\n+ 'Guiding Principles - Principles Date Anticipated': 'string',\n+ 'HPWH Minimum Air Temperature': 'float',\n+ 'Health Care Design Files Gross Floor Area': 'float',\n+ 'Health Care Temporary Quality Alert': 'string',\n+ 'Health Care-Inpatient Hospital Cooled Percentage of Total Area': 'string',\n+ 'Health Care-Inpatient Hospital Derivation Method Default': 'string',\n+ 'Health Care-Inpatient Hospital Design Files Gross Floor Area': 'float',\n+ 'Health Care-Inpatient Hospital Full Time Equivalent (FTE) Workers Quantity': 'float',\n+ 'Health Care-Inpatient Hospital Gross Floor Area': 'float',\n+ 'Health Care-Inpatient Hospital Heated Percentage of Total Area': 'string',\n+ 'Health Care-Inpatient Hospital Licensed Beds Quantity': 'float',\n+ 'Health Care-Inpatient Hospital Medical Equipment Quantity': 'float',\n+ 'Health Care-Inpatient Hospital Ownership': 'string',\n+ 'Health Care-Inpatient Hospital Staffed Beds Quantity': 'float',\n+ 'Health Care-Inpatient Hospital Temporary Quality Alert': 'string',\n+ 'Health Care-Inpatient Hospital Workers on Main Shift Quantity': 'float',\n+ 'Health Care-Inpatient Hospital has Commercial Laundry Area': 'string',\n+ 'Health Care-Inpatient Hospital has Laboratory': 'string',\n+ 'Health Care-Outpatient Non-diagnostic Business Average Weekly Hours': 'float',\n+ 'Health Care-Outpatient Non-diagnostic Cooled Percentage of Total Area': 'string',\n+ 'Health Care-Outpatient Non-diagnostic Derivation Method Default': 'string',\n+ 'Health Care-Outpatient Non-diagnostic Design Files Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Non-diagnostic Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Non-diagnostic Heated Percentage of Total Area': 'string',\n+ 'Health Care-Outpatient Non-diagnostic Medical Equipment Quantity': 'float',\n+ 'Health Care-Outpatient Non-diagnostic Sub-component Health Care-Outpatient Surgical Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Non-diagnostic Temporary Quality Alert': 'string',\n+ 'Health Care-Outpatient Non-diagnostic Workers on Main Shift Quantity': 'float',\n+ 'Health Care-Outpatient Rehabilitation Business Average Weekly Hours': 'float',\n+ 'Health Care-Outpatient Rehabilitation Computer Quantity': 'float',\n+ 'Health Care-Outpatient Rehabilitation Design Files Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Rehabilitation Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Rehabilitation Temporary Quality Alert': 'string',\n+ 'Health Care-Outpatient Rehabilitation Workers on Main Shift Quantity': 'float',\n+ 'Health Care-Outpatient Surgical Business Average Weekly Hours': 'float',\n+ 'Health Care-Outpatient Surgical Computer Quantity': 'float',\n+ 'Health Care-Outpatient Surgical Design Files Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Surgical Gross Floor Area': 'float',\n+ 'Health Care-Outpatient Surgical Temporary Quality Alert': 'string',\n+ 'Health Care-Outpatient Surgical Workers on Main Shift Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Average Residents Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Capacity Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Commercial Clothes Washer Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Commercial Refrigeration Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Computer Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Cooled Percentage of Total Area': 'string',\n+ 'Health Care-Skilled Nursing Facility Derivation Method Default': 'string',\n+ 'Health Care-Skilled Nursing Facility Design Files Gross Floor Area': 'float',\n+ 'Health Care-Skilled Nursing Facility Gross Floor Area': 'float',\n+ 'Health Care-Skilled Nursing Facility Guest Rooms Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Heated Percentage of Total Area': 'string',\n+ 'Health Care-Skilled Nursing Facility People Lift System Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Residential Clothes Washer Quantity': 'float',\n+ 'Health Care-Skilled Nursing Facility Temporary Quality Alert': 'string',\n+ 'Health Care-Skilled Nursing Facility Workers on Main Shift Quantity': 'float',\n+ 'Health Care-Veterinary Business Average Weekly Hours': 'float',\n+ 'Health Care-Veterinary Computer Quantity': 'float',\n+ 'Health Care-Veterinary Design Files Gross Floor Area': 'float',\n+ 'Health Care-Veterinary Gross Floor Area': 'float',\n+ 'Health Care-Veterinary Temporary Quality Alert': 'string',\n+ 'Health Care-Veterinary Workers on Main Shift Quantity': 'float',\n+ 'Heat Pump Backup AFUE': 'float',\n+ 'Heat Pump Backup Heating Switchover Temperature': 'float',\n+ 'Heat Pump Backup system fuel': 'string',\n+ 'Heat Pump Water Heater Refrigerant Designation': 'string',\n+ 'Heat Recovery Efficiency': 'float',\n+ 'Heat Recovery Type': 'string',\n+ 'Heated Floor Area': 'float',\n+ 'Heating Degree Days (HDD) (\u00b0F)': 'float',\n+ 'Heating Degree Days (HDD) Weather Metric Value': 'float',\n+ 'Heating Delivery Type': 'string',\n+ 'Heating Equipment Maintenance Frequency': 'string',\n+ 'Heating Refrigerant Type': 'string',\n+ 'Heating Setback Frequency': 'string',\n+ 'Heating Setback Temperature': 'float',\n+ 'Heating Setpoint setpoint': 'float',\n+ 'Heating Stage Capacity': 'float',\n+ 'Heating Staging': 'string',\n+ 'Heating Type': 'string',\n+ 'Home Energy Score': 'float',\n+ 'Horizontal Abutments': 'string',\n+ 'Hospital (General Medical & Surgical) - Full Time Equivalent (FTE) Workers Density (Number per 1,000 ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - Gross Floor Area (ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - Laboratory': 'string',\n+ 'Hospital (General Medical & Surgical) - Licensed Bed Capacity': 'float',\n+ 'Hospital (General Medical & Surgical) - Licensed Bed Capacity Density (Number per 1,000 ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - MRI Density (Number per 1,000 ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - Maximum Number of Floors': 'float',\n+ 'Hospital (General Medical & Surgical) - Number of MRI Machines': 'float',\n+ 'Hospital (General Medical & Surgical) - Number of Staffed Beds': 'float',\n+ 'Hospital (General Medical & Surgical) - Number of Workers on Main Shift': 'float',\n+ 'Hospital (General Medical & Surgical) - Number of Workers on Main Shift Density (Number per 1,000 ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - Onsite Laundry Facility': 'string',\n+ 'Hospital (General Medical & Surgical) - Owned By': 'string',\n+ 'Hospital (General Medical & Surgical) - Percent That Can Be Cooled': 'float',\n+ 'Hospital (General Medical & Surgical) - Percent That Can Be Heated': 'float',\n+ 'Hospital (General Medical & Surgical) - Staffed Bed Density (Number per 1,000 ft2)': 'float',\n+ 'Hospital (General Medical & Surgical) - Tertiary Care': 'string',\n+ 'Hospital (General Medical & Surgical)- Full Time Equivalent (FTE) Workers': 'float',\n+ 'Hot Water Boiler Maximum Flow Rate': 'float',\n+ 'Hot Water Boiler Minimum Flow Rate': 'float',\n+ 'Hot Water Reset Control': 'string',\n+ 'Hotel - Amount of Laundry Processed On-site Annually (short tons/year)': 'float',\n+ 'Hotel - Commercial Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Hotel - Cooking Facilities': 'string',\n+ 'Hotel - Full Service Spa Floor Area (ft2)': 'float',\n+ 'Hotel - Gross Floor Area (ft2)': 'float',\n+ 'Hotel - Gym/fitness Center Floor Area (ft2)': 'float',\n+ 'Hotel - Number of Workers on Main Shift': 'float',\n+ 'Hotel - Percent That Can Be Cooled': 'float',\n+ 'Hotel - Percent That Can Be Heated': 'float',\n+ 'Hotel - Room Density (Number per 1,000 ft2)': 'float',\n+ 'Hotel - Type of Laundry Facility': 'string',\n+ 'Hotel - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Hotel- Hours per day guests on-site': 'float',\n+ 'Hotel- Number of Commercial Refrigeration/Freezer Units': 'float',\n+ 'Hotel- Number of Rooms': 'float',\n+ 'Hotel- Number of guest meals served per year': 'float',\n+ 'Humidification Type': 'string',\n+ 'Humidity Control Maximum': 'float',\n+ 'Humidity Control Minimum': 'float',\n+ 'IT Energy Intensity': 'float',\n+ 'IT Peak Power': 'float',\n+ 'IT Standby Power': 'float',\n+ 'IT System Type': 'string',\n+ 'Ice/Curling Rink - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Ice/Curling Rink - Gross Floor Area (ft2)': 'float',\n+ 'Ice/Curling Rink - Number of Computers': 'float',\n+ 'Ice/Curling Rink - Number of Workers on Main Shift': 'float',\n+ 'Ice/Curling Rink - Weekly Operating Hours': 'float',\n+ 'Ice/Curling Rink - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Ignition Type': 'string',\n+ 'In Portfolio Manager': 'string',\n+ 'Indirect Emissions Intensity kgtCO2e/ft2': 'float',\n+ 'Indirect Emissions Value MtCO2e': 'float',\n+ 'Indirect GHG Emissions (MtCO2e)': 'float',\n+ 'Indirect GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Indirect Tank Heating Source': 'string',\n+ 'Indoor Arena - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Indoor Arena - Enclosed Floor Area (ft2)': 'float',\n+ 'Indoor Arena - Gross Floor Area (ft2)': 'float',\n+ 'Indoor Arena - Ice Events': 'float',\n+ 'Indoor Arena - Number of Computers': 'float',\n+ 'Indoor Arena - Number of Concert/Show Events per Year': 'float',\n+ 'Indoor Arena - Number of Special/Other Events per Year': 'float',\n+ 'Indoor Arena - Number of Sporting Events per Year': 'float',\n+ 'Indoor Arena - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Indoor Arena - Percent That Can Be Cooled': 'float',\n+ 'Indoor Arena - Percent That Can Be Heated': 'float',\n+ 'Indoor Arena - Size of Electronic Scoreboards (ft2)': 'float',\n+ 'Indoor Arena - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Indoor Water Cost (All Water Sources) ($)': 'float',\n+ 'Indoor Water Cost Intensity (All Water Sources) ($/ft2)': 'float',\n+ 'Indoor Water Intensity (All Water Sources) (gal/ft2)': 'float',\n+ 'Indoor Water Use (All Water Sources) (kgal)': 'float',\n+ 'Industrial Manufacturing Business Average Weekly Hours': 'float',\n+ 'Industrial Manufacturing Computer Quantity': 'float',\n+ 'Industrial Manufacturing Gross Floor Area': 'float',\n+ 'Industrial Manufacturing Plant Design Files Gross Floor Area': 'float',\n+ 'Industrial Manufacturing Plant Temporary Quality Alert': 'string',\n+ 'Industrial Manufacturing Workers on Main Shift Quantity': 'float',\n+ 'Input Capacity': 'float',\n+ 'Input Voltage': 'float',\n+ 'Installation Type': 'string',\n+ 'Installed Fan Flow Rate': 'float',\n+ 'Installed Power': 'float',\n+ 'Interior Alternative Water Generated Onsite Derivation Method Estimated': 'string',\n+ 'Interior Automated Shades': 'string',\n+ 'Interior Delivered Potable Water Derivation Method Estimated': 'string',\n+ 'Interior Delivered Reclaimed Water Derivation Method Estimated': 'string',\n+ 'Interior Exterior and Other Location Other Water Resource Derivation Method Estimated': 'string',\n+ 'Interior Other Water Resource Derivation Method Estimated': 'string',\n+ 'Interior Shading Type': 'string',\n+ 'Interior Visible Absorptance': 'float',\n+ 'Interior and Exterior and Other Location Alternative Water Generated Onsite Derivation Method Estimated': 'string',\n+ 'Interior and Exterior and Other Location Delivered Potable Water Derivation Method Estimated': 'string',\n+ 'Interior and Exterior and Other Location Delivered Reclaimed Water Derivation Method Estimated': 'string',\n+ 'Internal Rate of Return': 'float',\n+ 'Investment in Energy Projects, Cumulative ($)': 'float',\n+ 'Investment in Energy Projects, Cumulative ($/ft2)': 'float',\n+ 'K-12 School - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'K-12 School - Cooking Facilities': 'string',\n+ 'K-12 School - Gross Floor Area (ft2)': 'float',\n+ 'K-12 School - Gymnasium Floor Area (ft2)': 'float',\n+ 'K-12 School - High School': 'string',\n+ 'K-12 School - Months in Use': 'float',\n+ 'K-12 School - Number of Computers': 'float',\n+ 'K-12 School - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'K-12 School - Number of Workers on Main Shift': 'float',\n+ 'K-12 School - Percent That Can Be Cooled': 'float',\n+ 'K-12 School - Percent That Can Be Heated': 'float',\n+ 'K-12 School - Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'K-12 School - School District': 'string',\n+ 'K-12 School - Student Seating Capacity': 'float',\n+ 'K-12 School - Student Seating Density (Number per 1,000 ft2)': 'float',\n+ 'K-12 School - Weekend Operation': 'string',\n+ 'K-12 School - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Kerosene Cost ($)': 'float',\n+ 'Kerosene Derivation Method Estimated': 'string',\n+ 'Kerosene Resource Cost': 'float',\n+ 'Kerosene Resource Value kBtu': 'float',\n+ 'Kerosene Use (kBtu)': 'float',\n+ 'LEED Certification Audit Exemption': 'string',\n+ 'Laboratory - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Laboratory - Gross Floor Area (ft2)': 'float',\n+ 'Laboratory - Number of Computers': 'float',\n+ 'Laboratory - Number of Workers on Main Shift': 'float',\n+ 'Laboratory - Weekly Operating Hours': 'float',\n+ 'Laboratory - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Laboratory Business Average Weekly Hours': 'float',\n+ 'Laboratory Computer Quantity': 'float',\n+ 'Laboratory Design Files Gross Floor Area': 'float',\n+ 'Laboratory Gross Floor Area': 'float',\n+ 'Laboratory Temporary Quality Alert': 'string',\n+ 'Laboratory Workers on Main Shift Quantity': 'float',\n+ 'Lamp Distribution Type': 'string',\n+ 'Lamp Length': 'float',\n+ 'Lamp Subtype': 'string',\n+ 'Latitude': 'string',\n+ 'Laundry Equipment Usage': 'string',\n+ 'Laundry Type': 'string',\n+ 'Laundry Unit Quantity': 'float',\n+ 'Laundry Unit Year of Manufacture': 'date',\n+ 'Library - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Library - Gross Floor Area (ft2)': 'float',\n+ 'Library - Number of Computers': 'float',\n+ 'Library - Number of Workers on Main Shift': 'float',\n+ 'Library - Weekly Operating Hours': 'float',\n+ 'Library - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Lifestyle Center - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Lifestyle Center - Gross Floor Area (ft2)': 'float',\n+ 'Lifestyle Center - Number of Computers': 'float',\n+ 'Lifestyle Center - Number of Workers on Main Shift': 'float',\n+ 'Lifestyle Center - Weekly Operating Hours': 'float',\n+ 'Lifestyle Center - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Light Shelf Distance from Top': 'float',\n+ 'Light Shelf Exterior Protrusion': 'float',\n+ 'Light Shelf Interior Protrusion': 'float',\n+ 'Lighting Control Type Daylighting': 'string',\n+ 'Lighting Control Type Manual': 'string',\n+ 'Lighting Control Type Occupancy': 'string',\n+ 'Lighting Control Type Timer': 'string',\n+ 'Lighting Efficacy': 'float',\n+ 'Lighting Power Density': 'float',\n+ 'Lighting Type': 'string',\n+ 'Lighting is ENERGY STAR Rated': 'string',\n+ 'Lighting is FEMP Designated Product': 'string',\n+ 'Liquid Propane Cost ($)': 'float',\n+ 'Liquid Propane Derivation Method Estimated': 'string',\n+ 'Liquid Propane Resource Cost': 'float',\n+ 'Liquid Propane Resource Value kBtu': 'float',\n+ 'Liquid Propane Use (kBtu)': 'float',\n+ 'Locations of exterior water intrusion damage': 'string',\n+ 'Locations of interior water intrusion damage': 'string',\n+ 'Lodging Business Average Weekly Hours': 'float',\n+ 'Lodging Computer Quantity': 'float',\n+ 'Lodging Design Files Gross Floor Area': 'float',\n+ 'Lodging Gross Floor Area': 'float',\n+ 'Lodging Temporary Quality Alert': 'string',\n+ 'Lodging Workers on Main Shift Quantity': 'float',\n+ 'Lodging with Extended Amenities Commercial Refrigeration Quantity': 'float',\n+ 'Lodging with Extended Amenities Cooled Percentage of Total Area': 'string',\n+ 'Lodging with Extended Amenities Derivation Method Default': 'string',\n+ 'Lodging with Extended Amenities Design Files Gross Floor Area': 'float',\n+ 'Lodging with Extended Amenities Gross Floor Area': 'float',\n+ 'Lodging with Extended Amenities Guest Rooms Quantity': 'float',\n+ 'Lodging with Extended Amenities Heated Percentage of Total Area': 'string',\n+ 'Lodging with Extended Amenities Laundry Load Type': 'string',\n+ 'Lodging with Extended Amenities Laundry Loads Operation Events per Year Mass ton': 'float',\n+ 'Lodging with Extended Amenities Meal Served Operation Events per Year': 'float',\n+ 'Lodging with Extended Amenities Public Access Average Daily Hours': 'float',\n+ 'Lodging with Extended Amenities Sub-component Beauty and Health Services Gross Floor Area': 'float',\n+ 'Lodging with Extended Amenities Sub-component Recreation-Fitness Center Gross Floor Area': 'float',\n+ 'Lodging with Extended Amenities Temporary Quality Alert': 'string',\n+ 'Lodging with Extended Amenities Workers on Main Shift Quantity': 'float',\n+ 'Lodging with Extended Amenities has Commercial Kitchen': 'string',\n+ 'Longitude': 'float',\n+ 'Lot Size': 'float',\n+ 'Luminaire Height': 'float',\n+ 'M&V Option': 'string',\n+ 'MV Cost': 'float',\n+ 'Mailing Center/Post Office - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Mailing Center/Post Office - Gross Floor Area (ft2)': 'float',\n+ 'Mailing Center/Post Office - Number of Computers': 'float',\n+ 'Mailing Center/Post Office - Number of Workers on Main Shift': 'float',\n+ 'Mailing Center/Post Office - Weekly Operating Hours': 'float',\n+ 'Mailing Center/Post Office - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Makeup Air Source': 'string',\n+ 'Manufacturing/Industrial Plant - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Manufacturing/Industrial Plant - Gross Floor Area (ft2)': 'float',\n+ 'Manufacturing/Industrial Plant - Number of Computers': 'float',\n+ 'Manufacturing/Industrial Plant - Number of Workers on Main Shift': 'float',\n+ 'Manufacturing/Industrial Plant - Weekly Operating Hours': 'float',\n+ 'Manufacturing/Industrial Plant - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Marginal Cost Rate': 'float',\n+ 'Marginal Sell Rate': 'float',\n+ 'Maximum Fan Power': 'float',\n+ 'Maximum Outside Air Flow Rate': 'float',\n+ 'Measure Capital Replacement Costs': 'float',\n+ 'Measure Description': 'string',\n+ 'Measure End Date': 'date',\n+ 'Measure First Cost': 'float',\n+ 'Measure Implementation Status': 'string',\n+ 'Measure Life': 'float',\n+ 'Measure Name': 'string',\n+ 'Measure Notes': 'string',\n+ 'Measure Scale of Application': 'string',\n+ 'Measure Start Date': 'date',\n+ 'Medical Office - Gross Floor Area (ft2)': 'float',\n+ 'Medical Office - MRI Machine Density (Number per 1,000 ft2)': 'float',\n+ 'Medical Office - Number of MRI Machines': 'float',\n+ 'Medical Office - Number of Surgical Operating Beds': 'float',\n+ 'Medical Office - Number of Workers on Main Shift': 'float',\n+ 'Medical Office - Percent That Can Be Cooled': 'float',\n+ 'Medical Office - Percent That Can Be Heated': 'float',\n+ 'Medical Office - Surgery Center Size (ft2)': 'float',\n+ 'Medical Office - Surgical Operating Bed Density (Number per 1,000 ft2)': 'float',\n+ 'Medical Office - Weekly Operating Hours': 'float',\n+ 'Medical Office - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Metal Halide Start Type': 'string',\n+ 'Metered Areas (Energy)': 'string',\n+ 'Metered Areas (Water)': 'string',\n+ 'Metering Configuration': 'string',\n+ 'Military Community Lodging-Institutional Cooled Percentage of Total Area': 'float',\n+ 'Military Community Lodging-Institutional Derivation Method Default': 'string',\n+ 'Military Community Lodging-Institutional Design Files Gross Floor Area': 'float',\n+ 'Military Community Lodging-Institutional Gross Floor Area': 'float',\n+ 'Military Community Lodging-Institutional Guest Rooms Quantity': 'float',\n+ 'Military Community Lodging-Institutional Heated Percentage of Total Area': 'float',\n+ 'Military Community Lodging-Institutional Temporary Quality Alert': 'string',\n+ 'Military Community Lodging-Institutional has Computer Lab': 'string',\n+ 'Military Community Lodging-Institutional has Food Service-Institutional': 'string',\n+ 'Minimum Dimming Light Fraction': 'float',\n+ 'Minimum Dimming Power Fraction': 'float',\n+ 'Minimum Fan Flow Rate': 'float',\n+ 'Minimum Fan Speed as a Fraction of Maximum - Cooling': 'float',\n+ 'Minimum Fan Speed as a Fraction of Maximum - Heating': 'float',\n+ 'Minimum Outside Air Percentage': 'float',\n+ 'Minimum Part Load Ratio': 'float',\n+ 'Minimum Power Factor Without Penalty': 'float',\n+ 'Montly Interval Frequency Quality Alert': 'string',\n+ 'Most Recent Sale Date': 'date',\n+ 'Motor Application': 'string',\n+ 'Motor Brake HP': 'float',\n+ 'Motor Drive Efficiency': 'float',\n+ 'Motor Efficiency': 'float',\n+ 'Motor Enclosure Type': 'string',\n+ 'Motor Full Load Amps': 'float',\n+ 'Motor HP': 'float',\n+ 'Motor Location Relative to Air Stream': 'string',\n+ 'Motor Pole Count': 'float',\n+ 'Motor RPM': 'float',\n+ 'Movie Theater - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Movie Theater - Gross Floor Area (ft2)': 'float',\n+ 'Movie Theater - Number of Computers': 'float',\n+ 'Movie Theater - Number of Workers on Main Shift': 'float',\n+ 'Movie Theater - Weekly Operating Hours': 'float',\n+ 'Movie Theater - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Multifamily Apartment Units Quantity': 'float',\n+ 'Multifamily Bedrooms Quantity': 'float',\n+ 'Multifamily Common Area Percentage of Total Area': 'float',\n+ 'Multifamily Cooled Percentage of Total Area': '',\n+ 'Multifamily Derivation Method Default': 'string',\n+ 'Multifamily Design Files Gross Floor Area': 'float',\n+ 'Multifamily Floors Quantity Greater Than 0 Less Than 5 Apartment Units Quantity': 'float',\n+ 'Multifamily Floors Quantity Greater Than 4 Less Than 10 Apartment Units Quantity': 'float',\n+ 'Multifamily Floors Quantity Greater Than 9 Apartment Units Quantity': 'float',\n+ 'Multifamily Floors Quantity High Range Value': 'float',\n+ 'Multifamily Government Subsidized Community': 'string',\n+ 'Multifamily Gross Floor Area': 'float',\n+ 'Multifamily Heated Percentage of Total Area': 'string',\n+ 'Multifamily Housing - Government Subsidized Housing': 'string',\n+ 'Multifamily Housing - Gross Floor Area (ft2)': 'float',\n+ 'Multifamily Housing - Maximum Number of Floors': 'float',\n+ 'Multifamily Housing - Number of Bedrooms': 'float',\n+ 'Multifamily Housing - Number of Dishwasher Hookups': 'float',\n+ 'Multifamily Housing - Number of Laundry Hookups in All Units': 'float',\n+ 'Multifamily Housing - Number of Laundry Hookups in Common Area(s)': 'float',\n+ 'Multifamily Housing - Number of Residential Living Units': 'float',\n+ 'Multifamily Housing - Percent That Can Be Cooled': 'float',\n+ 'Multifamily Housing - Percent That Can Be Heated': 'float',\n+ 'Multifamily Housing - Percent of Gross Floor Area That is Common Space Only': 'float',\n+ 'Multifamily Housing - Primary Hot Water Fuel Type for units (for units)': 'string',\n+ 'Multifamily Housing - Resident Population Type': 'string',\n+ 'Multifamily Occupant Type': 'string',\n+ 'Multifamily Service Hot Water Primary Input Resource': 'string',\n+ 'Multifamily Temporary Quality Alert': 'string',\n+ 'Multiple Building Heights': 'float',\n+ 'Municipally Supplied Potable Water - Indoor Cost ($)': 'float',\n+ 'Municipally Supplied Potable Water - Indoor Cost Intensity ($/ft2)': 'float',\n+ 'Municipally Supplied Potable Water - Indoor Intensity (gal/ft2)': 'float',\n+ 'Municipally Supplied Potable Water - Indoor Use (kgal)': 'float',\n+ 'Municipally Supplied Potable Water - Outdoor Cost ($)': 'float',\n+ 'Municipally Supplied Potable Water - Outdoor Use (kgal)': 'float',\n+ 'Municipally Supplied Potable Water: Combined Indoor/Outdoor or Other Cost ($)': 'float',\n+ 'Municipally Supplied Potable Water: Combined Indoor/Outdoor or Other Use (kgal)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Indoor Cost ($)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Indoor Cost Intensity ($/ft2)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Indoor Intensity (gal/ft2)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Indoor Use (kgal)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Outdoor Cost ($)': 'float',\n+ 'Municipally Supplied Reclaimed Water - Outdoor Use (kgal)': 'float',\n+ 'Municipally Supplied Reclaimed Water: Combined Indoor/Outdoor or Other Cost ($)': 'float',\n+ 'Municipally Supplied Reclaimed Water: Combined Indoor/Outdoor or Other Use (kgal)': 'float',\n+ 'Museum - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Museum - Gross Floor Area (ft2)': 'float',\n+ 'Museum - Number of Computers': 'float',\n+ 'Museum - Number of Workers on Main Shift': 'float',\n+ 'Museum - Weekly Operating Hours': 'float',\n+ 'Museum - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'NAICS Code': 'string',\n+ 'NPV of Tax Implications': 'float',\n+ 'NYC Borough, Block and Lot (BBL)': 'string',\n+ 'NYC Building Identification Number (BIN)': 'string',\n+ 'Name of Audit Certification Holder': 'string',\n+ 'Name of Retro-commissioning Certification Holder': 'string',\n+ 'National Average EUI': 'float',\n+ 'National Median ENERGY STAR Score': 'float',\n+ 'National Median ENERGY STAR Score Assessment Value': 'float',\n+ 'National Median Emissions Value MtCO2e': 'float',\n+ 'National Median Energy Cost ($)': 'float',\n+ 'National Median Energy Resource Cost': 'float',\n+ 'National Median Occupancy Classification': 'string',\n+ 'National Median Reference Property Type': 'string',\n+ 'National Median Site EUI (kBtu/ft2)': 'float',\n+ 'National Median Site Energy Percent Improvement': 'float',\n+ 'National Median Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'National Median Site Energy Resource Value kBtu': 'float',\n+ 'National Median Site Energy Use (kBtu)': 'float',\n+ 'National Median Source EUI (kBtu/ft2)': 'float',\n+ 'National Median Source Energy Percent Improvement': 'float',\n+ 'National Median Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'National Median Source Energy Resource Value kBtu': 'float',\n+ 'National Median Source Energy Use (kBtu)': 'float',\n+ 'National Median Total GHG Emissions (MtCO2e)': 'float',\n+ 'National Median Water/Wastewater Site EUI (kBtu/gpd)': 'float',\n+ 'National Median Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Natural Gas': 'string',\n+ 'Natural Gas Cost ($)': 'float',\n+ 'Natural Gas Derivation Method Estimated': 'string',\n+ 'Natural Gas Resource Cost': 'float',\n+ 'Natural Gas Resource Value Therm': 'float',\n+ 'Natural Gas Resource Value kBtu': 'float',\n+ 'Natural Gas Use (kBtu)': 'float',\n+ 'Natural Gas Use (therms)': 'float',\n+ 'Natural Ventilation': 'string',\n+ 'Natural Ventilation Method': 'string',\n+ 'Natural Ventilation Rate': 'float',\n+ 'Net Emissions (MtCO2e)': 'float',\n+ 'Net Emissions Value MtCO2e': 'float',\n+ 'Net Metering': 'string',\n+ 'Net Onsite Generated Electricity Resource Value kBtu': 'float',\n+ 'Net Onsite Generated Electricity Resource Value kWh': 'float',\n+ 'Net Onsite Renewable Electricity Resoure Value kBtu': 'float',\n+ 'Net Onsite Renewable Electricity Resoure Value kWh': 'float',\n+ 'Net Present Value': 'float',\n+ 'Net Refrigeration Capacity': 'float',\n+ 'Non-Enclosed Assembly-Stadium Computer Quantity': 'float',\n+ 'Non-Enclosed Assembly-Stadium Cooled Percentage of Total Area': 'string',\n+ 'Non-Enclosed Assembly-Stadium Design Files Gross Floor Area': 'float',\n+ 'Non-Enclosed Assembly-Stadium Enclosed Floor Area': 'float',\n+ 'Non-Enclosed Assembly-Stadium Gross Floor Area': 'float',\n+ 'Non-Enclosed Assembly-Stadium Heated Percentage of Total Area': 'string',\n+ 'Non-Enclosed Assembly-Stadium Non-sporting Event Operation Events per Year': 'float',\n+ 'Non-Enclosed Assembly-Stadium Other Operation Event Ooperation Events per Year': 'float',\n+ 'Non-Enclosed Assembly-Stadium Signage Display Area': 'float',\n+ 'Non-Enclosed Assembly-Stadium Sporting Event Operation Events per Year': 'float',\n+ 'Non-Enclosed Assembly-Stadium Temporary Quality Alert': 'string',\n+ 'Non-Enclosed Assembly-Stadium Walk-in Refrigeration Quantity': 'float',\n+ 'Non-Enclosed Assembly-Stadium has Ice Performance': 'float',\n+ 'Non-Potable Water used for Irrigation': 'string',\n+ 'Non-Refrigerated Warehouse - Gross Floor Area (ft2)': 'float',\n+ 'Non-Refrigerated Warehouse - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Non-Refrigerated Warehouse - Number of Worker on Main Shift': 'float',\n+ 'Non-Refrigerated Warehouse - Percent That Can Be Cooled': 'float',\n+ 'Non-Refrigerated Warehouse - Percent That Can Be Heated': 'float',\n+ 'Non-Refrigerated Warehouse - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Non-Refrigerated Warehouse - Weekly Operating Hours': 'float',\n+ 'Non-Refrigerated Warehouse - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Normalization Start Year': 'date',\n+ 'Normalization Years': 'string',\n+ 'Number of Ballasts per Luminaire': 'float',\n+ 'Number of Buildings': 'float',\n+ 'Number of Computers': 'float',\n+ 'Number of Cooling Stages': 'float',\n+ 'Number of Discrete Fan Speeds - Cooling': 'float',\n+ 'Number of Discrete Fan Speeds - Heating': 'float',\n+ 'Number of Exterior Doors': 'float',\n+ 'Number of Heating Stages': 'float',\n+ 'Number of Lamps per Ballast': 'float',\n+ 'Number of Lamps per Luminaire': 'float',\n+ 'Number of Luminaires': 'float',\n+ 'Number of Meals': 'float',\n+ 'Number of Months in Operation': 'float',\n+ 'Number of Occupants': 'float',\n+ 'Number of Refrigerant Return Lines': 'float',\n+ 'Number of Rooms': 'float',\n+ 'Number of Units': 'float',\n+ 'OM Cost Annual Savings': 'float',\n+ 'Observed Primary Occupancy Classification': 'string',\n+ 'Occupancy': 'string',\n+ 'Occupancy Sensors': 'string',\n+ 'Occupant Activity Level': 'string',\n+ 'Off-Cycle Heat Loss Coefficient': 'float',\n+ 'Off-Peak Occupancy Percentage': 'float',\n+ 'Office - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Office - Gross Floor Area (ft2)': 'float',\n+ 'Office - Number of Computers': 'float',\n+ 'Office - Number of Workers on Main Shift': 'float',\n+ 'Office - Percent That Can Be Cooled': 'float',\n+ 'Office - Percent That Can Be Heated': 'float',\n+ 'Office - Weekly Operating Hours': 'float',\n+ 'Office - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Office Business Average Weekly Hours': 'float',\n+ 'Office Computer Quantity': 'float',\n+ 'Office Cooled Percentage of Total Area': 'string',\n+ 'Office Derivation Method Default': 'string',\n+ 'Office Design Files Gross Floor Area': 'float',\n+ 'Office Gross Floor Area': 'float',\n+ 'Office Heated Percentage of Total Area': 'string',\n+ 'Office Temporary Quality Alert': 'string',\n+ 'Office Workers on Main Shift Quantity': 'float',\n+ 'Offsite Renewable Energy Resource Value kWh': 'float',\n+ 'On-Site Generation Type': 'string',\n+ 'On-site Renewable Electricity': 'float',\n+ 'Onsite Renewable Electricity Resource Value kWh': 'float',\n+ 'Onsite Renewable Energy Resource Value kWh': 'float',\n+ 'Onsite Renewable System Electricity Exported': 'float',\n+ 'Onsite and Offiste Renewable Energy Resource Value kWh': 'float',\n+ 'Operable Windows': 'string',\n+ 'Other - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Education - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Education - Gross Floor Area (ft2)': 'float',\n+ 'Other - Education - Number of Computers': 'float',\n+ 'Other - Education - Number of Workers on Main Shift': 'float',\n+ 'Other - Education - Weekly Operating Hours': 'float',\n+ 'Other - Education - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Entertainment/Public Assembly - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Entertainment/Public Assembly - Gross Floor Area (ft2)': 'float',\n+ 'Other - Entertainment/Public Assembly - Number of Computers': 'float',\n+ 'Other - Entertainment/Public Assembly - Number of Workers on Main Shift': 'float',\n+ 'Other - Entertainment/Public Assembly - Weekly Operating Hours': 'float',\n+ 'Other - Entertainment/Public Assembly - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Gross Floor Area (ft2)': 'float',\n+ 'Other - Lodging/Residential - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Lodging/Residential - Gross Floor Area (ft2)': 'float',\n+ 'Other - Lodging/Residential - Number of Computers': 'float',\n+ 'Other - Lodging/Residential - Number of Workers on Main Shift': 'float',\n+ 'Other - Lodging/Residential - Weekly Operating Hours': 'float',\n+ 'Other - Lodging/Residential - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Mall - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Mall - Gross Floor Area (ft2)': 'float',\n+ 'Other - Mall - Number of Computers': 'float',\n+ 'Other - Mall - Number of Workers on Main Shift': 'float',\n+ 'Other - Mall - Weekly Operating Hours': 'float',\n+ 'Other - Mall - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Number of Computers': 'float',\n+ 'Other - Number of Workers on Main Shift': 'float',\n+ 'Other - Public Services - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Public Services - Gross Floor Area (ft2)': 'float',\n+ 'Other - Public Services - Number of Computers': 'float',\n+ 'Other - Public Services - Number of Workers on Main Shift': 'float',\n+ 'Other - Public Services - Weekly Operating Hours': 'float',\n+ 'Other - Public Services - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Recreation - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Recreation - Gross Floor Area (ft2)': 'float',\n+ 'Other - Recreation - Number of Computers': 'float',\n+ 'Other - Recreation - Number of Workers on Main Shift': 'float',\n+ 'Other - Recreation - Weekly Operating Hours': 'float',\n+ 'Other - Recreation - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Restaurant/Bar - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Restaurant/Bar - Gross Floor Area (ft2)': 'float',\n+ 'Other - Restaurant/Bar - Number of Computers': 'float',\n+ 'Other - Restaurant/Bar - Number of Workers on Main Shift': 'float',\n+ 'Other - Restaurant/Bar - Weekly Operating Hours': 'float',\n+ 'Other - Restaurant/Bar - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Services - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Services - Gross Floor Area (ft2)': 'float',\n+ 'Other - Services - Number of Computers': 'float',\n+ 'Other - Services - Number of Workers on Main Shift': 'float',\n+ 'Other - Services - Weekly Operating Hours': 'float',\n+ 'Other - Services - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Specialty Hospital - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Specialty Hospital - Gross Floor Area (ft2)': 'float',\n+ 'Other - Specialty Hospital - Number of Computers': 'float',\n+ 'Other - Specialty Hospital - Number of Workers on Main Shift': 'float',\n+ 'Other - Specialty Hospital - Weekly Operating Hours': 'float',\n+ 'Other - Specialty Hospital - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Stadium - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Stadium - Enclosed Floor Area (ft2)': 'float',\n+ 'Other - Stadium - Gross Floor Area (ft2)': 'float',\n+ 'Other - Stadium - Ice Events': 'float',\n+ 'Other - Stadium - Number of Computers': 'float',\n+ 'Other - Stadium - Number of Concert/Show Events per Year': 'float',\n+ 'Other - Stadium - Number of Special/Other Events per Year': 'float',\n+ 'Other - Stadium - Number of Sporting Events per Year': 'float',\n+ 'Other - Stadium - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Other - Stadium - Percent That Can Be Cooled': 'float',\n+ 'Other - Stadium - Percent That Can Be Heated': 'float',\n+ 'Other - Stadium - Size of Electronic Scoreboards (ft2)': 'float',\n+ 'Other - Stadium - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Technology/Science - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Technology/Science - Gross Floor Area (ft2)': 'float',\n+ 'Other - Technology/Science - Number of Computers': 'float',\n+ 'Other - Technology/Science - Number of Workers on Main Shift': 'float',\n+ 'Other - Technology/Science - Weekly Operating Hours': 'float',\n+ 'Other - Technology/Science - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Utility - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Utility - Gross Floor Area (ft2)': 'float',\n+ 'Other - Utility - Number of Computers': 'float',\n+ 'Other - Utility - Number of Workers on Main Shift': 'float',\n+ 'Other - Utility - Weekly Operating Hours': 'float',\n+ 'Other - Utility - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other - Weekly Operating Hours': 'float',\n+ 'Other - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Other Business Average Weekly Hours': 'float',\n+ 'Other Cost ($)': 'float',\n+ 'Other Derivation Method Estimated': 'string',\n+ 'Other Design Files Gross Floor Area': 'float',\n+ 'Other Financial Incentives': 'string',\n+ 'Other HVAC Type': 'string',\n+ 'Other Occupancy Classification Computer Quantity': 'float',\n+ 'Other Occupancy Classification Gross Floor Area': 'float',\n+ 'Other Occupancy Classification Workers on Main Shift Quantity': 'float',\n+ 'Other Peak Rate': 'string',\n+ 'Other Resource Resource Cost': 'float',\n+ 'Other Resource Resource Value kBtu': 'float',\n+ 'Other Temporary Quality Alert': 'string',\n+ 'Other Use (kBtu)': 'float',\n+ 'Other Water Resource Exterior Resource Cost': 'float',\n+ 'Other Water Resource Exterior Resource Value kgal': 'float',\n+ 'Other Water Resource Interior Exterior and Other Resource Cost': 'float',\n+ 'Other Water Resource Interior Resource Cost': 'float',\n+ 'Other Water Resource Interior Resource Cost Intensity': 'float',\n+ 'Other Water Resource Interior Resource Intensity gallons/ft2': 'float',\n+ 'Other Water Resource Interior Resource Value kgal': 'float',\n+ 'Other Water Resource Water Interior Exterior and OtherLocation Resource Value kgal': 'float',\n+ 'Other Water Sources - Indoor Cost ($)': 'float',\n+ 'Other Water Sources - Indoor Cost Intensity ($/ft2)': 'float',\n+ 'Other Water Sources - Indoor Intensity (gal/ft2)': 'float',\n+ 'Other Water Sources - Indoor Use (kgal)': 'float',\n+ 'Other Water Sources - Outdoor Cost ($)': 'float',\n+ 'Other Water Sources - Outdoor Use (kgal)': 'float',\n+ 'Other Water Sources: Combined Indoor/Outdoor or Other Cost ($)': 'float',\n+ 'Other Water Sources: Combined Indoor/Outdoor or Other Use (kgal)': 'float',\n+ 'Outdoor Water Cost (All Water Sources) ($)': 'float',\n+ 'Outdoor Water Use (All Water Sources) (kgal)': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Gross Floor Area (ft2)': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Number of Computers': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Number of Workers on Main Shift': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Weekly Operating Hours': 'float',\n+ 'Outpatient Rehabilitation/Physical Therapy - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Output Capacity': 'float',\n+ 'Outside Air Reset Maximum Cooling Supply Temperature': 'float',\n+ 'Outside Air Reset Maximum Heating Supply Temperature': 'float',\n+ 'Outside Air Reset Minimum Cooling Supply Temperature': 'float',\n+ 'Outside Air Reset Minimum Heating Supply Temperature': 'float',\n+ 'Outside Air Temperature Lower Limit Cooling Reset Control': 'float',\n+ 'Outside Air Temperature Lower Limit Heating Reset Control': 'float',\n+ 'Outside Air Temperature Upper Limit Cooling Reset Control': 'float',\n+ 'Outside Air Temperature Upper Limit Heating Reset Control': 'float',\n+ 'Outside Lighting Type': 'string',\n+ 'Overhang Height above Window': 'float',\n+ 'Overhang Projection': 'string',\n+ 'Owner City': 'string',\n+ 'Owner Email': 'string',\n+ 'Owner Email Address': 'string',\n+ 'Owner Name': 'string',\n+ 'Owner Phone': '',\n+ 'Owner Postal Code': 'string',\n+ 'Owner State': 'string',\n+ 'Owner Street Address': 'string',\n+ 'Owner Telephone Number': 'string',\n+ 'Ownership': 'string',\n+ 'Ownership Status': 'string',\n+ 'PM Administrator': 'string',\n+ 'PM Profile Status': 'string',\n+ 'PM Sharing Account': 'string',\n+ 'PV Module Length': 'float',\n+ 'PV Module Rated Power': 'float',\n+ 'PV Module Width': 'float',\n+ 'PV System Array Azimuth': 'float',\n+ 'PV System Inverter Efficiency': 'float',\n+ 'PV System Location': 'string',\n+ 'PV System Maximum Power Output': 'float',\n+ 'PV System Number of Arrays': 'float',\n+ 'PV System Number of Modules per Array': 'float',\n+ 'PV System Racking System Tilt Angle Min': 'float',\n+ 'PVc System Racking System Tilt Angle Max': 'float',\n+ 'Package Estimated Cost Savings': 'float',\n+ 'Package Estimated Cost Savings Intensity': 'float',\n+ 'Parasitic Fuel Consumption Rate': 'float',\n+ 'Parent Property Name': 'string',\n+ 'Parking - Completely Enclosed Parking Garage Size (ft2)': 'float',\n+ 'Parking - Gross Floor Area (ft2)': 'float',\n+ 'Parking - Open Parking Lot Size (ft2)': 'float',\n+ 'Parking - Partially Enclosed Parking Garage Size (ft2)': 'float',\n+ 'Parking - Supplemental Heating': 'string',\n+ 'Parking Conditioning Status is Heated': 'string',\n+ 'Parking Design Files Gross Floor Area': 'float',\n+ 'Parking Enclosed Floor Area': 'float',\n+ 'Parking Floor Area': 'float',\n+ 'Parking Non-enclosed Floor Area': 'float',\n+ 'Parking Open Floor Area': 'float',\n+ 'Parking Temporary Quality Alert': 'string',\n+ 'Part Load Ratio Below Which Hot Gas Bypass Operates': 'float',\n+ 'Partial Quality Alert': 'string',\n+ 'Peak Occupancy Percentage': 'float',\n+ 'Percent Better Than Baseline Design Site Energy Use Intensity': 'float',\n+ 'Percent Better than National Median Site EUI': 'float',\n+ 'Percent Better than National Median Source EUI': 'float',\n+ 'Percent Better than National Median Water/Wastewater Site EUI': 'float',\n+ 'Percent Better than National Median Water/Wastewater Source EUI': 'float',\n+ 'Percent Savings in Lighting Power Density': 'float',\n+ 'Percent Skylight Area': 'float',\n+ 'Percent of Electricity that is Green Power': 'float',\n+ 'Percent of RECs Retained': 'float',\n+ 'Percent of Roof Terraces': 'float',\n+ 'Percent of Total Electricity Generated from Onsite Renewable Systems': 'float',\n+ 'Percent of Window Area Shaded': 'float',\n+ 'Percentage of Common Space': 'float',\n+ 'Performing Arts - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Performing Arts - Gross Floor Area (ft2)': 'float',\n+ 'Performing Arts - Number of Computers': 'float',\n+ 'Performing Arts - Number of Workers on Main Shift': 'float',\n+ 'Performing Arts - Weekly Operating Hours': 'float',\n+ 'Performing Arts - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Perimeter': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Gross Floor Area (ft2)': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Number of Computers': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Number of Workers on Main Shift': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Weekly Operating Hours': 'float',\n+ 'Personal Services (Health/Beauty, Dry Cleaning, etc.) - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Pipe Insulation Thickness': 'float',\n+ 'Pipe Location': 'string',\n+ 'Plug Load Equipment is ENERGY STAR Rated': 'string',\n+ 'Plug Load Peak Power': 'float',\n+ 'Plug Load Standby Power': 'float',\n+ 'Plug Load Type': 'string',\n+ 'Plumbing Penetration Sealing': 'string',\n+ 'Point Of Use': 'string',\n+ 'Police Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Police Station - Gross Floor Area (ft2)': 'float',\n+ 'Police Station - Number of Computers': 'float',\n+ 'Police Station - Number of Workers on Main Shift': 'float',\n+ 'Police Station - Weekly Operating Hours': 'float',\n+ 'Police Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Pool Control Type': 'string',\n+ 'Pool Hours Uncovered': 'float',\n+ 'Pool Location': 'string',\n+ 'Pool Pump Duty Cycle': 'string',\n+ 'Pool Size Category': 'string',\n+ 'Pool Surface Area': 'float',\n+ 'Pool Type': 'string',\n+ 'Pool Volume': 'float',\n+ 'Pool Water Temperature': 'float',\n+ 'Pool is Heated': 'string',\n+ 'Portfolio Manager Parent Property ID': 'string',\n+ 'Portfolio Manager Property ID': 'string',\n+ 'Portfolio Manager Property Identifier': 'string',\n+ 'Potable': 'string',\n+ 'Potable Water Savings': 'float',\n+ 'Power Plant': 'string',\n+ 'Power Plant Company Name': 'string',\n+ 'Pre-school/Daycare - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Pre-school/Daycare - Gross Floor Area (ft2)': 'float',\n+ 'Pre-school/Daycare - Number of Computers': 'float',\n+ 'Pre-school/Daycare - Number of Workers on Main Shift': 'float',\n+ 'Pre-school/Daycare - Weekly Operating Hours': 'float',\n+ 'Pre-school/Daycare - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Premises Block Number': 'string',\n+ 'Premises City': 'string',\n+ 'Premises Conditioned Floor Area': 'float',\n+ 'Premises Count': 'float',\n+ 'Premises Country': 'string',\n+ 'Premises County': 'string',\n+ 'Premises Custom ID': 'string',\n+ 'Premises Federal Real Property Identifier': 'float',\n+ 'Premises Gross Floor Area': 'float',\n+ 'Premises Modified Date': 'date',\n+ 'Premises Name': 'string',\n+ 'Premises Name Identifier': 'string',\n+ 'Premises Notes': 'string',\n+ 'Premises Occupancy Classification': 'string',\n+ 'Premises Occupied Floor Area': 'float',\n+ 'Premises Parking Floor Area': 'float',\n+ 'Premises Partial Quality Alert': 'string',\n+ 'Premises Postal Code': 'string',\n+ 'Premises Quality Alert': 'string',\n+ 'Premises State': 'string',\n+ 'Premises Street Address 1': 'string',\n+ 'Premises Street Address 2': 'string',\n+ 'Premises Tax Book Number': 'string',\n+ 'Premises Tax Map Number': 'string',\n+ 'Premises Year Completed': 'date',\n+ 'Premises ZIP Code': 'string',\n+ 'Primary Air Distribution Type': 'string',\n+ 'Primary Contact': 'string',\n+ 'Primary Cooking Fuel': 'string',\n+ 'Primary Cooling Type': 'string',\n+ 'Primary Fan Configuration': 'string',\n+ 'Primary Heating Fuel Type': 'string',\n+ 'Primary Heating Type': 'string',\n+ 'Primary Property Type - EPA Calculated': 'string',\n+ 'Primary Service Hot Water Fuel': 'string',\n+ 'Primary Service Hot Water Location': 'string',\n+ 'Primary Service Hot Water Type': 'string',\n+ 'Primary Zonal Cooling Fuel Type': 'string',\n+ 'Primary Zonal Cooling Type': 'string',\n+ 'Primary Zonal Heating Type': 'string',\n+ 'Prison/Incarceration - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Prison/Incarceration - Gross Floor Area (ft2)': 'float',\n+ 'Prison/Incarceration - Number of Computers': 'float',\n+ 'Prison/Incarceration - Number of Workers on Main Shift': 'float',\n+ 'Prison/Incarceration - Weekly Operating Hours': 'float',\n+ 'Prison/Incarceration - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Process Load Duty Cycle': 'string',\n+ 'Process Load Heat Gain Fraction': 'float',\n+ 'Process Load Installed Power': 'float',\n+ 'Process Load Type': 'string',\n+ 'Propane Cost ($)': 'float',\n+ 'Propane Derivation Method Estimated': 'string',\n+ 'Propane Resource Cost': 'float',\n+ 'Propane Resource Value kBtu': 'float',\n+ 'Propane Use (kBtu)': 'float',\n+ 'Property Data Administrator': 'string',\n+ 'Property Data Administrator - Email': 'string',\n+ 'Property Floor Area (Buildings and Parking) (ft2)': 'float',\n+ 'Property Floor Area (Parking) (ft2)': 'float',\n+ 'Property Management Company': 'string',\n+ 'Property Use Detail Alerts': 'string',\n+ 'Public Assembly Business Average Weekly Hours': 'float',\n+ 'Public Assembly Computer Quantity': 'float',\n+ 'Public Assembly Design Files Gross Floor Area': 'float',\n+ 'Public Assembly Gross Floor Area': 'float',\n+ 'Public Assembly Temporary Quality Alert': 'string',\n+ 'Public Assembly Workers on Main Shift Quantity': 'float',\n+ 'Public Safety Station Business Average Weekly Hours': 'float',\n+ 'Public Safety Station Computer Quantity': 'float',\n+ 'Public Safety Station Design Files Gross Floor Area': 'float',\n+ 'Public Safety Station Gross Floor Area': 'float',\n+ 'Public Safety Station Temporary Quality Alert': 'string',\n+ 'Public Safety Station Workers on Main Shift Quantity': 'float',\n+ 'Public Safety-Correctional Facility Business Average Weekly Hours': 'float',\n+ 'Public Safety-Correctional Facility Computer Quantity': 'float',\n+ 'Public Safety-Correctional Facility Gross Floor Area': 'float',\n+ 'Public Safety-Correctional Facility Workers on Main Shift Quantity': 'float',\n+ 'Public safety-Correctional Facility Design Files Gross Floor Area': 'float',\n+ 'Public safety-Correctional Facility Temporary Quality Alert': 'string',\n+ 'Publicly Subsidized': 'string',\n+ 'Pump Application': 'string',\n+ 'Pump Control Type': 'string',\n+ 'Pump Efficiency': 'float',\n+ 'Pump Installed Flow Rate': 'float',\n+ 'Pump Maximum Flow Rate': 'float',\n+ 'Pump Minimum Flow Rate': 'float',\n+ 'Pump Operation': 'string',\n+ 'Pump Power Demand': 'float',\n+ 'Pumping Configuration': 'string',\n+ 'Quality Alert Measured Date': 'date',\n+ 'Quality Alert Tested': 'date',\n+ 'Quality Alert-Energy Alerts': 'string',\n+ 'Quality Alert-Space Alert': 'string',\n+ 'Quantity': 'float',\n+ 'Quantity of Processed Laundry': 'float',\n+ 'REALPac Energy Benchmarking Program Building Name': 'string',\n+ 'Race Track - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Race Track - Gross Floor Area (ft2)': 'float',\n+ 'Race Track - Number of Computers': 'float',\n+ 'Race Track - Number of Workers on Main Shift': 'float',\n+ 'Race Track - Weekly Operating Hours': 'float',\n+ 'Race Track - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Radiant Barrier': 'string',\n+ 'Rate Structure Effective Date': 'date',\n+ 'Rate Structure End Date': 'date',\n+ 'Rate Structure Sector': 'string',\n+ 'Rated Cooling Sensible Heat Ratio': 'float',\n+ 'Rated Heat Pump Sensible Heat Ratio': 'float',\n+ 'Rated Lamp Life': 'float',\n+ 'Reactive Power Charge': 'float',\n+ 'Receive Date': 'date',\n+ 'Recirculation': 'string',\n+ 'Recirculation Control Type': 'string',\n+ 'Recirculation Energy Loss Rate': 'float',\n+ 'Recirculation Flow Rate': 'float',\n+ 'Recirculation Loop Count': 'float',\n+ 'Recommended Measure': 'string',\n+ 'Recover Efficiency': 'float',\n+ 'Recreation Business Average Weekly Hours': 'float',\n+ 'Recreation Computer Quantity': 'float',\n+ 'Recreation Design Files Gross Floor Area': 'float',\n+ 'Recreation Gross Floor Area': 'float',\n+ 'Recreation Temporary Quality Alert': 'string',\n+ 'Recreation Workers on Main Shift Quantity': 'float',\n+ 'Recreation-Fitness Center Business Average Weekly Hours': 'float',\n+ 'Recreation-Fitness Center Computer Quantity': 'float',\n+ 'Recreation-Fitness Center Design Files Gross Floor Area': 'float',\n+ 'Recreation-Fitness Center Gross Floor Area': 'float',\n+ 'Recreation-Fitness Center Temporary Quality Alert': 'string',\n+ 'Recreation-Fitness Center Workers on Main Shift Quantity': 'float',\n+ 'Recreation-Ice Rink Business Average Weekly Hours': 'float',\n+ 'Recreation-Ice Rink Computer Quantity': 'float',\n+ 'Recreation-Ice Rink Design Files Gross Floor Area': 'float',\n+ 'Recreation-Ice Rink Gross Floor Area': 'float',\n+ 'Recreation-Ice Rink Temporary Quality Alert': 'string',\n+ 'Recreation-Ice Rink Workers on Main Shift Quantity': 'float',\n+ 'Recreation-Indoor Sport Business Average Weekly Hours': 'float',\n+ 'Recreation-Indoor Sport Computer Quantity': 'float',\n+ 'Recreation-Indoor Sport Design Files Gross Floor Area': 'float',\n+ 'Recreation-Indoor Sport Gross Floor Area': 'float',\n+ 'Recreation-Indoor Sport Temporary Quality Alert': 'string',\n+ 'Recreation-Indoor Sport Workers on Main Shift Quantity': 'float',\n+ 'Recreation-Pool Design Files Gross Floor Area': 'float',\n+ 'Recreation-Pool Temporary Quality Alert': 'string',\n+ 'Reference Case': 'string',\n+ 'Reference For Rate Structure': 'string',\n+ 'Refrigerant Charge Factor': 'float',\n+ 'Refrigerant Return Line Diameter': 'float',\n+ 'Refrigerant Subcooler': 'string',\n+ 'Refrigerated Case Doors': 'string',\n+ 'Refrigerated Warehouse - Gross Floor Area (ft2)': 'float',\n+ 'Refrigerated Warehouse - Number of Workers on Main Shift': 'float',\n+ 'Refrigerated Warehouse - Weekly Operating Hours': 'float',\n+ 'Refrigerated Warehouse - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Refrigeration Compressor Type': 'string',\n+ 'Refrigeration Energy': 'float',\n+ 'Refrigeration Unit Size': 'float',\n+ 'Refrigeration Unit Type': 'string',\n+ 'Refrigeration Unit is ENERGY STAR Rated': 'string',\n+ 'Refrigeration Unit is Third Party Certified': 'string',\n+ 'Regional Average EUI': 'string',\n+ 'Reheat Control Strategy': 'string',\n+ 'Renewable Electricity Generated Onsite Percent of Total': 'float',\n+ 'Renewable Electricity Percent of Total': 'float',\n+ 'Renewable Energy Credits (RECs) Retained': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Gross Floor Area (ft2)': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Number of Computers': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Number of Workers on Main Shift': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Weekly Operating Hours': 'float',\n+ 'Repair Services (Vehicle, Shoe, Locksmith, etc.) - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Repair Services Business Average Weekly Hours': 'float',\n+ 'Repair Services Computer Quantity': 'float',\n+ 'Repair Services Gross Floor Area': 'float',\n+ 'Repair Services Temporary Quality Alert': 'string',\n+ 'Repair Services Workers on Main Shift Quantity': 'float',\n+ 'Replaced/modified/removed system identifier': 'string',\n+ 'Required Ventilation Rate': 'float',\n+ 'Residence Hall/ Dormitory - Computer Lab': 'string',\n+ 'Residence Hall/ Dormitory - Dining Hall': 'string',\n+ 'Residence Hall/Dormitory - Gross Floor Area (ft2)': 'float',\n+ 'Residence Hall/Dormitory - Number of Rooms': 'float',\n+ 'Residence Hall/Dormitory - Percent That Can Be Cooled': 'float',\n+ 'Residence Hall/Dormitory - Percent That Can Be Heated': 'float',\n+ 'Residence Hall/Dormitory - Room Density (Number per 1,000 ft2)': 'float',\n+ 'Residual Value': 'string',\n+ 'Resource': 'string',\n+ 'Resource Generated On Site': 'float',\n+ 'Resource Units': 'string',\n+ 'Restaurant - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Restaurant - Gross Floor Area (ft2)': 'float',\n+ 'Restaurant - Number of Computers': 'float',\n+ 'Restaurant - Number of Workers on Main Shift': 'float',\n+ 'Restaurant - Weekly Operating Hours': 'float',\n+ 'Restaurant - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Retail Store - Cash Register Density (Number per 1,000 ft2)': 'float',\n+ 'Retail Store - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Retail Store - Exterior Entrance to the Public': 'string',\n+ 'Retail Store - Gross Floor Area (ft2)': 'float',\n+ 'Retail Store - Number of Cash Registers': 'float',\n+ 'Retail Store - Number of Computers': 'float',\n+ 'Retail Store - Number of Open or Closed Refrigeration/Freezer Units': 'float',\n+ 'Retail Store - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Retail Store - Number of Workers on Main Shift': 'float',\n+ 'Retail Store - Open or Closed Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Retail Store - Percent That Can Be Cooled': 'float',\n+ 'Retail Store - Percent That Can Be Heated': 'float',\n+ 'Retail Store - Single Store': 'string',\n+ 'Retail Store - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Retail Store - Weekly Operating Hours': 'float',\n+ 'Retail Store - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Retail-Dry Goods Retail Business Average Weekly Hours': 'float',\n+ 'Retail-Dry Goods Retail Case Refrigeration Length': 'float',\n+ 'Retail-Dry Goods Retail Cash Register Quantity': 'float',\n+ 'Retail-Dry Goods Retail Commercial Refrigeration Case Quantity': 'float',\n+ 'Retail-Dry Goods Retail Computer Quantity': 'float',\n+ 'Retail-Dry Goods Retail Cooled Percentage of Total Area': 'string',\n+ 'Retail-Dry Goods Retail Derivation Method Default': 'string',\n+ 'Retail-Dry Goods Retail Design Files Gross Floor Area': 'float',\n+ 'Retail-Dry Goods Retail Gross Floor Area': 'float',\n+ 'Retail-Dry Goods Retail Heated Percentage of Total Area': 'string',\n+ 'Retail-Dry Goods Retail Public Entrance Location is Exterior': 'string',\n+ 'Retail-Dry Goods Retail Temporary Quality Alert': 'string',\n+ 'Retail-Dry Goods Retail Walk-In Refrigeration Area': 'float',\n+ 'Retail-Dry Goods Retail Walk-in Refrigeration Quantity': 'float',\n+ 'Retail-Dry Goods Retail Workers on Main Shift Quantity': 'float',\n+ 'Retail-Dry Goods Retail has Kitchen': 'string',\n+ 'Retail-Enclosed Mall Business Average Weekly Hours': 'float',\n+ 'Retail-Enclosed Mall Computer Quantity': 'float',\n+ 'Retail-Enclosed Mall Design Files Gross Floor Area': 'float',\n+ 'Retail-Enclosed Mall Gross Floor Area': 'float',\n+ 'Retail-Enclosed Mall Temporary Quality Alert': 'string',\n+ 'Retail-Enclosed Mall Workers on Main Shift Quantity': 'float',\n+ 'Retail-Hypermarket Business Average Weekly Hours': 'float',\n+ 'Retail-Hypermarket Case Refrigeration Length': '',\n+ 'Retail-Hypermarket Cash Register Quantity': 'float',\n+ 'Retail-Hypermarket Commercial Refrigeration Case Quantity': 'float',\n+ 'Retail-Hypermarket Computer Quantity': 'float',\n+ 'Retail-Hypermarket Cooled Percentage of Total Area': 'string',\n+ 'Retail-Hypermarket Derivation Method Default': 'string',\n+ 'Retail-Hypermarket Design Files Gross Floor Area': 'float',\n+ 'Retail-Hypermarket Gross Floor Area': 'float',\n+ 'Retail-Hypermarket Heated Percentage of Total Area': 'string',\n+ 'Retail-Hypermarket Public Entrance Location is Exterior': 'string',\n+ 'Retail-Hypermarket Temporary Quality Alert': 'string',\n+ 'Retail-Hypermarket Walk-In Refrigeration Area': '',\n+ 'Retail-Hypermarket Walk-in Refrigeration Quantity': 'float',\n+ 'Retail-Hypermarket Workers on Main Shift Quantity': 'float',\n+ 'Retail-Hypermarket has Kitchen': '',\n+ 'Retail-Mall Business Average Weekly Hours': 'float',\n+ 'Retail-Mall Computer Quantity': 'float',\n+ 'Retail-Mall Design Files Gross Floor Area': 'float',\n+ 'Retail-Mall Gross Floor Area': 'float',\n+ 'Retail-Mall Temporary Quality Alert': 'string',\n+ 'Retail-Mall Workers on Main Shift Quantity': 'float',\n+ 'Retail-Strip Mall Business Average Weekly Hours': 'float',\n+ 'Retail-Strip Mall Computer Quantity': 'float',\n+ 'Retail-Strip Mall Design Files Gross Floor Area': 'float',\n+ 'Retail-Strip Mall Gross Floor Area': 'float',\n+ 'Retail-Strip Mall Temporary Quality Alert': 'string',\n+ 'Retail-Strip Mall Workers on Main Shift Quantity': 'float',\n+ 'Retro-commissioning Date': 'date',\n+ 'Return Duct Percent Conditioned Space': 'float',\n+ 'Roller Rink - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Roller Rink - Gross Floor Area (ft2)': 'float',\n+ 'Roller Rink - Number of Computers': 'float',\n+ 'Roller Rink - Number of Workers on Main Shift': 'float',\n+ 'Roller Rink - Weekly Operating Hours': 'float',\n+ 'Roller Rink - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Roof Area': 'float',\n+ 'Roof Color': 'string',\n+ 'Roof Exterior Solar Absorptance': 'float',\n+ 'Roof Exterior Thermal Absorptance': 'float',\n+ 'Roof Framing Configuration': 'string',\n+ 'Roof Framing Depth': 'float',\n+ 'Roof Framing Factor': 'float',\n+ 'Roof Framing Material': 'string',\n+ 'Roof Insulated Area': 'float',\n+ 'Roof Insulation Condition': 'string',\n+ 'Roof Insulation Continuity': 'string',\n+ 'Roof Insulation Material': 'string',\n+ 'Roof Insulation Thickness': 'float',\n+ 'Roof Insulation Type': 'string',\n+ 'Roof R-Value': 'float',\n+ 'Roof Slope': 'float',\n+ 'Roof Type': 'string',\n+ 'Room Density': 'float',\n+ 'SHW Control Type': 'string',\n+ 'SHW Efficiency': 'float',\n+ 'SHW Setpoint Temp': 'float',\n+ 'SHW Year installed': 'date',\n+ 'SHW is ENERGY STAR Rated': 'string',\n+ 'SHW is FEMP Designated Product': 'string',\n+ 'Scenario Name': 'string',\n+ 'Scenario Qualifier': 'string',\n+ 'Scenario Type': 'string',\n+ 'Schedule Begin Month': 'float',\n+ 'Schedule Day': 'float',\n+ 'Schedule End Month': 'float',\n+ 'Schedule Type': 'float',\n+ 'Scope': 'string',\n+ 'Self-Storage Facility - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Self-Storage Facility - Gross Floor Area (ft2)': 'float',\n+ 'Self-Storage Facility - Number of Computers': 'float',\n+ 'Self-Storage Facility - Number of Workers on Main Shift': 'float',\n+ 'Self-Storage Facility - Weekly Operating Hours': 'float',\n+ 'Self-Storage Facility - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Average Number of Residents': 'float',\n+ 'Senior Care Community - Commercial Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Commercial Washing Machine Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Electronic Lift Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Gross Floor Area (ft2)': 'float',\n+ 'Senior Care Community - Living Unit Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Maximum Resident Capacity': 'float',\n+ 'Senior Care Community - Number of Commercial Refrigeration/ Freezer Units': 'float',\n+ 'Senior Care Community - Number of Commercial Washing Machines': 'float',\n+ 'Senior Care Community - Number of Computers': 'float',\n+ 'Senior Care Community - Number of Residential Electronic Lift Systems': 'float',\n+ 'Senior Care Community - Number of Residential Living Units': 'float',\n+ 'Senior Care Community - Number of Residential Washing Machines': 'float',\n+ 'Senior Care Community - Number of Workers on Main Shift': 'float',\n+ 'Senior Care Community - Percent That Can Be Cooled': 'float',\n+ 'Senior Care Community - Percent That Can Be Heated': 'float',\n+ 'Senior Care Community - Resident Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Residential Washing Machine Density (Number per 1,000 ft2)': 'float',\n+ 'Senior Care Community - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Sequencing': 'string',\n+ 'Serves Multiple Buildings': 'string',\n+ 'Service Business Average Weekly Hours': 'float',\n+ 'Service Computer Quantity': 'float',\n+ 'Service Design Files Gross Floor Area': 'float',\n+ 'Service Gross Floor Area': 'float',\n+ 'Service Temporary Quality Alert': 'string',\n+ 'Service Workers on Main Shift Quantity': 'float',\n+ 'Service and Product Provider': 'string',\n+ 'Service and Product Provider Company Name': 'string',\n+ 'Service-Postal Business Average Weekly Hours': 'float',\n+ 'Service-Postal Computer Quantity': 'float',\n+ 'Service-Postal Design Files Gross Floor Area': 'float',\n+ 'Service-Postal Gross Floor Area': 'float',\n+ 'Service-Postal Temporary Quality Alert': 'string',\n+ 'Service-Postal Workers on Main Shift Quantity': 'float',\n+ 'Service-Repair Design Files Gross Floor Area': 'float',\n+ 'Setpoint temperature cooling': 'float',\n+ 'Setup temperature cooling': 'float',\n+ 'Shared Resource System': 'string',\n+ 'Simple Payback': 'float',\n+ 'Single Family Bedrooms Quantity': 'float',\n+ 'Single Family Design Files Gross Floor Area': 'float',\n+ 'Single Family Gross Floor Area': 'float',\n+ 'Single Family Home - Bedroom Density (Number per 1,000 ft2)': 'float',\n+ 'Single Family Home - Density of People (Number per 1,000 ft2)': 'float',\n+ 'Single Family Home - Gross Floor Area (ft2)': 'float',\n+ 'Single Family Home - Number of Bedrooms': 'float',\n+ 'Single Family Home - Number of People': 'float',\n+ 'Single Family Temporary Quality Alert': 'string',\n+ 'Single family Peak Total Occupants Quantity': 'float',\n+ 'Site Address Line 1': 'string',\n+ 'Site Address Line 2': 'string',\n+ 'Site EUI - Adjusted to Current Year (kBtu/ft2)': 'float',\n+ 'Site Energy Adjusted for Specific Year Current Resource Intensity kBtu/ft2': 'float',\n+ 'Site Energy Adjusted for Specific Year Current Resource Value kBtu': 'float',\n+ 'Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Site Energy Resource Value kBtu': 'float',\n+ 'Site Energy Use': 'float',\n+ 'Site Energy Use (kBtu)': 'float',\n+ 'Site Energy Use - Adjusted to Current Year (kBtu)': 'float',\n+ 'Site Energy Use Intensity': 'float',\n+ 'Site Use Description': 'string',\n+ 'Skylight Glazing': 'string',\n+ 'Skylight Layout': 'string',\n+ 'Skylight Operability': 'string',\n+ 'Skylight Pitch': 'float',\n+ 'Skylight Solar tube': 'string',\n+ 'Skylight Type': 'string',\n+ 'Skylight Window Treatments': 'string',\n+ 'Skylight to Roof Ratio': 'float',\n+ 'Skylights Visible Transmittance': 'float',\n+ 'Slab Exposed Perimeter': 'float',\n+ 'Slab Insulation Condition': 'string',\n+ 'Slab Insulation Orientation': 'float',\n+ 'Slab Insulation Thickness': 'float',\n+ 'Slab Perimeter': 'float',\n+ 'Social/Meeting Hall - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Social/Meeting Hall - Gross Floor Area (ft2)': 'float',\n+ 'Social/Meeting Hall - Number of Computers': 'float',\n+ 'Social/Meeting Hall - Number of Workers on Main Shift': 'float',\n+ 'Social/Meeting Hall - Weekly Operating Hours': 'float',\n+ 'Social/Meeting Hall - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Software program used': 'string',\n+ 'Software program version': 'string',\n+ 'Solar Heat Gain Coefficient SHGC (SHGC)': 'float',\n+ 'Solar Hot Water Present': 'string',\n+ 'Solar Thermal System Collector Area': 'float',\n+ 'Solar Thermal System Collector Azimuth': 'float',\n+ 'Solar Thermal System Collector Loop Type': 'string',\n+ 'Solar Thermal System Collector Tilt': 'float',\n+ 'Solar Thermal System Collector Type': 'string',\n+ 'Solar Thermal System Storage Volume': 'float',\n+ 'Solar Thermal System Type': 'string',\n+ 'Source EUI (kBtu/ft2)': 'float',\n+ 'Source EUI - Adjusted to Current Year (kBtu/ft2)': 'float',\n+ 'Source Energy Adjusted for Specific Year Current Resource Intensity kBtu/ft2': 'float',\n+ 'Source Energy Adjusted for Specific Year Current Resource Value kBtu': 'float',\n+ 'Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Source Energy Resource Value kBtu': 'float',\n+ 'Source Energy Use': 'string',\n+ 'Source Energy Use (kBtu)': 'float',\n+ 'Source Energy Use - Adjusted to Current Year (kBtu)': 'float',\n+ 'Source Energy Use Intensity': 'float',\n+ 'Source Site Ratio': 'float',\n+ 'Space Floors Above Grade': 'float',\n+ 'Space Floors Below Grade': 'float',\n+ 'Space Name': 'string',\n+ 'Space Number Main Shift Workers': 'float',\n+ 'Space Number of FTE Workers': 'float',\n+ 'Space Occupant Capacity': 'float',\n+ 'Space Peak Number of Occupants': 'float',\n+ 'Space Use Description': 'string',\n+ 'Specular Reflectors': 'string',\n+ 'Split Condenser': 'string',\n+ 'Stadium (Closed) - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Stadium (Closed) - Enclosed Floor Area (ft2)': 'float',\n+ 'Stadium (Closed) - Gross Floor Area (ft2)': 'float',\n+ 'Stadium (Closed) - Ice Events': 'float',\n+ 'Stadium (Closed) - Number of Computers': 'float',\n+ 'Stadium (Closed) - Number of Concert/Show Events per Year': 'float',\n+ 'Stadium (Closed) - Number of Special/Other Events per Year': 'float',\n+ 'Stadium (Closed) - Number of Sporting Events per Year': 'float',\n+ 'Stadium (Closed) - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Stadium (Closed) - Percent That Can Be Cooled': 'float',\n+ 'Stadium (Closed) - Percent That Can Be Heated': 'float',\n+ 'Stadium (Closed) - Size of Electronic Scoreboards (ft2)': 'float',\n+ 'Stadium (Closed) - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Stadium (Open) - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Stadium (Open) - Enclosed Floor Area (ft2)': 'float',\n+ 'Stadium (Open) - Gross Floor Area (ft2)': 'float',\n+ 'Stadium (Open) - Ice Events': 'float',\n+ 'Stadium (Open) - Number of Computers': 'float',\n+ 'Stadium (Open) - Number of Concert/Show Events per Year': 'float',\n+ 'Stadium (Open) - Number of Special/Other Events per Year': 'float',\n+ 'Stadium (Open) - Number of Sporting Events per Year': 'float',\n+ 'Stadium (Open) - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Stadium (Open) - Percent That Can Be Cooled': 'float',\n+ 'Stadium (Open) - Percent That Can Be Heated': 'float',\n+ 'Stadium (Open) - Size of Electronic Scoreboards (ft2)': 'float',\n+ 'Stadium (Open) - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Static Pressure': 'float',\n+ 'Static Pressure - Installed': 'float',\n+ 'Static Pressure Reset Control': 'string',\n+ 'Steam Boiler Maximum Operating Pressure': 'float',\n+ 'Steam Boiler Minimum Operating Pressure': 'float',\n+ 'Storage Tank Insulation R-Value': 'float',\n+ 'Storage Tank Insulation Thickness': 'float',\n+ 'Strip Mall - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Strip Mall - Gross Floor Area (ft2)': 'float',\n+ 'Strip Mall - Number of Computers': 'float',\n+ 'Strip Mall - Number of Workers on Main Shift': 'float',\n+ 'Strip Mall - Weekly Operating Hours': 'float',\n+ 'Strip Mall - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Student Community Lodging-Institutional Cooled Percentage of Total Area': 'string',\n+ 'Student Community Lodging-Institutional Derivation Method Default': 'string',\n+ 'Student Community Lodging-Institutional Design Files Gross Floor Area': 'float',\n+ 'Student Community Lodging-Institutional Gross Floor Area': 'float',\n+ 'Student Community Lodging-Institutional Guest Rooms Quantity': 'float',\n+ 'Student Community Lodging-Institutional Heated Percentage of Total Area': 'string',\n+ 'Student Community Lodging-Institutional Temporary Quality Alert': 'string',\n+ 'Student Community Lodging-Institutional has Computer Lab': 'string',\n+ 'Student Community Lodging-Institutional has Food Service-Institutional': 'string',\n+ 'Sub-component Commercial Kitchen': 'string',\n+ 'Sub-component Recreation-Fitness Center Gross Floor Area': 'float',\n+ 'Suction Vapor Temperature': 'float',\n+ 'Summer Peak': 'float',\n+ 'Summer Peak Electricity Reduction': 'float',\n+ 'Supermarket/Grocery - Cash Register Density (Number per 1,000 ft2)': 'float',\n+ 'Supermarket/Grocery - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Supermarket/Grocery - Cooking Facilities': 'string',\n+ 'Supermarket/Grocery - Gross Floor Area (ft2)': 'float',\n+ 'Supermarket/Grocery - Number of Cash Registers': 'float',\n+ 'Supermarket/Grocery - Number of Computers': 'float',\n+ 'Supermarket/Grocery - Number of Open or Closed Refrigeration/Freezer Units': 'float',\n+ 'Supermarket/Grocery - Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Supermarket/Grocery - Number of Workers on Main Shift': 'float',\n+ 'Supermarket/Grocery - Open or Closed Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Supermarket/Grocery - Percent That Can Be Cooled': 'float',\n+ 'Supermarket/Grocery - Percent That Can Be Heated': 'float',\n+ 'Supermarket/Grocery - Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Supermarket/Grocery - Weekly Operating Hours': 'float',\n+ 'Supermarket/Grocery - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Supply Air Control Strategy': 'string',\n+ 'Supply Air Temp Reset Control': 'string',\n+ 'Supply Air Temperature Setpoint': 'float',\n+ 'Supply Duct Percent Conditioned Space': 'float',\n+ 'Supply Fraction of Duct Leakage': 'float',\n+ 'Swimming Pool - Approximate Pool Size': 'float',\n+ 'Swimming Pool - Location of Pool': 'string',\n+ 'Swimming Pool - Months in Use': 'float',\n+ 'Tank Heating Type': 'string',\n+ 'Tank Height': 'float',\n+ 'Tank Perimeter': 'float',\n+ 'Tank Volume': 'float',\n+ 'Target % Better Than Median Source EUI': 'float',\n+ 'Target ENERGY STAR Score': 'float',\n+ 'Target ENERGY STAR Score Assessment Metric Value': 'float',\n+ 'Target Emissions Intensity kgCO2e/ft2': 'float',\n+ 'Target Emissions Value MtCO2e': 'float',\n+ 'Target Energy Cost ($)': 'float',\n+ 'Target Energy Resource Cost': 'float',\n+ 'Target Finder Baseline': 'float',\n+ 'Target Finder EUI': 'float',\n+ 'Target National Median Source Energy Percent Improvement': 'float',\n+ 'Target Site EUI (kBtu/ft2)': 'float',\n+ 'Target Site Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Target Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Target Site Energy Resource Value kBtu': 'float',\n+ 'Target Site Energy Use (kBtu)': 'float',\n+ 'Target Source EUI (kBtu/ft2)': 'float',\n+ 'Target Source Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Target Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Target Source Energy Resource Value kBtu': 'float',\n+ 'Target Source Energy Use (kBtu)': 'float',\n+ 'Target Total GHG Emissions (MtCO2e)': 'float',\n+ 'Target Total GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Target Water/Wastewater Site EUI (kBtu/gpd)': 'float',\n+ 'Target Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Technology Category': 'string',\n+ 'Temporary Quality Alert': 'string',\n+ 'Terrace R-Value': 'float',\n+ 'Thermal Efficiency': 'float',\n+ 'Third Party Certification Date Achieved': 'date',\n+ 'Third Party Certification Date Anticipated': 'date',\n+ 'Third party certification': 'string',\n+ 'Tightness': 'string',\n+ 'Tightness/Fit Condition': 'string',\n+ 'Total GHG Emissions (MtCO2e)': 'float',\n+ 'Total GHG Emissions Intensity (kgCO2e/ft2)': 'float',\n+ 'Total Heat Rejection': 'float',\n+ 'Total Package Cost': 'float',\n+ 'Total Package Cost Intensity': 'float',\n+ 'Total Water Cost (All Water Sources) ($)': 'float',\n+ 'Transformer Nameplate Efficiency': 'float',\n+ 'Transformer Rated Power': 'float',\n+ 'Transportation Terminal Business Average Weekly Hours': 'float',\n+ 'Transportation Terminal Computer Quantity': 'float',\n+ 'Transportation Terminal Design Files Gross Floor Area': 'float',\n+ 'Transportation Terminal Gross Floor Area': 'float',\n+ 'Transportation Terminal Temporary Quality Alert': 'string',\n+ 'Transportation Terminal Workers on Main Shift Quantity': 'float',\n+ 'Transportation Terminal/Station - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Transportation Terminal/Station - Gross Floor Area (ft2)': 'float',\n+ 'Transportation Terminal/Station - Number of Computers': 'float',\n+ 'Transportation Terminal/Station - Number of Workers on Main Shift': 'float',\n+ 'Transportation Terminal/Station - Weekly Operating Hours': 'float',\n+ 'Transportation Terminal/Station - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Type of Cooking Equipment': 'string',\n+ 'Type of Measure': 'string',\n+ 'Type of Rate Structure': 'string',\n+ 'Type of resource meter': 'string',\n+ 'Typical Exterior Shading Depth': 'float',\n+ 'Typical Exterior Shading Type': 'string',\n+ 'Typical Exterior Wall Type': 'string',\n+ 'Typical Floor R-Value': 'float',\n+ 'Typical Ground Coupling Type': 'string',\n+ 'Typical Skylight Area': 'float',\n+ 'Typical Skylight Frame Type': 'string',\n+ 'Typical Skylight Frames R-Value': 'float',\n+ 'Typical Skylight U-Value': 'float',\n+ 'Typical Skylights SHGC': 'float',\n+ 'Typical Wall R-Value': 'float',\n+ 'Typical Window Area': 'float',\n+ 'Typical Window Frame': 'string',\n+ 'Typical Window Frame R-Value': 'float',\n+ 'Typical Window SHGC': 'float',\n+ 'Typical Window Sill Height': 'float',\n+ 'Typical Window Type': 'string',\n+ 'Typical Window U-Value': 'float',\n+ 'Typical Window Visual Transmittance': 'float',\n+ 'Typical Window to Wall Ratio': 'float',\n+ 'U.S. Federal Campus': 'string',\n+ 'US Agency Designated Covered Facility ID': 'string',\n+ 'US EPA Emissions Factor kgCO2e/MMBtu': 'float',\n+ 'US Federal Real Property Unique Identifier': 'string',\n+ 'Urgent Care/Clinic/Other Outpatient - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Urgent Care/Clinic/Other Outpatient - Gross Floor Area (ft2)': 'float',\n+ 'Urgent Care/Clinic/Other Outpatient - Number of Computers': 'float',\n+ 'Urgent Care/Clinic/Other Outpatient - Number of Workers on Main Shift': 'float',\n+ 'Urgent Care/Clinic/Other Outpatient - Weekly Operating Hours': 'float',\n+ 'Urgent Care/Clinic/Other Outpatient - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Utility Account Number': 'string',\n+ 'Utility Billpayer': 'string',\n+ 'Utility Business Average Weekly Hours': 'float',\n+ 'Utility Computer Quantity': 'float',\n+ 'Utility Design Files Gross Floor Area': 'float',\n+ 'Utility Gross Floor Area': 'float',\n+ 'Utility Meter Number': 'string',\n+ 'Utility Name': 'string',\n+ 'Utility Temporary Quality Alert': 'string',\n+ 'Utility Workers on Main Shift Quantity': 'float',\n+ 'Ventilation Control Method': 'string',\n+ 'Ventilation Rate': 'float',\n+ 'Ventilation Type': 'string',\n+ 'Ventilation Zone Control': 'string',\n+ 'Vertical Abutments': 'string',\n+ 'Vertical Edge Fin Only': 'string',\n+ 'Vertical Fin Depth': 'float',\n+ 'Vestibule': 'string',\n+ 'Veterinary Office - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Veterinary Office - Gross Floor Area (ft2)': 'float',\n+ 'Veterinary Office - Number of Computers': 'float',\n+ 'Veterinary Office - Number of Workers on Main Shift': 'float',\n+ 'Veterinary Office - Weekly Operating Hours': 'float',\n+ 'Veterinary Office - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Visible Transmittance': 'float',\n+ 'Vivarium Business Average Weekly Hours': 'float',\n+ 'Vivarium Computer Quantity': 'float',\n+ 'Vivarium Design Files Gross Floor Area': 'float',\n+ 'Vivarium Gross Floor Area': 'float',\n+ 'Vivarium Temporary Quality Alert': 'string',\n+ 'Vivarium Workers on Main Shift Quantity': 'float',\n+ 'Vocational School - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Vocational School - Gross Floor Area (ft2)': 'float',\n+ 'Vocational School - Number of Computers': 'float',\n+ 'Vocational School - Number of Workers on Main Shift': 'float',\n+ 'Vocational School - Weekly Operating Hours': 'float',\n+ 'Vocational School - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Wall Area': 'float',\n+ 'Wall Exterior Solar Absorptance': 'float',\n+ 'Wall Exterior Thermal Absorptance': 'float',\n+ 'Wall Framing Configuration': 'string',\n+ 'Wall Framing Depth': 'float',\n+ 'Wall Framing Factor': 'float',\n+ 'Wall Framing Material': 'string',\n+ 'Wall Insulation Condition': 'string',\n+ 'Wall Insulation Continuity': 'string',\n+ 'Wall Insulation Location': 'string',\n+ 'Wall Insulation Material': 'string',\n+ 'Wall Insulation Thickness': 'float',\n+ 'Wall Insulation Type': 'string',\n+ 'Wall R-Value': 'float',\n+ 'Warehouse-Refrigerated Business Average Weekly Hours': 'float',\n+ 'Warehouse-Refrigerated Derivation Method Default': 'string',\n+ 'Warehouse-Refrigerated Design Files Gross Floor Area': 'float',\n+ 'Warehouse-Refrigerated Gross Floor Area': 'float',\n+ 'Warehouse-Refrigerated Temporary Quality Alert': 'string',\n+ 'Warehouse-Refrigerated Workers on Main Shift Quantity': 'float',\n+ 'Warehouse-Self-storage Business Average Weekly Hours': 'float',\n+ 'Warehouse-Self-storage Computer Quantity': 'float',\n+ 'Warehouse-Self-storage Design Files Gross Floor Area': 'float',\n+ 'Warehouse-Self-storage Gross Floor Area': 'float',\n+ 'Warehouse-Self-storage Temporary Quality Alert': 'string',\n+ 'Warehouse-Self-storage Workers on Main Shift Quantity': 'float',\n+ 'Warehouse-Unrefrigerated Business Average Weekly Hours': 'float',\n+ 'Warehouse-Unrefrigerated Cooled Percentage of Total Area': 'float',\n+ 'Warehouse-Unrefrigerated Derivation Method Default': 'string',\n+ 'Warehouse-Unrefrigerated Design Files Gross Floor Area': 'float',\n+ 'Warehouse-Unrefrigerated Gross Floor Area': 'float',\n+ 'Warehouse-Unrefrigerated Heated Percentage of Total Area': 'float',\n+ 'Warehouse-Unrefrigerated Refrigeration Walk-in Quantity': 'float',\n+ 'Warehouse-Unrefrigerated Temporary Quality Alert': 'string',\n+ 'Warehouse-Unrefrigerated Workers on Main Shift Quantity': 'float',\n+ 'Wastewater Treatment Plant - Average Effluent Biological Oxygen Demand (BOD5) (mg/l)': 'float',\n+ 'Wastewater Treatment Plant - Average Influent Biological Oxygen Demand (BOD5) (mg/l)': 'float',\n+ 'Wastewater Treatment Plant - Average Influent Flow (MGD)': 'float',\n+ 'Wastewater Treatment Plant - Fixed Film Trickle Filtration Process': 'string',\n+ 'Wastewater Treatment Plant - Gross Floor Area (ft2)': 'float',\n+ 'Wastewater Treatment Plant - Nutrient Removal': 'string',\n+ 'Wastewater Treatment Plant - Plant Design Flow Rate (MGD)': 'float',\n+ 'Water Alerts': 'string',\n+ 'Water Baseline Date': 'date',\n+ 'Water Cooled Condenser Flow Control': 'string',\n+ 'Water Cost': 'float',\n+ 'Water Current Date': 'date',\n+ 'Water Fixture Cycles per day': 'float',\n+ 'Water Fixture Fraction Hot Water': 'float',\n+ 'Water Fixture Rated Flow Rate': 'float',\n+ 'Water Fixture Volume per Cycle': 'float',\n+ 'Water Intensity': 'float',\n+ 'Water Metered Premises': 'string',\n+ 'Water Resource Baseline Annual Interval End Date': 'date',\n+ 'Water Resource Current Annual Interval End Date': 'date',\n+ 'Water Resource Exterior Complete Resource Cost': 'float',\n+ 'Water Resource Exterior Complete Resource Value kgal': 'float',\n+ 'Water Resource Quality Alert': 'string',\n+ 'Water Treatment Biomass Emissions Flow Intensity kgCO2e/gpd': 'float',\n+ 'Water Treatment Direct Emissions Flow Intensity kgCO2e/gpd': 'float',\n+ 'Water Treatment Emissions Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Flow Derivation Method Estimated': 'string',\n+ 'Water Treatment Indirect Emissions Flow Intensity kgCO2e/gpd': 'float',\n+ 'Water Treatment National Median Site Energy Percent Improvement': 'float',\n+ 'Water Treatment National Median Site Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment National Median Source Energy Percent Improvement': 'float',\n+ 'Water Treatment National Median Source Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Site Energy Adjusted for Specific Year Current Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Site Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Source Energy Adjusted for Specific Year Current Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Source Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Weather Normalized Site Electricity Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Weather Normalized Site Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment Weather Normalized Site Natural Gas Resource Flow Intensity Therm/gpd': 'float',\n+ 'Water Treatment Weather Normalized Source Energy Resource Flow Intensity kBtu/gpd': 'float',\n+ 'Water Treatment-Drinking Water and Distribution Daily Draw Consumption Rate Mgal/d': 'float',\n+ 'Water Treatment-Drinking Water and Distribution Design Files Gross Floor Area': 'float',\n+ 'Water Treatment-Drinking Water and Distribution Gross Floor Area': 'float',\n+ 'Water Treatment-Drinking Water and Distribution Temporary Quality Alert': 'string',\n+ 'Water Treatment-Wastewater Average Effluent Biological Oxygen Demand': 'float',\n+ 'Water Treatment-Wastewater Average Flow Value Mgal/d': 'float',\n+ 'Water Treatment-Wastewater Average Influent Biological Oxygen Demand': 'float',\n+ 'Water Treatment-Wastewater Derivation Method Default': 'string',\n+ 'Water Treatment-Wastewater Design Files Gross Floor Area': 'float',\n+ 'Water Treatment-Wastewater Gross Floor Area': 'float',\n+ 'Water Treatment-Wastewater Nutrient Removal Proces is Implemented': 'string',\n+ 'Water Treatment-Wastewater Plant Design Flow Value Mgal/d': 'float',\n+ 'Water Treatment-Wastewater Temporary Quality Alert': 'string',\n+ 'Water Treatment-Wastewater Trickle Filtration Process is Fixed Film': 'string',\n+ 'Water Use': 'float',\n+ 'Water Use (All Water Sources) (kgal)': 'float',\n+ 'Water Use Type': 'string',\n+ 'Water collected for Reuse': 'string',\n+ 'Water-Side Economizer DB Temperature Maximum': 'float',\n+ 'Water-Side Economizer Temperature Maximum': 'float',\n+ 'Water-Side Economizer Temperature Setpoint': 'float',\n+ 'Water-Side Economizer Type': 'string',\n+ 'Water/Wastewater Biomass GHG Emissions Intensity (kgCO2e/gpd)': 'float',\n+ 'Water/Wastewater Direct GHG Emissions Intensity (kgCO2e/gpd)': 'float',\n+ 'Water/Wastewater Estimated Savings from Energy Projects, Cumulative ($/GPD)': 'float',\n+ 'Water/Wastewater Indirect GHG Emissions Intensity (kgCO2e/gpd)': 'float',\n+ 'Water/Wastewater Investment in Energy Projects, Cumulative ($/GPD)': 'float',\n+ 'Water/Wastewater Site EUI (kBtu/gpd)': 'float',\n+ 'Water/Wastewater Site EUI - Adjusted to Current Year (kBtu/gpd)': 'float',\n+ 'Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Water/Wastewater Source EUI - Adjusted to Current Year (kBtu/gpd)': 'float',\n+ 'Water/Wastewater Total GHG Emissions Intensity (kgCO2e/gpd)': 'float',\n+ 'Weather Data Source': 'string',\n+ 'Weather Data Station ID': 'string',\n+ 'Weather Normalized Site EUI (kBtu/ft2)': 'float',\n+ 'Weather Normalized Site Electricity (kWh)': 'float',\n+ 'Weather Normalized Site Electricity Intensity (kWh/ft2)': 'float',\n+ 'Weather Normalized Site Electricity Resource Intensity kWh/ft2': 'float',\n+ 'Weather Normalized Site Electricity Resource Value kWh': 'float',\n+ 'Weather Normalized Site Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Weather Normalized Site Energy Resource Value kBtu': 'float',\n+ 'Weather Normalized Site Energy Use (kBtu)': 'float',\n+ 'Weather Normalized Site Natural Gas Intensity (therms/ft2)': 'float',\n+ 'Weather Normalized Site Natural Gas Resource Intensity Therm/ft2': 'float',\n+ 'Weather Normalized Site Natural Gas Resource Value Therm': 'float',\n+ 'Weather Normalized Site Natural Gas Use (therms)': 'float',\n+ 'Weather Normalized Source Energy Resource Intensity kBtu/ft2': 'float',\n+ 'Weather Normalized Source Energy Resource Value kBtu': 'float',\n+ 'Weather Normalized Source Energy Use (kBtu)': 'float',\n+ 'Weather Normalized Water/Wastewater Site Electricity Intensity (kWh/gpd)': 'float',\n+ 'Weather Normalized Water/Wastewater Site Natural Gas Intensity (therms/gpd)': 'float',\n+ 'Weather Normalized Water/Wastewater Source EUI (kBtu/gpd)': 'float',\n+ 'Weather Station Category': 'string',\n+ 'Weather Station ID': 'string',\n+ 'Weather Station Name': 'string',\n+ 'Weather Type': 'string',\n+ 'Weather Year': 'date',\n+ 'Weather-Stripped': 'string',\n+ 'Wholesale Club/Supercenter- Cash Register Density (Number per 1,000 ft2)': 'float',\n+ 'Wholesale Club/Supercenter- Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Wholesale Club/Supercenter- Exterior Entrance to the Public': 'float',\n+ 'Wholesale Club/Supercenter- Gross Floor Area (ft2)': 'float',\n+ 'Wholesale Club/Supercenter- Number of Cash Registers': 'float',\n+ 'Wholesale Club/Supercenter- Number of Computers': 'float',\n+ 'Wholesale Club/Supercenter- Number of Open or Closed Refrigeration/Freezer Units': 'float',\n+ 'Wholesale Club/Supercenter- Number of Walk-in Refrigeration/Freezer Units': 'float',\n+ 'Wholesale Club/Supercenter- Number of Workers on Main Shift': 'float',\n+ 'Wholesale Club/Supercenter- Open or Closed Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Wholesale Club/Supercenter- Percent That Can Be Cooled': 'float',\n+ 'Wholesale Club/Supercenter- Percent That Can Be Heated': 'float',\n+ 'Wholesale Club/Supercenter- Walk-in Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Wholesale Club/Supercenter- Weekly Operating Hours': 'float',\n+ 'Wholesale Club/Supercenter- Worker Density (Number per 1,000 ft2)': 'float',\n+ 'Window Frame Type': 'string',\n+ 'Window Glass Layers': 'float',\n+ 'Window Height': 'float',\n+ 'Window Horizontal Spacing': 'float',\n+ 'Window Layout': 'string',\n+ 'Window Orientation': 'float',\n+ 'Window Sill Height': 'float',\n+ 'Window Width': 'float',\n+ 'Window to Wall Ratio': 'float',\n+ 'Windows Gas Filled': 'string',\n+ 'Winter Peak': 'float',\n+ 'Winter Peak Electricity Reduction': 'float',\n+ 'Wood Cost ($)': 'float',\n+ 'Wood Derivation Method Estimated': 'string',\n+ 'Wood Resource Cost': 'float',\n+ 'Wood Resource Value kBtu': 'float',\n+ 'Wood Use (kBtu)': 'float',\n+ 'Work Plane Height': 'float',\n+ 'Worship Facility - Commercial Refrigeration Density (Number per 1,000 ft2)': 'float',\n+ 'Worship Facility - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Worship Facility - Cooking Facilities': 'float',\n+ 'Worship Facility - Gross Floor Area (ft2)': 'float',\n+ 'Worship Facility - Number of Commercial Refrigeration/Freezer Units': 'float',\n+ 'Worship Facility - Number of Computers': 'float',\n+ 'Worship Facility - Open All Weekdays': 'float',\n+ 'Worship Facility - Seating Capacity': 'float',\n+ 'Worship Facility - Weekly Operating Hours': 'float',\n+ 'Year Occupied': 'date',\n+ 'Year Of Latest Retrofit': 'date',\n+ 'Year PM Benchmarked': 'date',\n+ 'Year of Last Energy Audit': 'date',\n+ 'Year of Last Major Remodel': 'date',\n+ 'Zoo - Computer Density (Number per 1,000 ft2)': 'float',\n+ 'Zoo - Gross Floor Area (ft2)': 'float',\n+ 'Zoo - Number of Computers': 'float',\n+ 'Zoo - Number of Workers on Main Shift': 'float',\n+ 'Zoo - Weekly Operating Hours': 'float',\n+ 'Zoo - Worker Density (Number per 1,000 ft2)': 'float',\n+ 'eGRID Output Emissions Rate (kgCO2e/MBtu)': 'float',\n+ 'eGRID Region Code': 'string',\n+ 'eGRID Subregion': 'string'\n }\ndiff --git a/seed/lib/mappings/data/process.py b/seed/lib/mappings/data/process.py\n--- a/seed/lib/mappings/data/process.py\n+++ b/seed/lib/mappings/data/process.py\n@@ -19,7 +19,7 @@ def strip_units(str):\n \n \n new_data = []\n-for key, d in data.iteritems():\n+for key, d in data.items():\n updated_key, units = strip_units(key)\n a = {}\n a['from_field'] = key\ndiff --git a/seed/lib/mappings/mapper.py b/seed/lib/mappings/mapper.py\n--- a/seed/lib/mappings/mapper.py\n+++ b/seed/lib/mappings/mapper.py\n@@ -11,9 +11,11 @@\n from collections import OrderedDict\n from os.path import realpath, join, dirname\n \n+from past.builtins import basestring\n+\n from unidecode import unidecode\n \n-LINEAR_UNITS = set([u'ft', u'm', u'in'])\n+LINEAR_UNITS = set(['ft', 'm', 'in'])\n MAPPING_DATA_DIR = join(dirname(realpath(__file__)), 'data')\n \n _log = logging.getLogger(__name__)\n@@ -29,7 +31,8 @@ def _sanitize_and_convert_keys_to_regex(key):\n \"\"\"\n \n # force unicode\n- if isinstance(key, unicode):\n+ # TODO: python3 check if this to run in python3\n+ if isinstance(key, basestring):\n key = unidecode(key)\n \n # fix superscripts - copied from old code\n@@ -54,7 +57,7 @@ def _sanitize_and_convert_keys_to_regex(key):\n # convert underscores to white space\n key = key.replace('_', ' ').replace(' ', ' ')\n # collapse whitespace\n- key = re.sub('\\s+', ' ', key).strip()\n+ key = re.sub(r'\\s+', ' ', key).strip()\n \n # convert white space to regex for space or underscore (repeated)\n key = key.replace(' ', '( |_)+')\n@@ -118,19 +121,19 @@ def get_pm_mapping(raw_columns, mapping_data=None, resolve_duplicates=True):\n # Without duplicates\n \n {\n- 'Address 1': (u'PropertyState', u'address_line_1', 100),\n- 'Property ID': (u'PropertyState', u'pm_property_id', 100),\n- 'Portfolio Manager Property ID': (u'PropertyState', u'Portfolio Manager Property ID', 100),\n- 'Address_1': (u'PropertyState', u'Address_1', 100)\n+ 'Address 1': ('PropertyState', 'address_line_1', 100),\n+ 'Property ID': ('PropertyState', 'pm_property_id', 100),\n+ 'Portfolio Manager Property ID': ('PropertyState', 'Portfolio Manager Property ID', 100),\n+ 'Address_1': ('PropertyState', 'Address_1', 100)\n }\n \n # With duplicates\n \n {\n- 'Address 1': (u'PropertyState', u'address_line_1', 100),\n- 'Property ID': (u'PropertyState', u'pm_property_id', 100),\n- 'Portfolio Manager Property ID': (u'PropertyState', u'pm_property_id', 100),\n- 'Address_1': (u'PropertyState', u'address_line_1', 100)\n+ 'Address 1': ('PropertyState', 'address_line_1', 100),\n+ 'Property ID': ('PropertyState', 'pm_property_id', 100),\n+ 'Portfolio Manager Property ID': ('PropertyState', 'pm_property_id', 100),\n+ 'Address_1': ('PropertyState', 'address_line_1', 100)\n }\n \n \n@@ -163,11 +166,11 @@ def get_pm_mapping(raw_columns, mapping_data=None, resolve_duplicates=True):\n \n # get the set of mappings\n mappings = []\n- for v in final_mappings.itervalues():\n+ for v in final_mappings.values():\n mappings.append(v)\n \n unique_mappings = set()\n- for k, v in final_mappings.iteritems():\n+ for k, v in final_mappings.items():\n if v not in unique_mappings:\n unique_mappings.add(v)\n else:\ndiff --git a/seed/lib/mappings/mapping_columns.py b/seed/lib/mappings/mapping_columns.py\n--- a/seed/lib/mappings/mapping_columns.py\n+++ b/seed/lib/mappings/mapping_columns.py\n@@ -7,6 +7,7 @@\n import logging\n \n from seed.lib.mcm import matchers\n+from functools import cmp_to_key\n \n _log = logging.getLogger(__name__)\n \n@@ -60,11 +61,11 @@ def __init__(self, raw_columns, dest_columns, previous_mapping=None, map_args=No\n # We want previous mappings to be at the top of the list.\n if previous_mapping and callable(previous_mapping):\n args = map_args or []\n- # Mapping will look something like this -- [u'table', u'field', 100]\n+ # Mapping will look something like this -- ['table', 'field', 100]\n mapping = previous_mapping(raw, *args)\n if mapping:\n self.add_mappings(raw, [mapping], True)\n- elif default_mappings and raw in default_mappings.keys():\n+ elif default_mappings and raw in default_mappings:\n self.add_mappings(raw, [default_mappings[raw]], True)\n else:\n attempt_best_match = True\n@@ -99,7 +100,7 @@ def __init__(self, raw_columns, dest_columns, previous_mapping=None, map_args=No\n while self.duplicates and index < 10:\n index += 1\n _log.debug(\"Index: %s with duplicates: %s\" % (index, self.duplicates))\n- for k, v in self.duplicates.iteritems():\n+ for k, v in self.duplicates.items():\n self.resolve_duplicate(k, v)\n \n if threshold > 0:\n@@ -116,7 +117,7 @@ def add_mappings(self, raw_column, mappings, previous_mapping=False):\n \"\"\"\n \n # verify that the raw_column_name does not yet exist, if it does, then return false\n- if raw_column in self.data.keys():\n+ if raw_column in self.data:\n # _log.warn('raw column mapping already exists for {}'.format(raw_column))\n return False\n \n@@ -183,7 +184,7 @@ def duplicates(self):\n for item in duplicates:\n for raw_column, v in self.data.items():\n if v['initial_mapping_cmp'] == item:\n- if item not in result.keys():\n+ if item not in result:\n result[item] = []\n result[item].append(\n {\n@@ -208,7 +209,7 @@ def resolve_duplicate(self, dup_map_field, raw_columns):\n _log.debug(\"resolving duplicate field for %s\" % dup_map_field)\n \n # decide which raw_column should \"win\"\n- raw_columns = sorted(raw_columns, cmp=sort_duplicates)\n+ raw_columns = sorted(raw_columns, key=cmp_to_key(sort_duplicates))\n \n # go through all but the first result and remove the first mapping suggestion. There\n # should always be two because it was found as a duplicate.\n@@ -240,7 +241,7 @@ def set_initial_mapping_cmp(self, raw_column):\n self.data[raw_column]['initial_mapping_cmp'] = None\n else:\n # if there are no mappings left, then the mapping suggestion will look like extra data\n- # print \"Setting set_initial_mapping to None for {}\".format(raw_column)\n+ # print(\"Setting set_initial_mapping to None for {}\".format(raw_column))\n self.data[raw_column]['initial_mapping_cmp'] = None\n \n def apply_threshold(self, threshold):\n@@ -253,7 +254,7 @@ def apply_threshold(self, threshold):\n :param threshold: int, min value to be greater than or equal to.\n :return: None\n \"\"\"\n- for k in self.data.keys():\n+ for k in self.data:\n # anyone want to convert this to a list comprehension?\n new_mappings = []\n for m in self.data[k]['mappings']:\n@@ -274,7 +275,7 @@ def final_mappings(self):\n \n \"\"\"\n result = {}\n- for k, v in self.data.iteritems():\n+ for k, v in self.data.items():\n result[k] = list(self.first_suggested_mapping(k))\n \n return result\ndiff --git a/seed/lib/mcm/cleaners.py b/seed/lib/mcm/cleaners.py\n--- a/seed/lib/mcm/cleaners.py\n+++ b/seed/lib/mcm/cleaners.py\n@@ -11,6 +11,7 @@\n import dateutil\n import dateutil.parser\n from django.utils import timezone\n+from past.builtins import basestring\n # django orm gets confused unless we specifically use `ureg` from quantityfield\n # ie. don't try `import pint; ureg = pint.UnitRegistry()`\n from quantityfield import ureg\n@@ -18,15 +19,15 @@\n from seed.lib.mcm.matchers import fuzzy_in_set\n \n NONE_SYNONYMS = (\n- (u'_', u'not available'),\n- (u'_', u'not applicable'),\n- (u'_', u'n/a'),\n+ ('_', 'not available'),\n+ ('_', 'not applicable'),\n+ ('_', 'n/a'),\n )\n BOOL_SYNONYMS = (\n- (u'_', u'true'),\n- (u'_', u'yes'),\n- (u'_', u'y'),\n- (u'_', u'1'),\n+ ('_', 'true'),\n+ ('_', 'yes'),\n+ ('_', 'y'),\n+ ('_', '1'),\n )\n PUNCT_REGEX = re.compile('[{0}]'.format(\n re.escape(string.punctuation.replace('.', '').replace('-', '')))\n@@ -35,11 +36,11 @@\n \n def default_cleaner(value, *args):\n \"\"\"Pass-through validation for strings we don't know about.\"\"\"\n- if isinstance(value, unicode):\n+ if isinstance(value, basestring):\n if fuzzy_in_set(value.lower(), NONE_SYNONYMS):\n return None\n- # guard against `u''` coming in from an Excel empty cell\n- if (value == u''):\n+ # guard against `''` coming in from an Excel empty cell\n+ if (value == ''):\n return None\n return value\n \n@@ -63,7 +64,7 @@ def float_cleaner(value, *args):\n if value is None:\n return None\n \n- if isinstance(value, (str, unicode)):\n+ if isinstance(value, basestring):\n value = PUNCT_REGEX.sub('', value)\n \n try:\n@@ -101,7 +102,7 @@ def date_time_cleaner(value, *args):\n \n try:\n # the dateutil parser only parses strings, make sure to return None if not a string\n- if isinstance(value, (str, unicode)):\n+ if isinstance(value, basestring):\n value = dateutil.parser.parse(value)\n value = timezone.make_aware(value, timezone.get_current_timezone())\n else:\n@@ -127,7 +128,7 @@ def int_cleaner(value, *args):\n if value is None:\n return None\n \n- if isinstance(value, (str, unicode)):\n+ if isinstance(value, basestring):\n value = PUNCT_REGEX.sub('', value)\n \n try:\n@@ -165,22 +166,22 @@ class Cleaner(object):\n def __init__(self, ontology):\n \n self.ontology = ontology\n- self.schema = self.ontology.get(u'types', {})\n- self.float_columns = filter(\n- lambda x: self.schema[x] == u'float', self.schema\n- )\n- self.date_columns = filter(\n- lambda x: self.schema[x] == u'date', self.schema\n- )\n- self.date_time_columns = filter(\n- lambda x: self.schema[x] == u'datetime', self.schema\n- )\n- self.string_columns = filter(\n- lambda x: self.schema[x] == u'string', self.schema\n- )\n- self.int_columns = filter(\n- lambda x: self.schema[x] == u'integer', self.schema\n- )\n+ self.schema = self.ontology.get('types', {})\n+ self.float_columns = list(filter(\n+ lambda x: self.schema[x] == 'float', self.schema\n+ ))\n+ self.date_columns = list(filter(\n+ lambda x: self.schema[x] == 'date', self.schema\n+ ))\n+ self.date_time_columns = list(filter(\n+ lambda x: self.schema[x] == 'datetime', self.schema\n+ ))\n+ self.string_columns = list(filter(\n+ lambda x: self.schema[x] == 'string', self.schema\n+ ))\n+ self.int_columns = list(filter(\n+ lambda x: self.schema[x] == 'integer', self.schema\n+ ))\n self.pint_column_map = self._build_pint_column_map()\n \n def _build_pint_column_map(self):\n@@ -192,16 +193,16 @@ def _build_pint_column_map(self):\n use with `pint_cleaner(value, UNIT_STRING)`\n \n example input: {\n- u'pm_parent_property_id': 'string',\n- u'Weather Normalized Site EUI (GJ/m2)': ('quantity', u'GJ/m**2/year')\n+ 'pm_parent_property_id': 'string',\n+ 'Weather Normalized Site EUI (GJ/m2)': ('quantity', 'GJ/m**2/year')\n }\n \n example output: {\n- u'Weather Normalized Site EUI (GJ/m2)': u'GJ/m**2/year'\n+ 'Weather Normalized Site EUI (GJ/m2)': 'GJ/m**2/year'\n }\n \"\"\"\n pint_column_map = {raw_col: pint_spec[1]\n- for (raw_col, pint_spec) in self.schema.iteritems()\n+ for (raw_col, pint_spec) in self.schema.items()\n if isinstance(pint_spec, tuple)\n and pint_spec[0] == 'quantity'}\n \n@@ -229,7 +230,7 @@ def clean_value(self, value, column_name, is_extra_data=True):\n if not is_extra_data:\n # If the object is not extra data, then check if the data are in the\n # pint_column_map. This needs to be cleaned up significantly.\n- if column_name in self.pint_column_map.keys():\n+ if column_name in self.pint_column_map:\n units = self.pint_column_map[column_name]\n return pint_cleaner(value, units)\n \ndiff --git a/seed/lib/mcm/mapper.py b/seed/lib/mcm/mapper.py\n--- a/seed/lib/mcm/mapper.py\n+++ b/seed/lib/mcm/mapper.py\n@@ -5,15 +5,18 @@\n :author\n \"\"\"\n \n+from __future__ import absolute_import\n+\n import copy\n import itertools\n import logging\n import re\n from datetime import datetime, date\n \n+from .cleaners import default_cleaner\n from django.apps import apps\n+from past.builtins import basestring\n \n-from cleaners import default_cleaner\n from seed.lib.mappings.mapping_columns import MappingColumns\n \n _log = logging.getLogger(__name__)\n@@ -112,7 +115,8 @@ def apply_column_value(raw_column_name, column_value, model, mapping, is_extra_d\n if mapped_column_name != raw_column_name:\n # now clean against the raw name with pint (Quantity Units) because that's the column\n # that holds the units needed to interpret the value correctly\n- cleaned_value = cleaner.clean_value(cleaned_value, raw_column_name, is_extra_data)\n+ cleaned_value = cleaner.clean_value(cleaned_value, raw_column_name,\n+ is_extra_data)\n else:\n cleaned_value = cleaner.clean_value(column_value, mapped_column_name, is_extra_data)\n else:\n@@ -168,7 +172,7 @@ def _normalize_expanded_field(value):\n \n Method does the following:\n Removes leading/trailing spaces\n- Removes duplicate characters next to each other when it is a space, \\, /, -, *, .\n+ Removes duplicate characters next to each other when it is a space, backslash, /, -, *, .\n Does not remove combinations of duplicates, so 1./*5 will still be valid\n \n :param value: string\n@@ -198,7 +202,7 @@ def expand_and_normalize_field(field, return_list=False):\n :return: list of individual values after after delimiting\n \"\"\"\n \n- if isinstance(field, str) or isinstance(field, unicode):\n+ if isinstance(field, basestring):\n field = field.rstrip(';:,')\n data = [_normalize_expanded_field(r) for r in re.split(\",|;|:\", field)]\n if return_list:\n@@ -235,7 +239,7 @@ def expand_rows(row, delimited_fields, expand_row):\n new_values = []\n for d in delimited_fields:\n fields = []\n- if d in copy_row.keys():\n+ if d in copy_row:\n for value in expand_and_normalize_field(copy_row[d], True):\n fields.append({d: value})\n new_values.append(fields)\n@@ -248,7 +252,7 @@ def expand_rows(row, delimited_fields, expand_row):\n new_row = copy.deepcopy(copy_row)\n # c is a tuple because of the .product command\n for item in c:\n- for k, v in item.iteritems():\n+ for k, v in item.items():\n new_row[k] = v\n new_rows.append(new_row)\n \ndiff --git a/seed/lib/mcm/matchers.py b/seed/lib/mcm/matchers.py\n--- a/seed/lib/mcm/matchers.py\n+++ b/seed/lib/mcm/matchers.py\n@@ -4,6 +4,9 @@\n :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n :author\n \"\"\"\n+from builtins import str\n+from functools import cmp_to_key\n+\n import jellyfish\n \n \n@@ -16,7 +19,8 @@ def sort_scores(a, b):\n if a[2] > b[2]:\n return -1\n elif a[2] == b[2]: # Sort by the strings if they match up\n- com_a = '.'.join(a[0:2]) # so, 0:2 returns the first 2 elements, okay python, you win this time.\n+ com_a = '.'.join(\n+ a[0:2]) # so, 0:2 returns the first 2 elements, okay python, you win this time.\n com_b = '.'.join(b[0:2])\n if com_a > com_b:\n return 1\n@@ -50,7 +54,7 @@ def best_match(s, categories, top_n=5):\n \n \"\"\"\n \n- # print 'starting match on {}'.format(s)\n+ # print('starting match on {}'.format(s))\n scores = []\n for cat in categories:\n # verify that the category has two elements, if not, then just\n@@ -69,21 +73,22 @@ def best_match(s, categories, top_n=5):\n table_name,\n category,\n jellyfish.jaro_winkler(\n- unicode(s.encode('ascii', 'replace').lower()),\n- unicode(category.encode('ascii', 'replace').lower())\n+ str(s.encode('ascii', 'replace').lower()),\n+ str(category.encode('ascii', 'replace').lower())\n )\n )\n )\n \n # sort first by the ones\n \n- # print 'all scores for {} are {}'.format(s, scores)\n- scores = sorted(scores, cmp=sort_scores)\n+ # print('all scores for {} are {}'.format(s, scores))\n+ scores.sort()\n+ scores = sorted(scores, key=cmp_to_key(sort_scores))\n # take the top n number of matches\n scores = scores[:top_n]\n # convert to hundreds\n scores = [(score[0], score[1], int(score[2] * 100)) for score in scores]\n- # print 'ending all categories match of {} with scores {}'.format(s, scores)\n+ # print('ending all categories match of {} with scores {}'.format(s, scores))\n \n return scores\n \ndiff --git a/seed/lib/mcm/reader.py b/seed/lib/mcm/reader.py\n--- a/seed/lib/mcm/reader.py\n+++ b/seed/lib/mcm/reader.py\n@@ -12,14 +12,14 @@\n \"\"\"\n import mmap\n import operator\n+from builtins import str\n+from csv import DictReader, Sniffer\n \n-from unicodecsv import DictReader, Sniffer\n+from past.builtins import basestring\n from unidecode import unidecode\n from xlrd import xldate, XLRDError, open_workbook, empty_cell\n from xlrd.xldate import XLDateAmbiguous\n \n-from seed.lib.mcm import mapper, utils\n-\n (\n XL_CELL_EMPTY,\n XL_CELL_TEXT,\n@@ -104,7 +104,7 @@ def get_value(self, item, **kwargs):\n else:\n return item.value\n \n- if isinstance(item.value, unicode):\n+ if isinstance(item.value, basestring):\n return unidecode(item.value)\n \n return item.value\n@@ -140,14 +140,6 @@ def item(i, j):\n for i in range(header_row + 1, sheet.nrows)\n )\n \n- def next(self):\n- \"\"\"generator to match CSVReader\"\"\"\n- while True:\n- try:\n- yield self.excelreader.next()\n- except StopIteration:\n- break\n-\n def seek_to_beginning(self):\n \"\"\"seeks to the beginning of the file\n \n@@ -185,7 +177,8 @@ def __init__(self, csvfile, *args, **kwargs):\n self.csvfile = csvfile\n self.csvreader = self._get_csv_reader(csvfile, **kwargs)\n \n- # cleaning the superscripts also assigns the headers to the csvreader.unicode_fieldnames\n+ # read the next line to get the field names\n+ # cleaning the superscripts also assigns the headers to the csvreader.fieldnames\n self.clean_super_scripts()\n \n def _get_csv_reader(self, *args, **kwargs):\n@@ -200,7 +193,7 @@ def _get_csv_reader(self, *args, **kwargs):\n self.csvfile.seek(0)\n \n if 'reader_type' not in kwargs:\n- return DictReader(self.csvfile, errors='replace')\n+ return DictReader(self.csvfile)\n \n else:\n reader_type = kwargs.get('reader_type')\n@@ -210,33 +203,26 @@ def _get_csv_reader(self, *args, **kwargs):\n def clean_super_scripts(self):\n \"\"\"Replaces column names with clean ones.\"\"\"\n new_fields = []\n- for col in self.csvreader.unicode_fieldnames:\n+ for col in self.csvreader.fieldnames:\n new_fields.append(unidecode(col))\n \n- self.csvreader.unicode_fieldnames = new_fields\n-\n- def next(self):\n- \"\"\"Wouldn't it be nice to get iterables form csvreader?\"\"\"\n- while True:\n- try:\n- yield self.csvreader.next()\n- except StopIteration:\n- break\n+ self.csvreader.fieldnames = new_fields\n \n def seek_to_beginning(self):\n \"\"\"seeks to the beginning of the file\"\"\"\n self.csvfile.seek(0)\n+\n # skip header row\n- self.next().next()\n+ self.csvfile.__next__()\n \n def num_columns(self):\n \"\"\"gets the number of columns for the file\"\"\"\n- return len(self.csvreader.unicode_fieldnames)\n+ return len(self.csvreader.fieldnames)\n \n @property\n def headers(self):\n \"\"\"original ordered list of headers with leading and trailing spaces stripped\"\"\"\n- return [entry.strip() for entry in self.csvreader.unicode_fieldnames]\n+ return [entry.strip() for entry in self.csvreader.fieldnames]\n \n \n class MCMParser(object):\n@@ -263,6 +249,8 @@ class MCMParser(object):\n \n def __init__(self, import_file, *args, **kwargs):\n self.reader = self._get_reader(import_file)\n+ self.seek_to_beginning()\n+\n self.import_file = import_file\n if 'matching_func' not in kwargs:\n # Special note, contains expects arguments like the following\n@@ -272,43 +260,30 @@ def __init__(self, import_file, *args, **kwargs):\n else:\n self.matching_func = kwargs.get('matching_func')\n \n- def split_rows(self, chunk_size, callback, *args, **kwargs):\n- \"\"\"Break up the CSV into smaller pieces for parallel processing.\"\"\"\n- row_num = 0\n- for batch in utils.batch(self.next(), chunk_size):\n- row_num += len(batch)\n- callback(batch, *args, **kwargs)\n-\n- return row_num\n-\n- def map_rows(self, mapping, model_class):\n- \"\"\"Convenience method to call ``mapper.map_row`` on all rows.\n-\n- :param mapping: dict, keys map columns to model_class attrs.\n- :param model_class: class, reference to model class.\n-\n- \"\"\"\n- for row in self.next():\n- # Figure out if this is an inser or update.\n- # e.g. model.objects.get('some canonical id') or model_class()\n- yield mapper.map_row(row, mapping, model_class)\n-\n def _get_reader(self, import_file):\n \"\"\"returns a CSV or XLS/XLSX reader or raises an exception\"\"\"\n try:\n return ExcelParser(import_file)\n except XLRDError as e:\n- if 'Unsupported format' in e.message:\n+ if 'Unsupported format' in str(e):\n return CSVParser(import_file)\n else:\n raise Exception('Cannot parse file')\n \n- def next(self):\n+ def __next__(self):\n \"\"\"calls the reader's next\"\"\"\n- return self.reader.next()\n+ # TODO: Do i need to switch between csvreader and excelreader?\n+ return self.data.__next__()\n \n def seek_to_beginning(self):\n \"\"\"calls the reader's seek_to_beginning\"\"\"\n+ if isinstance(self.reader, CSVParser):\n+ self.data = self.reader.csvreader\n+ elif isinstance(self.reader, ExcelParser):\n+ self.data = self.reader.excelreader\n+ else:\n+ raise Exception('Uknown type of parser in MCMParser')\n+\n return self.reader.seek_to_beginning()\n \n def num_columns(self):\n@@ -329,16 +304,15 @@ def first_five_rows(self):\n :return: list of rows with ROW_DELIMITER\n \"\"\"\n self.seek_to_beginning()\n- rows = self.next()\n \n validation_rows = []\n for i in range(5):\n try:\n- row = rows.next()\n+ row = self.__next__()\n if row:\n # Trim out the spaces around the keys\n new_row = {}\n- for k, v in row.iteritems():\n+ for k, v in row.items():\n new_row[k.strip()] = v\n validation_rows.append(new_row)\n except StopIteration:\n@@ -353,7 +327,7 @@ def first_five_rows(self):\n row_arr = []\n for x in first_row:\n row_field = r[x]\n- if isinstance(row_field, unicode):\n+ if isinstance(row_field, basestring):\n row_field = unidecode(r[x])\n else:\n row_field = str(r[x])\ndiff --git a/seed/lib/mcm/utils.py b/seed/lib/mcm/utils.py\n--- a/seed/lib/mcm/utils.py\n+++ b/seed/lib/mcm/utils.py\n@@ -18,4 +18,4 @@ def batch(iterable, size):\n sourceiter = iter(iterable)\n while True:\n batchiter = islice(sourceiter, size)\n- yield list(chain([batchiter.next()], batchiter))\n+ yield list(chain([batchiter.__next__()], batchiter))\ndiff --git a/seed/lib/merging/merging.py b/seed/lib/merging/merging.py\n--- a/seed/lib/merging/merging.py\n+++ b/seed/lib/merging/merging.py\n@@ -93,7 +93,7 @@ def _merge_extra_data(ed1, ed2, priorities):\n :param priorities: dict, column names with favor new or existing\n :return dict, merged result\n \"\"\"\n- all_keys = set(ed1.keys() + ed2.keys())\n+ all_keys = set(list(ed1.keys()) + list(ed2.keys()))\n extra_data = {}\n for key in all_keys:\n val1 = ed1.get(key, None)\n@@ -127,7 +127,7 @@ def merge_state(merged_state, state1, state2, priorities):\n default = state2\n for attr in can_attrs:\n # Do we have any differences between these fields? - Check if not None instead of if value.\n- attr_values = list(set([value for value in can_attrs[attr].values() if value is not None]))\n+ attr_values = [value for value in list(can_attrs[attr].values()) if value is not None]\n attr_values = [v for v in attr_values if v is not None]\n \n attr_value = None\ndiff --git a/seed/lib/progress_data/progress_data.py b/seed/lib/progress_data/progress_data.py\n--- a/seed/lib/progress_data/progress_data.py\n+++ b/seed/lib/progress_data/progress_data.py\n@@ -45,10 +45,10 @@ def initialize(self, init_data=None):\n self.increment_by = None\n \n # set some member variables\n- if 'progress_key' in self.data.keys():\n+ if 'progress_key' in self.data:\n self.key = self.data['progress_key']\n \n- if 'total' in self.data.keys():\n+ if 'total' in self.data:\n self.total = self.data['total']\n \n return self.save()\n@@ -99,7 +99,7 @@ def finish_with_error(self, message=None, stacktrace=None):\n @classmethod\n def from_key(cls, key):\n data = get_cache(key)\n- if 'func_name' in data.keys() and 'unique_id' in data.keys():\n+ if 'func_name' in data and 'unique_id' in data:\n return cls(func_name=data['func_name'], unique_id=data['unique_id'], init_data=data)\n else:\n raise Exception(\"Could not find key %s in cache\" % key)\n@@ -117,7 +117,7 @@ def load(self):\n \"\"\"Read in the data from the cache\"\"\"\n \n # Merge the existing data with items from the cache, favor cache items\n- self.data = dict(self.data.items() + get_cache(self.key).items())\n+ self.data = dict(list(self.data.items()) + list(get_cache(self.key).items()))\n \n # set some member variables\n if self.data['progress_key']:\ndiff --git a/seed/lib/superperms/orgs/migrations/0007_auto_20181107_0904.py b/seed/lib/superperms/orgs/migrations/0007_auto_20181107_0904.py\nnew file mode 100644\n--- /dev/null\n+++ b/seed/lib/superperms/orgs/migrations/0007_auto_20181107_0904.py\n@@ -0,0 +1,35 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.16 on 2018-11-07 17:04\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('orgs', '0006_organization_display_significant_figures'),\n+ ]\n+\n+ operations = [\n+ migrations.AlterField(\n+ model_name='organization',\n+ name='display_units_area',\n+ field=models.CharField(choices=[('ft**2', 'square feet'), ('m**2', 'square metres')], default='ft**2', max_length=32),\n+ ),\n+ migrations.AlterField(\n+ model_name='organization',\n+ name='display_units_eui',\n+ field=models.CharField(choices=[('kBtu/ft**2/year', 'kBtu/sq. ft./year'), ('kWh/m**2/year', 'kWh/m\u00b2/year'), ('GJ/m**2/year', 'GJ/m\u00b2/year'), ('MJ/m**2/year', 'MJ/m\u00b2/year'), ('kBtu/m**2/year', 'kBtu/m\u00b2/year')], default='kBtu/ft**2/year', max_length=32),\n+ ),\n+ migrations.AlterField(\n+ model_name='organizationuser',\n+ name='role_level',\n+ field=models.IntegerField(choices=[(0, 'Viewer'), (10, 'Member'), (20, 'Owner')], default=20),\n+ ),\n+ migrations.AlterField(\n+ model_name='organizationuser',\n+ name='status',\n+ field=models.CharField(choices=[('pending', 'Pending'), ('accepted', 'Accepted'), ('rejected', 'Rejected')], default='pending', max_length=12),\n+ ),\n+ ]\ndiff --git a/seed/lib/superperms/orgs/models.py b/seed/lib/superperms/orgs/models.py\n--- a/seed/lib/superperms/orgs/models.py\n+++ b/seed/lib/superperms/orgs/models.py\n@@ -72,8 +72,8 @@ def delete(self, *args, **kwargs):\n raise UserWarning('Did not find suitable user to promote')\n super(OrganizationUser, self).delete(*args, **kwargs)\n \n- def __unicode__(self):\n- return u'OrganizationUser: {0} <{1}> ({2})'.format(\n+ def __str__(self):\n+ return 'OrganizationUser: {0} <{1}> ({2})'.format(\n self.user.username, self.organization.name, self.pk\n )\n \n@@ -201,8 +201,8 @@ def parent_id(self):\n return self.id\n return self.parent_org.id\n \n- def __unicode__(self):\n- return u'Organization: {0}({1})'.format(self.name, self.pk)\n+ def __str__(self):\n+ return 'Organization: {0}({1})'.format(self.name, self.pk)\n \n \n def organization_pre_delete(sender, instance, **kwargs):\ndiff --git a/seed/lib/superperms/orgs/permissions.py b/seed/lib/superperms/orgs/permissions.py\n--- a/seed/lib/superperms/orgs/permissions.py\n+++ b/seed/lib/superperms/orgs/permissions.py\n@@ -11,11 +11,9 @@\n access based on Organization and OrganizationUser.role_level.\n \"\"\"\n from django import VERSION as DJANGO_VERSION\n-\n from django.conf import settings\n-\n-from rest_framework.permissions import BasePermission\n from rest_framework.exceptions import PermissionDenied\n+from rest_framework.permissions import BasePermission\n \n from seed.lib.superperms.orgs.models import (\n ROLE_OWNER,\n@@ -60,9 +58,12 @@ def get_org_id(request):\n \"\"\"Get org id from request\"\"\"\n org_id = get_org_or_id(request.query_params)\n if not org_id:\n- if hasattr(request, 'data'):\n- data = request.data\n- org_id = get_org_or_id(data)\n+ try:\n+ if hasattr(request, 'data'):\n+ data = request.data\n+ org_id = get_org_or_id(data)\n+ except ValueError:\n+ org_id = None\n return org_id\n \n \n@@ -150,22 +151,27 @@ def has_perm(self, request):\n \n def has_permission(self, request, view):\n \"\"\"Determines if user has correct permissions, called by DRF.\"\"\"\n- # Workaround to ensure this is not applied\n- # to the root view when using DefaultRouter.\n- if hasattr(view, 'get_queryset'):\n- queryset = view.get_queryset()\n- else:\n- queryset = getattr(view, 'queryset', None)\n-\n- assert queryset is not None, (\n- 'Cannot apply {} on a view that does not set `.queryset`'\n- ' or have a `.get_queryset()` method.'.format(view.__class__)\n- )\n+ # Workaround to ensure this is not applied to the root view when using DefaultRouter.\n+ value_error = False\n+ try:\n+ if hasattr(view, 'get_queryset'):\n+ queryset = view.get_queryset()\n+ else:\n+ queryset = getattr(view, 'queryset', None)\n+ except ValueError:\n+ if not getattr(view, 'queryset', None):\n+ value_error = True\n+ else:\n+ value_error = False\n+\n+ if value_error or queryset is None:\n+ raise AssertionError('Cannot apply {} on a view that does not set `.queryset`'\n+ ' or have a `.get_queryset()` method.'.format(view.__class__))\n+\n return (\n request.user and\n (\n- is_authenticated(request.user)\n- or not self.authenticated_users_only\n+ is_authenticated(request.user) or not self.authenticated_users_only\n )\n and self.has_perm(request)\n )\ndiff --git a/seed/lib/util.py b/seed/lib/util.py\n--- a/seed/lib/util.py\n+++ b/seed/lib/util.py\n@@ -26,7 +26,7 @@ def create_map(path_in, path_out):\n :return: None\n \"\"\"\n bedes_flag = mapper.Mapping.META_BEDES\n- infile = csv.reader(open(path_in, \"rU\"))\n+ infile = csv.reader(open(path_in, 'rU'))\n header = infile.next()\n assert len(header) >= 5\n map = {}\n@@ -51,7 +51,7 @@ def create_map(path_in, path_out):\n if path_out == '-':\n outfile = sys.stdout\n else:\n- outfile = open(path_out, \"w\")\n+ outfile = open(path_out, 'w')\n json.dump(map, outfile, encoding='latin_1')\n \n \n@@ -65,29 +65,28 @@ def apply_map(map_path, data_path, out_file):\n Return:\n None\n \"\"\"\n- map_file = open(map_path, \"r\")\n+ map_file = open(map_path, 'r')\n mapping = mapper.Mapping(map_file, encoding='latin_1')\n- data_file = open(data_path, \"rU\")\n+ data_file = open(data_path, 'rU')\n data_csv = csv.reader(data_file)\n # map each field\n d = {}\n input_fields = data_csv.next()\n matched, nomatch = mapping.apply(input_fields)\n- for field, m in matched.iteritems():\n+ for field, m in matched.items():\n d[field] = m.as_json()\n- print \"Mapped {} => {}\".format(field, m.field)\n+ print('Mapped {} => {}'.format(field, m.field))\n for field in nomatch:\n- print \"* No mapping found for input field: {}\".format(field)\n+ print('* No mapping found for input field: {}'.format(field))\n d[field] = mapper.MapItem(field, None).as_json()\n # write mapping as a JSON\n try:\n json.dump(d, out_file, ensure_ascii=True)\n except BaseException:\n- # print(\"** Error: While writing:\\n{}\".format(d))\n+ # print('** Error: While writing:\\n{}'.format(d))\n pass\n # write stats\n- print \"Mapped {} fields: {} OK and {} did not match\".format(\n- len(input_fields), len(matched), len(nomatch))\n+ print('Mapped {} fields: {} OK and {} did not match'.format(len(input_fields), len(matched), len(nomatch)))\n \n \n def find_duplicates(map_path, data_path, out_file):\n@@ -100,9 +99,9 @@ def find_duplicates(map_path, data_path, out_file):\n Return:\n None\n \"\"\"\n- map_file = open(map_path, \"r\")\n+ map_file = open(map_path, 'r')\n mapping = mapper.Mapping(map_file, encoding='latin-1')\n- data_file = open(data_path, \"rU\")\n+ data_file = open(data_path, 'rU')\n data_csv = csv.reader(data_file)\n hdr = data_csv.next()\n seen_values, dup = {}, {}\n@@ -121,11 +120,11 @@ def find_duplicates(map_path, data_path, out_file):\n dup[dst] = [seen_key, src]\n else:\n seen_values[dst] = src\n- # print results\n+\n for value, keys in dup.items():\n keylist = ' | '.join(keys)\n out_file.write(\n- \"({n:d}) {v}: {kl}\\n\".format(\n+ '({n:d}) {v}: {kl}\\n'.format(\n n=len(keys),\n v=value,\n kl=keylist,\ndiff --git a/seed/management/commands/_localtools.py b/seed/management/commands/_localtools.py\n--- a/seed/management/commands/_localtools.py\n+++ b/seed/management/commands/_localtools.py\n@@ -13,7 +13,7 @@ def write_to_file(msg):\n \n def logging_info(msg):\n s = \"INFO: {}\".format(msg)\n- print s\n+ print(s)\n write_to_file(s)\n \n \ndiff --git a/seed/management/commands/create_sample_data.py b/seed/management/commands/create_sample_data.py\n--- a/seed/management/commands/create_sample_data.py\n+++ b/seed/management/commands/create_sample_data.py\n@@ -229,7 +229,7 @@ def tax_lot_extra_data_details(self, id, year_ending):\n \"taxlot_extra_data_field_1\": \"taxlot_extra_data_field_\" + str(id),\n \"City Code\": self.fake.numerify(text='####-###')}\n \n- tl = {k: str(v) for k, v in tl.iteritems()}\n+ tl = {k: str(v) for k, v in tl.items()}\n \n return tl\n \n@@ -346,7 +346,7 @@ def create_cases(org, cycle, tax_lots, properties):\n \n def del_datetimes(d):\n res = {}\n- for k, v in d.iteritems():\n+ for k, v in d.items():\n if isinstance(v, datetime.date) or isinstance(v, datetime.datetime):\n continue\n res[k] = str(v)\n@@ -460,7 +460,7 @@ def update_property_views(views, number_of_updates):\n for i in range(number_of_updates):\n for property_view in views:\n state = property_view.state\n- state.site_eui = unicode(float(randint(0, 1000)) + float(randint(0, 9)) / 10)\n+ state.site_eui = str(float(randint(0, 1000)) + float(randint(0, 9)) / 10)\n state.pk = None # set state to None to get a new copy on save\n state.save()\n property_view.update_state(state)\n@@ -582,8 +582,8 @@ def _create_states_with_extra_data(model, records):\n states.append(state)\n return states\n \n- taxlots = map(update_taxlot_noise, taxlots)\n- properties = map(update_property_noise, properties)\n+ taxlots = list(map(update_taxlot_noise, taxlots))\n+ properties = list(map(update_property_noise, properties))\n campus = update_property_noise(campus)\n \n campus_property = seed.models.Property.objects.create(organization=org, campus=True)\n@@ -598,12 +598,12 @@ def _create_states_with_extra_data(model, records):\n [campus] + properties)\n property_views = [seed.models.PropertyView.objects.get_or_create(property=property, cycle=cycle,\n state=prop_state)[0] for\n- (property, prop_state) in zip(property_objs, property_states)]\n+ (property, prop_state) in list(zip(property_objs, property_states))]\n \n taxlot_states = _create_states_with_extra_data(seed.models.TaxLotState, taxlots)\n taxlot_views = [seed.models.TaxLotView.objects.get_or_create(taxlot=taxlot, cycle=cycle,\n state=taxlot_state)[0] for\n- (taxlot, taxlot_state) in zip(taxlot_objs, taxlot_states)]\n+ (taxlot, taxlot_state) in list(zip(taxlot_objs, taxlot_states))]\n \n seed.models.TaxLotProperty.objects.get_or_create(property_view=property_views[0],\n taxlot_view=taxlot_views[0], cycle=cycle)\n@@ -672,12 +672,11 @@ def update_taxlot_year(taxlot, year):\n :return: SampleDataRecord with the applicable fields changed.\n \"\"\"\n \n- taxlot.extra_data[\"Tax Year\"] = str(year)\n+ taxlot.extra_data['Tax Year'] = str(year)\n \n # change something else in extra_data aside from the year:\n- taxlot.extra_data[\"taxlot_extra_data_field_1\"] = taxlot.extra_data[\n- \"taxlot_extra_data_field_1\"] + u\"_\" + unicode(\n- year)\n+ taxlot.extra_data['taxlot_extra_data_field_1'] = taxlot.extra_data[\n+ 'taxlot_extra_data_field_1'] + '_' + str(year)\n \n # update the noise\n taxlot = update_taxlot_noise(taxlot)\n@@ -693,7 +692,7 @@ def update_property_noise(property):\n :return: The same property with the site_eui updated to a random number\n \"\"\"\n # randomize \"site_eui\"\n- property.data[\"site_eui\"] = unicode(float(randint(0, 1000)) + float(randint(0, 9)) / 10)\n+ property.data[\"site_eui\"] = str(float(randint(0, 1000)) + float(randint(0, 9)) / 10)\n return property\n \n \n@@ -706,12 +705,11 @@ def update_property_year(property, year):\n :return: SampleDataRecord with the applicable fields changed.\n \"\"\"\n \n- property.data[\"year_ending\"] = property.data[\"year_ending\"].replace(year=year)\n+ property.data['year_ending'] = property.data['year_ending'].replace(year=year)\n \n # change something in extra_data so something there changes too\n- property.extra_data[\"property_extra_data_field_1\"] = property.extra_data[\n- \"property_extra_data_field_1\"] + u\"_\" + unicode(\n- year)\n+ property.extra_data['property_extra_data_field_1'] = property.extra_data[\n+ 'property_extra_data_field_1'] + '_' + str(year)\n \n property = update_property_noise(property)\n \n@@ -737,16 +735,16 @@ def create_additional_years(org, years, pairs_taxlots_and_properties, case,\n # will look like [[taxlot_1], [property_1]]. An entry in one property to many taxlots\n # might look like [[propert_1], [taxlot_1, taxlot_2, taxlot_3]], etc...\n for year in years:\n- print \"Creating additional year for case {c}:\\t{y}\".format(c=case, y=year)\n+ print('Creating additional year for case {c}:\\t{y}'.format(c=case, y=year))\n cycle = get_cycle(org, year)\n \n update_taxlot_f = lambda x: update_taxlot_year(x, year)\n update_property_f = lambda x: update_property_year(x, year)\n \n for idx, [taxlots, properties] in enumerate(pairs_taxlots_and_properties):\n- taxlots = map(update_taxlot_f, taxlots)\n- properties = map(update_property_f, properties)\n- print \"Creating {i}\".format(i=idx)\n+ taxlots = list(map(update_taxlot_f, taxlots))\n+ properties = list(map(update_property_f, properties))\n+ print('Creating {i}'.format(i=idx))\n taxlots, properties = create_cases_with_multi_records_per_cycle(org, cycle, taxlots,\n properties,\n number_records_per_cycle_per_state)\n@@ -766,7 +764,7 @@ def create_additional_years_D(org, years, tuples_taxlots_properties_campus,\n taxlots and 5 properties. Will error with less and unknown behavior with more.\n \"\"\"\n for year in years:\n- print \"Creating additional year for case D:\\t{y}\".format(y=year)\n+ print(\"Creating additional year for case D:\\t{y}\".format(y=year))\n cycle = get_cycle(org, year)\n \n update_taxlot_f = lambda x: update_taxlot_year(x, year)\n@@ -774,10 +772,10 @@ def create_additional_years_D(org, years, tuples_taxlots_properties_campus,\n \n for i in range(number_records_per_cycle_per_state):\n for idx, [taxlots, properties, campus] in enumerate(tuples_taxlots_properties_campus):\n- taxlots = map(update_taxlot_f, taxlots)\n- properties = map(update_property_f, properties)\n+ taxlots = list(map(update_taxlot_f, taxlots))\n+ properties = list(map(update_property_f, properties))\n campus = update_property_f(campus)\n- print \"Creating {i}\".format(i=idx)\n+ print(\"Creating {i}\".format(i=idx))\n _create_case_D(org, cycle, taxlots, properties, campus)\n \n \n@@ -809,7 +807,7 @@ def create_sample_data(years, a_ct=0, b_ct=0, c_ct=0, d_ct=0, number_records_per\n tuples_taxlots_properties_campus_D = []\n \n for i in range(a_ct):\n- print \"Creating Case A {i}\".format(i=i)\n+ print(\"Creating Case A {i}\".format(i=i))\n pairs_taxlots_and_properties_A.append(\n create_case_A(org, cycle, taxlot_factory, property_factory,\n number_records_per_cycle_per_state))\n@@ -818,7 +816,7 @@ def create_sample_data(years, a_ct=0, b_ct=0, c_ct=0, d_ct=0, number_records_per\n number_records_per_cycle_per_state)\n \n for i in range(b_ct):\n- print \"Creating Case B {i}\".format(i=i)\n+ print(\"Creating Case B {i}\".format(i=i))\n property_factory.case_description = \"Case B-1: Multiple (3) Properties, 1 Tax Lot\"\n pairs_taxlots_and_properties_B.append(\n create_case_B(org, cycle, taxlot_factory, property_factory,\n@@ -828,7 +826,7 @@ def create_sample_data(years, a_ct=0, b_ct=0, c_ct=0, d_ct=0, number_records_per\n number_records_per_cycle_per_state)\n \n for i in range(c_ct):\n- print \"Creating Case C {i}\".format(i=i)\n+ print(\"Creating Case C {i}\".format(i=i))\n property_factory.case_description = \"Case C: 1 Property, Multiple (3) Tax Lots\"\n pairs_taxlots_and_properties_C.append(\n create_case_C(org, cycle, taxlot_factory, property_factory,\n@@ -838,7 +836,7 @@ def create_sample_data(years, a_ct=0, b_ct=0, c_ct=0, d_ct=0, number_records_per\n number_records_per_cycle_per_state)\n \n for i in range(d_ct):\n- print \"Creating Case D {i}\".format(i=i)\n+ print(\"Creating Case D {i}\".format(i=i))\n property_factory.case_description = \"Case D: Campus with Multiple associated buildings\"\n tuples_taxlots_properties_campus_D.append(\n create_case_D(org, cycle, taxlot_factory, property_factory,\n@@ -856,27 +854,27 @@ class Command(BaseCommand):\n \n def add_arguments(self, parser):\n parser.add_argument('--A', dest='case_A_count', default=10,\n- help=\"Number of A (1 building, 1 taxlot) cases.\")\n+ help='Number of A (1 building, 1 taxlot) cases.')\n parser.add_argument('--B', dest='case_B_count', default=1,\n- help=\"Number of B (many buildings, 1 taxlot) cases.\")\n+ help='Number of B (many buildings, 1 taxlot) cases.')\n parser.add_argument('--C', dest='case_C_count', default=1,\n- help=\"Number of C (1 building, many taxlots) cases.\")\n+ help='Number of C (1 building, many taxlots) cases.')\n parser.add_argument('--D', dest='case_D_count', default=1,\n- help=\"Number of D (1 campus, many buildings, many taxlots) cases.\")\n- parser.add_argument('--Y', dest='years', default=\"2015,2016\",\n- help=\"comma separated list of years to create data for.\")\n- parser.add_argument(\"--audit-depth\", dest=\"number_records_per_cycle_per_state\", default=1,\n- help=\"number of records to create within each year for audit history. Same as the number of records created per state per cycle.\")\n+ help='Number of D (1 campus, many buildings, many taxlots) cases.')\n+ parser.add_argument('--Y', dest='years', default='2015,2016',\n+ help='comma separated list of years to create data for.')\n+ parser.add_argument('--audit-depth', dest='number_records_per_cycle_per_state', default=1,\n+ help='number of records to create within each year for audit history. Same as the number of records created per state per cycle.')\n return\n \n def handle(self, *args, **options):\n- years = options.get(\"years\", \"2015\")\n- years = years.split(\",\")\n+ years = options.get('years', '2015')\n+ years = years.split(',')\n years = [int(x) for x in years]\n create_sample_data(years,\n- int(options.get(\"case_A_count\", 0)),\n- int(options.get(\"case_B_count\", 0)),\n- int(options.get(\"case_C_count\", 0)),\n- int(options.get(\"case_D_count\", 0)),\n- int(options.get(\"number_records_per_cycle_per_state\", 0)))\n+ int(options.get('case_A_count', 0)),\n+ int(options.get('case_B_count', 0)),\n+ int(options.get('case_C_count', 0)),\n+ int(options.get('case_D_count', 0)),\n+ int(options.get('number_records_per_cycle_per_state', 0)))\n return\ndiff --git a/seed/management/commands/destroy_bluesky_data.py b/seed/management/commands/destroy_bluesky_data.py\n--- a/seed/management/commands/destroy_bluesky_data.py\n+++ b/seed/management/commands/destroy_bluesky_data.py\n@@ -61,11 +61,11 @@ def handle(self, *args, **options):\n orgs_to_delete = [int(x) for x in orgs_to_delete]\n \n for org in orgs_to_delete:\n- print \"Destroying SEED migrated data for organization {}\".format(org)\n+ print(\"Destroying SEED migrated data for organization {}\".format(org))\n delete_based_on_org(apps, org)\n \n else:\n- print \"Destroying all SEED migrated data\"\n+ print(\"Destroying all SEED migrated data\")\n apps.get_model(\"seed\", \"Cycle\").objects.all().delete()\n apps.get_model(\"seed\", \"PropertyState\").objects.all().delete()\n apps.get_model(\"seed\", \"PropertyView\").objects.all().delete()\ndiff --git a/seed/management/commands/erase_data_from_orgs.py b/seed/management/commands/erase_data_from_orgs.py\n--- a/seed/management/commands/erase_data_from_orgs.py\n+++ b/seed/management/commands/erase_data_from_orgs.py\n@@ -26,7 +26,7 @@ def add_arguments(self, parser):\n def handle(self, *args, **options):\n logging_info(\"RUN create_m2m_relatinships_organization with args={},kwds={}\".format(args, options))\n if options['organization']:\n- core_organization = map(int, options['organization'].split(\",\"))\n+ core_organization = list(map(int, options['organization'].split(\",\")))\n else:\n core_organization = [20, 69]\n \ndiff --git a/seed/management/commands/make_superuser.py b/seed/management/commands/make_superuser.py\n--- a/seed/management/commands/make_superuser.py\n+++ b/seed/management/commands/make_superuser.py\n@@ -19,9 +19,9 @@ def add_arguments(self, parser):\n parser.add_argument('--force', dest='force', default=False, action='store_true')\n \n def display_stats(self):\n- print \"Showing users:\"\n+ print(\"Showing users:\")\n for (ndx, user) in enumerate(User.objects.order_by('id').all()):\n- print \" id={}, username={}\".format(user.pk, user.username)\n+ print(\" id={}, username={}\".format(user.pk, user.username))\n \n def handle(self, *args, **options):\n if options['stats_only']:\n@@ -29,17 +29,17 @@ def handle(self, *args, **options):\n return\n \n if options['user'] and options['user_id']:\n- print \"Both --user and --user-id is set, using --user_id and ignoring --user.\"\n+ print(\"Both --user and --user-id is set, using --user_id and ignoring --user.\")\n options['user'] = False\n \n if not options['user'] and not options['user_id']:\n- print \"Must set either --user and --user-id to add user, or run with --stats to display the users. Nothing for me to do here.\"\n+ print(\"Must set either --user and --user-id to add user, or run with --stats to display the users. Nothing for me to do here.\")\n return\n \n if options['user']:\n query = User.objects.filter(username=options['user'])\n if not query.count():\n- print \"No user by the name '{}' was found. Run with --stats to display all users.\"\n+ print(\"No user by the name '{}' was found. Run with --stats to display all users.\")\n return\n user = query.first()\n \n@@ -47,22 +47,21 @@ def handle(self, *args, **options):\n try:\n user = User.objects.get(pk=options['user_id'])\n except AttributeError:\n- print \"No user with id={} was found. Run with --stats to display all the users.\".format(\n- options['user_id'])\n+ print(\"No user with id={} was found. Run with --stats to display all the users.\".format(options['user_id']))\n return\n \n organizations = list(Organization.objects.all())\n \n if not options['force']:\n- print \"Add user {} to organizations?\".format(user)\n+ print(\"Add user {} to organizations?\".format(user))\n for (ndx, org) in enumerate(organizations):\n- print \" {}: {}\".format(ndx, org)\n- if not raw_input(\"Continue? [y/N]\").lower().startswith(\"y\"):\n- print \"Quitting.\"\n+ print(\" {}: {}\".format(ndx, org))\n+ if not input(\"Continue? [y/N]\").lower().startswith(\"y\"):\n+ print(\"Quitting.\")\n return\n \n for org in organizations:\n- print \"Adding user to {}.\".format(org)\n+ print(\"Adding user to {}.\".format(org))\n org.add_member(user)\n else:\n # NL added this but is not going to make it the default because it may cause\n@@ -72,6 +71,6 @@ def handle(self, *args, **options):\n # user.is_superuser = True\n user.save() # One for good measure\n \n- print \"Done!\"\n+ print(\"Done!\")\n \n return\ndiff --git a/seed/management/commands/remove_superuser.py b/seed/management/commands/remove_superuser.py\n--- a/seed/management/commands/remove_superuser.py\n+++ b/seed/management/commands/remove_superuser.py\n@@ -18,17 +18,17 @@ def add_arguments(self, parser):\n \n def handle(self, *args, **options):\n if options['user'] and options['user_id']:\n- print \"Both --user and --user-id is set, using --user_id and ignoring --user.\"\n+ print(\"Both --user and --user-id is set, using --user_id and ignoring --user.\")\n options['user'] = False\n \n if not options['user'] and not options['user_id']:\n- print \"Must set either --user and --user-id to add user, or run with --stats to display the users. Nothing for me to do here.\"\n+ print(\"Must set either --user and --user-id to add user, or run with --stats to display the users. Nothing for me to do here.\")\n return\n \n if options['user']:\n query = User.objects.filter(username=options['user'])\n if not query.count():\n- print \"No user by the name '{}' was found. Run with --stats to display all users.\"\n+ print(\"No user by the name '{}' was found. Run with --stats to display all users.\")\n return\n user = query.first()\n \n@@ -36,13 +36,12 @@ def handle(self, *args, **options):\n try:\n user = User.objects.get(pk=options['user_id'])\n except AttributeError:\n- print \"No user with id={} was found. Run with --stats to display all the users.\".format(\n- options['user_id'])\n+ print(\"No user with id={} was found. Run with --stats to display all the users.\".format(options['user_id']))\n return\n \n user.is_superuser = False\n user.save() # One for good measure\n \n- print \"Done!\"\n+ print(\"Done!\")\n \n return\ndiff --git a/seed/management/commands/set_s3_expires_headers_for_angularjs_partials.py b/seed/management/commands/set_s3_expires_headers_for_angularjs_partials.py\n--- a/seed/management/commands/set_s3_expires_headers_for_angularjs_partials.py\n+++ b/seed/management/commands/set_s3_expires_headers_for_angularjs_partials.py\n@@ -40,5 +40,6 @@ def handle(self, *args, **options):\n expires = expires.strftime(\"%a, %d %b %Y %H:%M:%S GMT\")\n metadata = {'Expires': expires, 'Content-Type': content_type}\n if verbosity > 2:\n- print key.name, metadata\n+ print(key.name)\n+ print(metadata)\n key.copy(settings.AWS_STORAGE_BUCKET_NAME, key, metadata=metadata, preserve_acl=True)\ndiff --git a/seed/management/commands/single_org_commands.py b/seed/management/commands/single_org_commands.py\n--- a/seed/management/commands/single_org_commands.py\n+++ b/seed/management/commands/single_org_commands.py\n@@ -25,7 +25,7 @@ def add_arguments(self, parser):\n def handle(self, *args, **options):\n logging_info(\"RUN org_specific_commands with args={},kwds={}\".format(args, options))\n if options['organization']:\n- core_organization = map(int, options['organization'].split(\",\"))\n+ core_organization = list(map(int, options['organization'].split(\",\")))\n else:\n core_organization = [20, 69]\n \n@@ -48,7 +48,7 @@ def process_org(org):\n \n \n def do_process_org_69():\n- print \"Single Commands for org=69\"\n+ print(\"Single Commands for org=69\")\n org_pk = 69\n \n tax_attrs_to_clear = [\"address_line_1\", \"city\", \"state\", \"postal_code\"]\n@@ -67,10 +67,10 @@ def do_process_org_69():\n \n \n def do_process_org_20():\n- print \"Single Commands for org=20\"\n+ print(\"Single Commands for org=20\")\n count = PropertyState.objects.filter(organization_id=20).count()\n for ndx, prop in enumerate(PropertyState.objects.filter(organization_id=20).all()):\n- print \"Processing {}/{}\".format(ndx + 1, count)\n+ print(\"Processing {}/{}\".format(ndx + 1, count))\n \n if prop.address_line_1:\n prop.extra_data[\"Address 1\"] = prop.address_line_1\ndiff --git a/seed/migrations/0012_auto_20151222_1031.py b/seed/migrations/0012_auto_20151222_1031.py\n--- a/seed/migrations/0012_auto_20151222_1031.py\n+++ b/seed/migrations/0012_auto_20151222_1031.py\n@@ -17,7 +17,7 @@ def merge_extra_data(b1, b2, default=None):\n default_extra_data = getattr(default, 'extra_data', {})\n non_default_extra_data = getattr(non_default, 'extra_data', {})\n \n- all_keys = set(default_extra_data.keys() + non_default_extra_data.keys())\n+ all_keys = set(list(default_extra_data.keys()) + list(non_default_extra_data.keys()))\n extra_data = {\n k: default_extra_data.get(k) or non_default_extra_data.get(k)\n for k in all_keys\ndiff --git a/seed/migrations/0032_migrate_label_data.py b/seed/migrations/0032_migrate_label_data.py\n--- a/seed/migrations/0032_migrate_label_data.py\n+++ b/seed/migrations/0032_migrate_label_data.py\n@@ -15,7 +15,7 @@ def migrate_property_view_labels(apps, schema_editor):\n # pv.property.pk: pv.labels.all() for pv in pvs if pv.labels.all()\n # }\n # new_labels = []\n- # for pk, label_set in pvls.iteritems():\n+ # for pk, label_set in pvls.items():\n # for label in label_set:\n # new_labels.append(\n # PropertyLabels(property_id=pk, statuslabel_id=label.pk)\n@@ -31,7 +31,7 @@ def migrate_taxlot_view_labels(apps, schema_editor):\n # tv.taxlot.pk: tv.labels.all() for tv in tvs if tv.labels.all()\n # }\n # new_labels = []\n- # for pk, label_set in tvls.iteritems():\n+ # for pk, label_set in tvls.items():\n # for label in label_set:\n # new_labels.append(\n # TaxLotLabels(taxlot_id=pk, statuslabel_id=label.pk)\ndiff --git a/seed/migrations/0050_clean_auditlogs.py b/seed/migrations/0050_clean_auditlogs.py\n--- a/seed/migrations/0050_clean_auditlogs.py\n+++ b/seed/migrations/0050_clean_auditlogs.py\n@@ -38,52 +38,46 @@ def forwards(apps, schema_editor):\n t.delete()\n \n for p in PropertyAuditLog.objects.all():\n- print \"\\n----PropertyAuditLog----\"\n- print \"ID: {} Description: {}\".format(p.pk, p.description)\n+ print(\"\\n----PropertyAuditLog----\")\n+ print(\"ID: {} Description: {}\".format(p.pk, p.description))\n \n if not p.name:\n if p.description == 'Initial audit log added on creation/save.':\n p.name = 'Import Creation'\n \n- # print \"State: {}\".format(p.state.pk)\n property_state_1 = None\n property_state_2 = None\n if p.parent1:\n- # print \"Parent State 1: {}\".format(p.parent1.state)\n property_state_1 = p.parent1.state\n else:\n- print \"Parent 1 was None\"\n+ print(\"Parent 1 was None\")\n if p.parent2:\n- # print \"Parent State 2: {}\".format(p.parent2.state)\n property_state_2 = p.parent2.state\n else:\n- print \"Parent 2 was None\"\n+ print(\"Parent 2 was None\")\n \n p.parent_state1 = property_state_1\n p.parent_state2 = property_state_2\n p.save()\n \n for t in TaxLotAuditLog.objects.all():\n- print \"\\n----TaxLotAuditLog----\"\n- print \"ID: {} Description: {}\".format(t.pk, t.description)\n+ print(\"\\n----TaxLotAuditLog----\")\n+ print(\"ID: {} Description: {}\".format(t.pk, t.description))\n \n if not t.name:\n if t.description == 'Initial audit log added on creation/save.':\n t.name = 'Import Creation'\n \n- # print \"State: {}\".format(p.state.pk)\n tax_lot_state_1 = None\n tax_lot_state_2 = None\n if t.parent1:\n- # print \"Parent State 1: {}\".format(p.parent1.state)\n tax_lot_state_1 = t.parent1.state\n else:\n- print \"Parent 1 was None\"\n+ print(\"Parent 1 was None\")\n if t.parent2:\n- # print \"Parent State 2: {}\".format(p.parent2.state)\n tax_lot_state_2 = t.parent2.state\n else:\n- print \"Parent 2 was None\"\n+ print(\"Parent 2 was None\")\n \n t.parent_state1 = tax_lot_state_1\n t.parent_state2 = tax_lot_state_2\ndiff --git a/seed/migrations/0054_remove_same_column_in_mappings.py b/seed/migrations/0054_remove_same_column_in_mappings.py\n--- a/seed/migrations/0054_remove_same_column_in_mappings.py\n+++ b/seed/migrations/0054_remove_same_column_in_mappings.py\n@@ -22,7 +22,7 @@ def split_duplicate_mapping(apps, cm):\n if cm.column_raw.count() > 1 or cm.column_mapped.count() > 1:\n raise Exception(\"More than one column_raw or column_mapped in mapping\")\n \n- print \" Splitting duplicate mapping\"\n+ print(\" Splitting duplicate mapping\")\n raw = cm.column_raw.first()\n new_raw = duplicate_column(apps, raw)\n cm.column_raw.clear()\n@@ -42,18 +42,12 @@ def forwards(apps, schema_editor):\n for c in Column.objects.all():\n cm_duplicates = ColumnMapping.objects.filter(column_raw=c, column_mapped=c)\n if cm_duplicates.count() > 0:\n- print \"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name)\n- print \" duplicate 'from' and 'to' column used in same mapping(s)\"\n+ print(\"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name))\n+ print(\" duplicate 'from' and 'to' column used in same mapping(s)\")\n for cm in cm_duplicates:\n double_usage_count += 1\n split_duplicate_mapping(apps, cm)\n \n- # print \"\"\n- # print \"\"\n- # print \"-------------------------------------------------------------------\"\n- # print \"Total from/to used duplicate columns: {}\".format(double_usage_count)\n- # print \"Total Columns: {}\".format(Column.objects.all().count())\n-\n \n class Migration(migrations.Migration):\n dependencies = [\ndiff --git a/seed/migrations/0055_split_multiple_mappings.py b/seed/migrations/0055_split_multiple_mappings.py\n--- a/seed/migrations/0055_split_multiple_mappings.py\n+++ b/seed/migrations/0055_split_multiple_mappings.py\n@@ -47,27 +47,27 @@ def forwards(apps, schema_editor):\n cm_raw = ColumnMapping.objects.filter(column_raw=c)\n cm_mapped = ColumnMapping.objects.filter(column_mapped=c)\n \n- print \"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name)\n+ print(\"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name))\n \n if cm_raw.count() > 1 or cm_mapped.count() > 1:\n- print \"from_count: {} to_count: {}\".format(cm_raw.count(), cm_mapped.count())\n+ print(\"from_count: {} to_count: {}\".format(cm_raw.count(), cm_mapped.count()))\n \n # go through the ones that are zeroed and is not extra data in the.\n # Also, split the mappings only if the mapped column is extra data.\n if cm_raw.count() == 0 and cm_mapped.count() > 1 and c.is_extra_data:\n for idx, mapping in enumerate(cm_mapped):\n- print \" Duplicating columns for {}\".format(idx)\n+ print(\" Duplicating columns for {}\".format(idx))\n new_m, _new_c = duplicate_mapping(apps, mapping, c, 'mapped')\n- print \" new mapping created {}\".format(new_m)\n+ print(\" new mapping created {}\".format(new_m))\n \n for m in cm_mapped:\n m.delete()\n \n if cm_raw.count() > 1 and cm_mapped.count() == 0:\n for idx, mapping in enumerate(cm_raw):\n- print \" Duplicating columns for {}\".format(idx)\n+ print(\" Duplicating columns for {}\".format(idx))\n new_m, _new_c = duplicate_mapping(apps, mapping, c, 'raw')\n- print \" new mapping created {}\".format(new_m)\n+ print(\" new mapping created {}\".format(new_m))\n \n for m in cm_raw:\n m.delete()\n@@ -77,11 +77,6 @@ def forwards(apps, schema_editor):\n # someday... if you see it now, then raise and exception\n raise Exception(\"this is bad, very bad... talk to @nllong\")\n \n- # print \"\"\n- # print \"\"\n- # print \"-------------------------------------------------------------------\"\n- # print \"Total Columns: {}\".format(Column.objects.all().count())\n-\n \n class Migration(migrations.Migration):\n dependencies = [\ndiff --git a/seed/migrations/0056_cleanup_columns.py b/seed/migrations/0056_cleanup_columns.py\n--- a/seed/migrations/0056_cleanup_columns.py\n+++ b/seed/migrations/0056_cleanup_columns.py\n@@ -14,37 +14,32 @@ def forwards(apps, schema_editor):\n cm_raw = ColumnMapping.objects.filter(column_raw=c)\n cm_mapped = ColumnMapping.objects.filter(column_mapped=c)\n \n- print \"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name)\n+ print(\"Column {}: {}.{}\".format(c.id, c.table_name, c.column_name))\n \n # check if the column isn't used and delete it if not\n if cm_raw.count() == 0 and cm_mapped.count() == 0:\n- print \" deleting column: not used in any mappings\"\n+ print(\" deleting column: not used in any mappings\")\n c.delete()\n continue\n \n # Any cm_raw columns should not have a table_name and not be extra data\n if cm_raw.count() == 1:\n if c.table_name != '':\n- print \" raw column table name is not blank, making it ''\"\n+ print(\" raw column table name is not blank, making it ''\")\n c.table_name = ''\n c.extra_data_source = ''\n if c.is_extra_data:\n- print \" raw column is set to extra_data, bad!, unsetting\"\n+ print(\" raw column is set to extra_data, bad!, unsetting\")\n c.is_extra_data = False\n c.save()\n \n if cm_mapped.count() == 1:\n if c.table_name == '':\n- print \" mapped column has table_name set to '', setting to PropertyState\"\n+ print(\" mapped column has table_name set to '', setting to PropertyState\")\n c.table_name = 'PropertyState'\n c.extra_data_source = 'P'\n c.save()\n \n- # print \"\"\n- # print \"\"\n- # print \"-------------------------------------------------------------------\"\n- # print \"Total Columns: {}\".format(Column.objects.all().count())\n-\n \n class Migration(migrations.Migration):\n dependencies = [\ndiff --git a/seed/migrations/0059_auto_20170407_1516.py b/seed/migrations/0059_auto_20170407_1516.py\n--- a/seed/migrations/0059_auto_20170407_1516.py\n+++ b/seed/migrations/0059_auto_20170407_1516.py\n@@ -17,7 +17,7 @@ def forwards(apps, schema_editor):\n column_keys = ['organization', 'table_name', 'column_name', 'is_extra_data']\n for o in Organization.objects.all():\n # for o in Organization.objects.filter(id=267):\n- print \"Processing organization {}.{}\".format(o.id, o.name)\n+ print(\"Processing organization {}.{}\".format(o.id, o.name))\n \n objs_to_delete = set()\n \n@@ -25,60 +25,57 @@ def forwards(apps, schema_editor):\n for c in columns:\n # skip if the column is in the delete list\n if c.pk in [c_obj.pk for c_obj in objs_to_delete]:\n- print 'skipping column because it is to be deleted {}'.format(c.pk)\n+ print('skipping column because it is to be deleted {}'.format(c.pk))\n continue\n \n check_c = {key: obj_to_dict(c)[key] for key in column_keys}\n \n multiples = Column.objects.filter(**check_c)\n if multiples.count() > 1:\n- print \"Found {} duplicate column\".format(multiples.count())\n+ print(\"Found {} duplicate column\".format(multiples.count()))\n \n pointer_column = None\n for idx, m in enumerate(multiples):\n if idx == 0:\n- print \" setting pointer columns to {}\".format(m.pk)\n+ print(\" setting pointer columns to {}\".format(m.pk))\n pointer_column = m\n continue\n \n- print \" checking idx {} - pk {}\".format(idx, m.pk)\n+ print(\" checking idx {} - pk {}\".format(idx, m.pk))\n # check if there is mappings\n cms = ColumnMapping.objects.filter(Q(column_raw=m) | Q(column_mapped=m))\n if cms.count() == 0:\n- print \" no column mappings and idx is > 1, so deleting column {}\".format(\n- m.pk)\n+ print(\" no column mappings and idx is > 1, so deleting column {}\".format(m.pk))\n objs_to_delete.add(m)\n continue\n \n cms_raw = ColumnMapping.objects.filter(column_raw=m)\n if cms_raw.count() == 1:\n- print \" removing old column and adding in new one {} -> {}\".format(m.pk,\n- pointer_column.pk)\n+ print(\" removing old column and adding in new one {} -> {}\".format(m.pk, pointer_column.pk))\n cms_raw.first().column_raw.add(pointer_column)\n cms_raw.first().column_raw.remove(m)\n objs_to_delete.add(m)\n continue\n \n if cms_raw.count() > 1:\n- print \" Not sure what to do here but it probably does not matter\"\n+ print(\" Not sure what to do here but it probably does not matter\")\n \n- print ColumnMapping.objects.filter(column_raw=m).count()\n+ print(ColumnMapping.objects.filter(column_raw=m).count())\n \n for cm in ColumnMapping.objects.filter(column_mapped=m):\n- print \" cleaning up mapping\"\n+ print(\" cleaning up mapping\")\n if pointer_column in cm.column_mapped.all():\n- print \" already in there\"\n+ print(\" already in there\")\n else:\n- print \" removing old column and adding in new one {} -> {}\".format(\n- m.pk, pointer_column.pk)\n+ print(\" removing old column and adding in new one {} -> {}\".format(m.pk, pointer_column.pk))\n cm.column_mapped.remove(m)\n cm.column_mapped.add(pointer_column)\n- print \" staging old column for delete {}\".format(m.pk)\n+ print(\" staging old column for delete {}\".format(m.pk))\n objs_to_delete.add(m)\n \n- print \"objects to delete:\"\n+ print(\"objects to delete:\")\n for obj in objs_to_delete:\n- print \" {} -- {}\".format(obj.id, obj.column_name)\n+ print(\" {} -- {}\".format(obj.id, obj.column_name))\n obj.delete()\n \n \ndiff --git a/seed/migrations/0090_auto_20180508_1243.py b/seed/migrations/0090_auto_20180508_1243.py\n--- a/seed/migrations/0090_auto_20180508_1243.py\n+++ b/seed/migrations/0090_auto_20180508_1243.py\n@@ -33,7 +33,7 @@ def forwards(apps, schema_editor):\n # Go through all the organizatoins\n for org in Organization.objects.all():\n # for org in Organization.objects.filter(id=1):\n- print \"Checking for missing columns for %s\" % org.id\n+ print(\"Checking for missing columns for %s\" % org.id)\n # if org.id != 20:\n # continue\n details = {\n@@ -48,24 +48,19 @@ def forwards(apps, schema_editor):\n is_extra_data=False,\n )\n \n- # print \"column is %s:%s\" % (columns[0].table_name, columns[0].column_name)\n if not columns.count():\n- # print \" Adding in new column: %s\" % field\n details.update(field)\n Column.objects.create(**details)\n elif columns.count() == 1:\n c = columns.first()\n # update the display name and data_type if it is not already defined\n- # print \" Found one column: %s\" % c.id\n if c.display_name is None or c.display_name == '':\n- # print \" Changing display_name %s to %s\" % (c.display_name, field['display_name'])\n c.display_name = field['display_name']\n if c.data_type is None or c.data_type == '' or c.data_type == 'None':\n- # print \" Adding data_type %s to %s\" % (c.data_type, field['data_type'])\n c.data_type = field['data_type']\n c.save()\n else:\n- print \" More than one column returned\"\n+ print(\" More than one column returned\")\n # raise Exception(\"More than one column returned in migration: %s\" % field)\n \n # Find all the columns that are not raw database columns, and make sure they are tagged is_extra_data\n@@ -75,16 +70,16 @@ def forwards(apps, schema_editor):\n # later in the iteration\n for column in Column.objects.filter(organization=org).exclude(table_name='').exclude(table_name=None).order_by(\n 'column_name', '-is_extra_data'):\n- print \"%s %s %s %s\" % (column.id, column.table_name, column.column_name, column.is_extra_data)\n+ print(\"%s %s %s %s\" % (column.id, column.table_name, column.column_name, column.is_extra_data))\n if column in cols_to_delete:\n- print \" Column is tagged to be deleted, continuing...\"\n+ print(\" Column is tagged to be deleted, continuing...\")\n continue\n \n if exist_in_db_columns(column, db_fields):\n- print \" This is a database column, ignoring\"\n+ print(\" This is a database column, ignoring\")\n else:\n if not column.is_extra_data:\n- print \" The column is not a database field, and is not tagged extradata, fixing...\"\n+ print(\" The column is not a database field, and is not tagged extradata, fixing...\")\n column.is_extra_data = True\n column.save()\n \n@@ -93,9 +88,9 @@ def forwards(apps, schema_editor):\n column_name=column.column_name)\n for dup in duplicates:\n if dup.id == column.id:\n- print \" Same column, skipping\"\n+ print(\" Same column, skipping\")\n else:\n- print \" There is a duplicate, updating mappings and removing\"\n+ print(\" There is a duplicate, updating mappings and removing\")\n \n cols_to_delete.append(dup)\n \n@@ -105,20 +100,20 @@ def forwards(apps, schema_editor):\n dup_cms = ColumnMapping.objects.filter(Q(column_raw=dup) | Q(column_mapped=dup))\n if exist_cm:\n # remove the other mappings if the mapping already exists\n- print \" Column Mapping exists, removing duplicate column mapping: Count - %s\" % dup_cms.count()\n+ print(\" Column Mapping exists, removing duplicate column mapping: Count - %s\" % dup_cms.count())\n for dup_cm in dup_cms:\n- print dup_cm\n+ print(dup_cm)\n dup_cms.delete()\n else:\n # if the column is not in any of the column mappings, then just delete it.\n if ColumnMapping.objects.filter(Q(column_raw=column) | Q(column_mapped=column)).count() == 0:\n- print \" Column Mapping does not exist, marking column to be removed\"\n+ print(\" Column Mapping does not exist, marking column to be removed\")\n cols_to_delete.append(column)\n else:\n raise Exception(\" Column is mapped to a raw, but not a destination, not sure what to do\")\n \n for c in cols_to_delete:\n- print \" Deleting %s:%s\" % (c.table_name, c.column_name)\n+ print(\" Deleting %s:%s\" % (c.table_name, c.column_name))\n c.delete()\n \n \ndiff --git a/seed/migrations/0092_add_hash_object_data.py b/seed/migrations/0092_add_hash_object_data.py\n--- a/seed/migrations/0092_add_hash_object_data.py\n+++ b/seed/migrations/0092_add_hash_object_data.py\n@@ -13,19 +13,19 @@ def forwards(apps, schema_editor):\n # find which columns are not used in column mappings\n property_count = PropertyState.objects.all().count()\n taxlot_count = TaxLotState.objects.all().count()\n- print \"Thereare %s objects to traverse\" % (property_count + taxlot_count)\n+ print(\"Thereare %s objects to traverse\" % (property_count + taxlot_count))\n \n- print \"Iterating over PropertyStates. Count %s\" % PropertyState.objects.all().count()\n+ print(\"Iterating over PropertyStates. Count %s\" % PropertyState.objects.all().count())\n for idx, obj in enumerate(PropertyState.objects.all().iterator()):\n if idx % 1000 == 0:\n- print \"... %s / %s ...\" % (idx, property_count)\n+ print(\"... %s / %s ...\" % (idx, property_count))\n obj.hash_object = hash_state_object(obj)\n obj.save()\n \n- print \"Iterating over TaxLotStates. Count %s\" % TaxLotState.objects.all().count()\n+ print(\"Iterating over TaxLotStates. Count %s\" % TaxLotState.objects.all().count())\n for idx, obj in enumerate(TaxLotState.objects.all().iterator()):\n if idx % 1000 == 0:\n- print \"... %s / %s ...\" % (idx, taxlot_count)\n+ print(\"... %s / %s ...\" % (idx, taxlot_count))\n obj.hash_object = hash_state_object(obj)\n obj.save()\n \ndiff --git a/seed/migrations/0096_auto_20181107_0904.py b/seed/migrations/0096_auto_20181107_0904.py\nnew file mode 100644\n--- /dev/null\n+++ b/seed/migrations/0096_auto_20181107_0904.py\n@@ -0,0 +1,141 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.16 on 2018-11-07 17:04\n+from __future__ import unicode_literals\n+\n+import autoslug.fields\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('seed', '0095_auto_20180920_1819'),\n+ ]\n+\n+ operations = [\n+ migrations.AlterField(\n+ model_name='attributeoption',\n+ name='value_source',\n+ field=models.IntegerField(choices=[(0, 'Assessed Raw'), (2, 'Assessed'), (1, 'Portfolio Raw'), (3, 'Portfolio'), (4, 'BuildingSnapshot'), (5, 'Green Button Raw')]),\n+ ),\n+ migrations.AlterField(\n+ model_name='buildingsnapshot',\n+ name='match_type',\n+ field=models.IntegerField(blank=True, choices=[(1, 'System Match'), (2, 'User Match'), (3, 'Possible Match')], db_index=True, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='buildingsnapshot',\n+ name='source_type',\n+ field=models.IntegerField(blank=True, choices=[(0, 'Assessed Raw'), (2, 'Assessed'), (1, 'Portfolio Raw'), (3, 'Portfolio'), (4, 'BuildingSnapshot'), (5, 'Green Button Raw')], db_index=True, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='column',\n+ name='data_type',\n+ field=models.CharField(default='None', max_length=64),\n+ ),\n+ migrations.AlterField(\n+ model_name='column',\n+ name='merge_protection',\n+ field=models.IntegerField(choices=[(0, 'Favor New'), (1, 'Favor Existing')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='column',\n+ name='shared_field_type',\n+ field=models.IntegerField(choices=[(0, 'None'), (1, 'Public')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='columnlistsetting',\n+ name='inventory_type',\n+ field=models.IntegerField(choices=[(0, 'Property'), (1, 'Tax Lot')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='columnlistsetting',\n+ name='settings_location',\n+ field=models.IntegerField(choices=[(0, 'List View Settings'), (1, 'Detail View Settings')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='columnmapping',\n+ name='source_type',\n+ field=models.IntegerField(blank=True, choices=[(0, 'Assessed Raw'), (2, 'Assessed'), (1, 'Portfolio Raw'), (3, 'Portfolio'), (4, 'BuildingSnapshot'), (5, 'Green Button Raw')], null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='compliance',\n+ name='compliance_type',\n+ field=models.CharField(choices=[('Benchmarking', 'Benchmarking'), ('Auditing', 'Auditing'), ('Retro Commissioning', 'Retro Commissioning')], default='Benchmarking', max_length=30, verbose_name='compliance_type'),\n+ ),\n+ migrations.AlterField(\n+ model_name='dataqualitycheck',\n+ name='name',\n+ field=models.CharField(default='Default Data Quality Check', max_length=255),\n+ ),\n+ migrations.AlterField(\n+ model_name='meter',\n+ name='energy_type',\n+ field=models.IntegerField(choices=[(1, 'Natural Gas'), (2, 'Electricity'), (3, 'Fuel Oil'), (4, 'Fuel Oil No. 1'), (5, 'Fuel Oil No. 2'), (6, 'Fuel Oil No. 4'), (7, 'Fuel Oil No. 5 and No. 6'), (8, 'District Steam'), (9, 'District Hot Water'), (10, 'District Chilled Water'), (11, 'Propane'), (12, 'Liquid Propane'), (13, 'Kerosene'), (14, 'Diesel'), (15, 'Coal'), (16, 'Coal Anthracite'), (17, 'Coal Bituminous'), (18, 'Coke'), (19, 'Wood'), (20, 'Other')]),\n+ ),\n+ migrations.AlterField(\n+ model_name='meter',\n+ name='energy_units',\n+ field=models.IntegerField(choices=[(1, 'kWh'), (2, 'Therms'), (3, 'Wh')]),\n+ ),\n+ migrations.AlterField(\n+ model_name='note',\n+ name='note_type',\n+ field=models.IntegerField(choices=[(0, 'Note'), (1, 'Log')], default=0, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='project',\n+ name='slug',\n+ field=autoslug.fields.AutoSlugField(editable=True, populate_from='name', unique=True, verbose_name='slug'),\n+ ),\n+ migrations.AlterField(\n+ model_name='propertystate',\n+ name='data_state',\n+ field=models.IntegerField(choices=[(0, 'Unknown'), (1, 'Post Import'), (2, 'Post Mapping'), (3, 'Post Matching'), (4, 'Flagged for Deletion')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='propertystate',\n+ name='merge_state',\n+ field=models.IntegerField(choices=[(0, 'Unknown'), (1, 'New Record'), (2, 'Merged Record'), (3, 'Duplicate Record'), (4, 'Delete Record')], default=0, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='rule',\n+ name='data_type',\n+ field=models.IntegerField(choices=[(0, 'number'), (1, 'string'), (2, 'date'), (3, 'year'), (4, 'area'), (5, 'eui')], null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='rule',\n+ name='rule_type',\n+ field=models.IntegerField(choices=[(0, 'default'), (1, 'custom')], null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='rule',\n+ name='severity',\n+ field=models.IntegerField(choices=[(0, 'error'), (1, 'warning')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='rule',\n+ name='table_name',\n+ field=models.CharField(blank=True, default='PropertyState', max_length=200),\n+ ),\n+ migrations.AlterField(\n+ model_name='statuslabel',\n+ name='color',\n+ field=models.CharField(choices=[('red', 'red'), ('blue', 'blue'), ('light blue', 'light blue'), ('green', 'green'), ('white', 'white'), ('orange', 'orange'), ('gray', 'gray')], default='green', max_length=30, verbose_name='compliance_type'),\n+ ),\n+ migrations.AlterField(\n+ model_name='taxlotstate',\n+ name='data_state',\n+ field=models.IntegerField(choices=[(0, 'Unknown'), (1, 'Post Import'), (2, 'Post Mapping'), (3, 'Post Matching'), (4, 'Flagged for Deletion')], default=0),\n+ ),\n+ migrations.AlterField(\n+ model_name='taxlotstate',\n+ name='merge_state',\n+ field=models.IntegerField(choices=[(0, 'Unknown'), (1, 'New Record'), (2, 'Merged Record'), (3, 'Duplicate Record'), (4, 'Delete Record')], default=0, null=True),\n+ ),\n+ migrations.AlterField(\n+ model_name='unit',\n+ name='unit_type',\n+ field=models.IntegerField(choices=[(1, 'String'), (6, 'Integer'), (3, 'Float'), (4, 'Date'), (5, 'Datetime')], default=1),\n+ ),\n+ ]\ndiff --git a/seed/models/building_file.py b/seed/models/building_file.py\n--- a/seed/models/building_file.py\n+++ b/seed/models/building_file.py\n@@ -95,7 +95,7 @@ def process(self, organization_id, cycle, property_view=None):\n Parser = self.BUILDING_FILE_PARSERS.get(self.file_type, None)\n if not Parser:\n acceptable_file_types = ', '.join(\n- map(dict(self.BUILDING_FILE_TYPES).get, self.BUILDING_FILE_PARSERS.keys())\n+ map(dict(self.BUILDING_FILE_TYPES).get, list(self.BUILDING_FILE_PARSERS.keys()))\n )\n return False, None, None, \"File format was not one of: {}\".format(acceptable_file_types)\n \n@@ -189,8 +189,8 @@ def process(self, organization_id, cycle, property_view=None):\n for s in data.get('scenarios', []):\n # measures = models.ManyToManyField(PropertyMeasure)\n \n- # {'reference_case': u'Baseline', 'annual_savings_site_energy': None,\n- # 'measures': [], 'id': u'Baseline', 'name': u'Baseline'}\n+ # {'reference_case': 'Baseline', 'annual_savings_site_energy': None,\n+ # 'measures': [], 'id': 'Baseline', 'name': 'Baseline'}\n \n scenario, _ = Scenario.objects.get_or_create(\n name=s.get('name'),\ndiff --git a/seed/models/certification.py b/seed/models/certification.py\n--- a/seed/models/certification.py\n+++ b/seed/models/certification.py\n@@ -17,6 +17,7 @@\n from django.conf import settings\n from django.core.exceptions import ValidationError\n from django.contrib.postgres.fields import JSONField\n+from past.builtins import basestring\n \n from seed.lib.superperms.orgs.models import Organization\n from seed.models.auditlog import (\n@@ -49,29 +50,29 @@ class GreenAssessment(models.Model):\n recognition_type n/a Assessment Recognition Type\n description n/a n/a\n \"\"\"\n- AWARD = \"AWD\"\n- CERTIFICATION = \"CRT\"\n- LABEL = \"LBL\"\n- PARTICIPANT = \"PRT\"\n- RATING = \"RAT\"\n- SCORE = \"SCR\"\n- ZERO = \"ZER\"\n+ AWARD = 'AWD'\n+ CERTIFICATION = 'CRT'\n+ LABEL = 'LBL'\n+ PARTICIPANT = 'PRT'\n+ RATING = 'RAT'\n+ SCORE = 'SCR'\n+ ZERO = 'ZER'\n RECOGNITION_TYPE_CHOICES = (\n- (AWARD, \"Award\"),\n- (CERTIFICATION, \"Certification\"),\n- (LABEL, \"Label\"),\n- (PARTICIPANT, \"Participant\"),\n- (RATING, \"Rating\"),\n- (SCORE, \"Score\"),\n- (ZERO, \"Zero Energy Ready Home\")\n+ (AWARD, 'Award'),\n+ (CERTIFICATION, 'Certification'),\n+ (LABEL, 'Label'),\n+ (PARTICIPANT, 'Participant'),\n+ (RATING, 'Rating'),\n+ (SCORE, 'Score'),\n+ (ZERO, 'Zero Energy Ready Home')\n )\n # A DOE Zero Energy Ready Home is a high performance home which is so energy\n # efficient, that a renewable energy system can offset all or most of its\n # annual energy consumption.\n \n- def __unicode__(self):\n+ def __str__(self):\n # pylint:disable=no-member\n- return u\"{}, {}, {}\".format(\n+ return '{}, {}, {}'.format(\n self.award_body, self.name,\n self.get_recognition_type_display()\n )\n@@ -97,7 +98,7 @@ def __unicode__(self):\n )\n \n class Meta:\n- unique_together = (\"organization\", \"name\", \"award_body\")\n+ unique_together = ('organization', 'name', 'award_body')\n \n \n class GreenAssessmentProperty(models.Model):\n@@ -146,8 +147,8 @@ class GreenAssessmentProperty(models.Model):\n 'date': ('GreenVerification{}Date', None)\n }\n \n- def __unicode__(self):\n- return u\"{}, {}: {}\".format(\n+ def __str__(self):\n+ return '{}, {}: {}'.format(\n self.body, self.name, self.metric if self.metric else self.rating\n )\n \n@@ -315,7 +316,7 @@ def to_bedes_dict(self):\n Return a dict where keys are BEDES compatible names.\n \"\"\"\n bedes_dict = {}\n- for key, val in self.MAPPING.iteritems():\n+ for key, val in self.MAPPING.items():\n field = val[1]\n if field:\n bedes_dict[field] = getattr(self, key)\n@@ -340,7 +341,7 @@ def to_reso_dict(self, sub_name=False):\n sub = ''\n url_field = 'GreenVerification{}URL'.format(sub)\n reso_dict = {}\n- for key, val in self.MAPPING.iteritems():\n+ for key, val in self.MAPPING.items():\n field = val[0]\n if field == 'GreenBuildingVerificationType':\n reso_dict[field] = self.name\ndiff --git a/seed/models/column_list_settings.py b/seed/models/column_list_settings.py\n--- a/seed/models/column_list_settings.py\n+++ b/seed/models/column_list_settings.py\n@@ -46,7 +46,7 @@ class ColumnListSetting(models.Model):\n \n @classmethod\n def return_columns(cls, organization_id, profile_id, inventory_type='properties'):\n- '''\n+ \"\"\"\n Return a list of columns based on the profile_id. If the profile ID doesn't exist, then it will return\n the list of raw database fields for the organization (i.e. all the fields).\n \n@@ -54,7 +54,7 @@ def return_columns(cls, organization_id, profile_id, inventory_type='properties'\n :param profile_id:\n :param inventory_type:\n :return:\n- '''\n+ \"\"\"\n try:\n profile = ColumnListSetting.objects.get(\n organization=organization_id,\ndiff --git a/seed/models/column_list_settings_columns.py b/seed/models/column_list_settings_columns.py\n--- a/seed/models/column_list_settings_columns.py\n+++ b/seed/models/column_list_settings_columns.py\n@@ -21,5 +21,5 @@ class ColumnListSettingColumn(models.Model):\n order = models.IntegerField(null=True)\n pinned = models.BooleanField(default=False)\n \n- def __unicode__(self):\n+ def __str__(self):\n return self.column_list_setting.name + \" %s %s\".format(self.order, self.pinned)\ndiff --git a/seed/models/column_mappings.py b/seed/models/column_mappings.py\n--- a/seed/models/column_mappings.py\n+++ b/seed/models/column_mappings.py\n@@ -121,6 +121,9 @@ class ColumnMapping(models.Model):\n column_raw = models.ManyToManyField('Column', related_name='raw_mappings', blank=True, )\n column_mapped = models.ManyToManyField('Column', related_name='mapped_mappings', blank=True, )\n \n+ # This field is the database column which allows checks for delimited values (e.g. a;b;c;d)\n+ DELIMITED_FIELD = ('TaxLotState', 'jurisdiction_tax_lot_id', 'Jurisdiction Tax Lot ID', False)\n+\n def is_direct(self):\n \"\"\"\n Returns True if the ColumnMapping is a direct mapping from imported\n@@ -170,8 +173,8 @@ def save(self, *args, **kwargs):\n # We must create it before we prune older references.\n self.remove_duplicates(self.column_raw.all())\n \n- def __unicode__(self):\n- return u'{0}: {1} - {2}'.format(\n+ def __str__(self):\n+ return '{0}: {1} - {2}'.format(\n self.pk, self.column_raw.all(), self.column_mapped.all()\n )\n \n@@ -188,10 +191,10 @@ def get_column_mappings(organization):\n ..code:\n \n {\n- u'Wookiee': (u'PropertyState', u'Dothraki', 'DisplayName', True),\n- u'Ewok': (u'TaxLotState', u'Hattin', 'DisplayName', True),\n- u'eui': (u'PropertyState', u'site_eui', 'DisplayName', True),\n- u'address': (u'TaxLotState', u'address', 'DisplayName', True)\n+ 'Wookiee': ('PropertyState', 'Dothraki', 'DisplayName', True),\n+ 'Ewok': ('TaxLotState', 'Hattin', 'DisplayName', True),\n+ 'eui': ('PropertyState', 'site_eui', 'DisplayName', True),\n+ 'address': ('TaxLotState', 'address', 'DisplayName', True)\n }\n \n :param organization: instance, Organization.\n@@ -238,7 +241,7 @@ def get_column_mappings_by_table_name(organization):\n data, _ = ColumnMapping.get_column_mappings(organization)\n \n tables = set()\n- for k, v in data.iteritems():\n+ for k, v in data.items():\n tables.add(v[0])\n \n # initialize the new container to store the results\n@@ -247,19 +250,19 @@ def get_column_mappings_by_table_name(organization):\n for t in tables:\n container[t] = {}\n \n- for k, v in data.iteritems():\n+ for k, v in data.items():\n container[v[0]][k] = v\n \n # Container will be in the format:\n #\n # container = {\n- # u'PropertyState': {\n- # u'Wookiee': (u'PropertyState', u'Dothraki'),\n- # u'eui': (u'PropertyState', u'site_eui'),\n+ # 'PropertyState': {\n+ # 'Wookiee': ('PropertyState', 'Dothraki'),\n+ # 'eui': ('PropertyState', 'site_eui'),\n # },\n- # u'TaxLotState': {\n- # u'address': (u'TaxLotState', u'address'),\n- # u'Ewok': (u'TaxLotState', u'Hattin'),\n+ # 'TaxLotState': {\n+ # 'address': ('TaxLotState', 'address'),\n+ # 'Ewok': ('TaxLotState', 'Hattin'),\n # }\n # }\n return container\ndiff --git a/seed/models/columns.py b/seed/models/columns.py\n--- a/seed/models/columns.py\n+++ b/seed/models/columns.py\n@@ -536,8 +536,8 @@ class Column(models.Model):\n merge_protection = models.IntegerField(choices=COLUMN_MERGE_PROTECTION,\n default=COLUMN_MERGE_FAVOR_NEW)\n \n- def __unicode__(self):\n- return u'{} - {}:{}'.format(self.pk, self.table_name, self.column_name)\n+ def __str__(self):\n+ return '{} - {}:{}'.format(self.pk, self.table_name, self.column_name)\n \n def clean(self):\n # Don't allow Columns that are not extra_data and not a field in the database\n@@ -934,7 +934,7 @@ def retrieve_db_types():\n try:\n types[c['column_name']] = MAP_TYPES[c['data_type']]\n except KeyError:\n- print \"could not find data_type for %s\" % c\n+ _log.error(\"could not find data_type for %s\" % c)\n types[c['column_name']] = ''\n \n return {\"types\": types}\n@@ -1134,7 +1134,7 @@ def retrieve_all(org_id, inventory_type=None, only_used=False):\n columns.append(new_c)\n \n # import json\n- # print json.dumps(columns, indent=2)\n+ # print(json.dumps(columns, indent=2))\n \n # validate that the field 'name' is unique.\n uniq = set()\n@@ -1155,16 +1155,16 @@ def retrieve_priorities(org_id):\n \n {\n 'PropertyState': {\n- u'lot_number': 'Favor New',\n- u'owner_address': 'Favor New',\n- u'extra_data': {\n- u'data_007': 'Favor New'\n+ 'lot_number': 'Favor New',\n+ 'owner_address': 'Favor New',\n+ 'extra_data': {\n+ 'data_007': 'Favor New'\n }\n 'TaxLotState': {\n- u'custom_id_1': 'Favor New',\n- u'block_number': 'Favor New',\n- u'extra_data': {\n- u'data_008': 'Favor New'\n+ 'custom_id_1': 'Favor New',\n+ 'block_number': 'Favor New',\n+ 'extra_data': {\n+ 'data_008': 'Favor New'\n }\n }\n \ndiff --git a/seed/models/cycles.py b/seed/models/cycles.py\n--- a/seed/models/cycles.py\n+++ b/seed/models/cycles.py\n@@ -22,8 +22,8 @@ class Cycle(models.Model):\n end = models.DateTimeField()\n created = models.DateTimeField(auto_now_add=True)\n \n- def __unicode__(self):\n- return u'Cycle - %s' % self.name\n+ def __str__(self):\n+ return 'Cycle - %s' % self.name\n \n class Meta:\n ordering = ['-created']\ndiff --git a/seed/models/data_quality.py b/seed/models/data_quality.py\n--- a/seed/models/data_quality.py\n+++ b/seed/models/data_quality.py\n@@ -11,9 +11,11 @@\n from random import randint\n \n import pytz\n+from builtins import str\n from django.apps import apps\n from django.db import models\n from django.utils.timezone import get_current_timezone, make_aware, make_naive\n+from past.builtins import basestring\n from quantityfield import ureg\n \n from seed.lib.superperms.orgs.models import Organization\n@@ -59,16 +61,16 @@ def format_pint_violation(rule, source_value):\n pretty_rule_units = pretty_units(rule_value)\n \n if incoming_data_units != rule_units:\n- formatted_value = u\"{:.1f} {} \u2192 {:.1f} {}\".format(\n+ formatted_value = '{:.1f} {} \u2192 {:.1f} {}'.format(\n source_value.magnitude, pretty_source_units,\n rule_value.magnitude, pretty_rule_units,\n )\n else:\n- formatted_value = u\"{:.1f} {}\".format(source_value.magnitude, pretty_rule_units)\n+ formatted_value = '{:.1f} {}'.format(source_value.magnitude, pretty_rule_units)\n if rule.min is not None:\n- formatted_min = u\"{:.1f} {}\".format(rule.min, pretty_rule_units)\n+ formatted_min = '{:.1f} {}'.format(rule.min, pretty_rule_units)\n if rule.max is not None:\n- formatted_max = u\"{:.1f} {}\".format(rule.max, pretty_rule_units)\n+ formatted_max = '{:.1f} {}'.format(rule.max, pretty_rule_units)\n return (formatted_value, formatted_min, formatted_max)\n \n \n@@ -300,7 +302,7 @@ class Rule(models.Model):\n severity = models.IntegerField(choices=SEVERITY, default=SEVERITY_ERROR)\n units = models.CharField(max_length=100, blank=True)\n \n- def __unicode__(self):\n+ def __str__(self):\n return json.dumps(obj_to_dict(self))\n \n def valid_text(self, value):\n@@ -311,7 +313,7 @@ def valid_text(self, value):\n :return: bool, True is valid, False if the value does not match\n \"\"\"\n \n- if self.data_type == self.TYPE_STRING and isinstance(value, (str, unicode)):\n+ if self.data_type == self.TYPE_STRING and isinstance(value, basestring):\n if self.text_match is None or self.text_match == '':\n return True\n \n@@ -342,7 +344,7 @@ def minimum_valid(self, value):\n rule_min = int(rule_min)\n elif isinstance(value, ureg.Quantity):\n rule_min = rule_min * ureg(self.units)\n- elif not isinstance(value, (str, unicode)):\n+ elif not isinstance(value, basestring):\n # must be a float...\n value = float(value)\n \n@@ -377,7 +379,7 @@ def maximum_valid(self, value):\n rule_max = int(rule_max)\n elif isinstance(value, ureg.Quantity):\n rule_max = rule_max * ureg(self.units)\n- elif not isinstance(value, (str, unicode)):\n+ elif not isinstance(value, basestring):\n # must be a float...\n value = float(value)\n \n@@ -399,7 +401,7 @@ def str_to_data_type(self, value):\n :return: typed value\n \"\"\"\n \n- if isinstance(value, (str, unicode)):\n+ if isinstance(value, basestring):\n # check if we can type cast the value\n try:\n # strip the string of any leading/trailing spaces\n@@ -460,7 +462,7 @@ def format_strings(self, value):\n f_max = str(self.max)\n elif isinstance(value, ureg.Quantity):\n f_value, f_min, f_max = format_pint_violation(self, value)\n- elif isinstance(value, (str, unicode)):\n+ elif isinstance(value, basestring):\n f_value = str(value)\n f_min = str(self.min)\n f_max = str(self.max)\n@@ -586,7 +588,7 @@ def check_data(self, record_type, rows):\n self._check(rules, row)\n \n # Prune the results will remove any entries that have zero data_quality_results\n- for k, v in self.results.items():\n+ for k, v in self.results.copy().items():\n if not v['data_quality_results']:\n del self.results[k]\n \n@@ -938,6 +940,6 @@ def retrieve_result_by_tax_lot_id(self, tax_lot_id):\n raise RuntimeError(\n \"More than 1 data quality results for tax lot id '{}'\".format(tax_lot_id))\n \n- def __unicode__(self):\n- return u'DataQuality ({}:{}) - Rule Count: {}'.format(self.pk, self.name,\n- self.rules.count())\n+ def __str__(self):\n+ return 'DataQuality ({}:{}) - Rule Count: {}'.format(self.pk, self.name,\n+ self.rules.count())\ndiff --git a/seed/models/deprecate.py b/seed/models/deprecate.py\n--- a/seed/models/deprecate.py\n+++ b/seed/models/deprecate.py\n@@ -4,13 +4,13 @@\n :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n :author\n \"\"\"\n-import types\n import unicodedata\n \n from django.contrib.contenttypes.fields import GenericRelation\n from django.contrib.postgres.fields import JSONField\n from django.db import models\n from django_extensions.db.models import TimeStampedModel\n+from past.builtins import basestring\n \n from seed.audit_logs.models import AuditLog\n from seed.data_importer.models import ImportFile, ImportRecord\n@@ -62,12 +62,12 @@ class CanonicalBuilding(models.Model):\n \n # ManyToManyField(StatusLabel)\n \n- def __unicode__(self):\n- snapshot_pk = \"None\"\n+ def __str__(self):\n+ snapshot_pk = 'None'\n if self.canonical_snapshot:\n snapshot_pk = self.canonical_snapshot.pk\n \n- return u\"pk: {0} - snapshot: {1} - active: {2}\".format(\n+ return 'pk: {0} - snapshot: {1} - active: {2}'.format(\n self.pk,\n snapshot_pk,\n self.active\n@@ -357,44 +357,44 @@ class BuildingSnapshot(TimeStampedModel):\n objects = JsonManager()\n \n def save(self, *args, **kwargs):\n- if self.tax_lot_id and isinstance(self.tax_lot_id, types.StringTypes):\n+ if self.tax_lot_id and isinstance(self.tax_lot_id, basestring):\n self.tax_lot_id = self.tax_lot_id[:128]\n- if self.pm_property_id and isinstance(self.pm_property_id, types.StringTypes):\n+ if self.pm_property_id and isinstance(self.pm_property_id, basestring):\n self.pm_property_id = self.pm_property_id[:128]\n- if self.custom_id_1 and isinstance(self.custom_id_1, types.StringTypes):\n+ if self.custom_id_1 and isinstance(self.custom_id_1, basestring):\n self.custom_id_1 = self.custom_id_1[:128]\n- if self.lot_number and isinstance(self.lot_number, types.StringTypes):\n+ if self.lot_number and isinstance(self.lot_number, basestring):\n self.lot_number = self.lot_number[:128]\n- if self.block_number and isinstance(self.block_number, types.StringTypes):\n+ if self.block_number and isinstance(self.block_number, basestring):\n self.block_number = self.block_number[:128]\n- if self.district and isinstance(self.district, types.StringTypes):\n+ if self.district and isinstance(self.district, basestring):\n self.district = self.district[:128]\n- if self.owner and isinstance(self.owner, types.StringTypes):\n+ if self.owner and isinstance(self.owner, basestring):\n self.owner = self.owner[:128]\n- if self.owner_email and isinstance(self.owner_email, types.StringTypes):\n+ if self.owner_email and isinstance(self.owner_email, basestring):\n self.owner_email = self.owner_email[:128]\n- if self.owner_telephone and isinstance(self.owner_telephone, types.StringTypes):\n+ if self.owner_telephone and isinstance(self.owner_telephone, basestring):\n self.owner_telephone = self.owner_telephone[:128]\n- if self.owner_address and isinstance(self.owner_address, types.StringTypes):\n+ if self.owner_address and isinstance(self.owner_address, basestring):\n self.owner_address = self.owner_address[:128]\n- if self.owner_city_state and isinstance(self.owner_city_state, types.StringTypes):\n+ if self.owner_city_state and isinstance(self.owner_city_state, basestring):\n self.owner_city_state = self.owner_city_state[:128]\n- if self.owner_postal_code and isinstance(self.owner_postal_code, types.StringTypes):\n+ if self.owner_postal_code and isinstance(self.owner_postal_code, basestring):\n self.owner_postal_code = self.owner_postal_code[:128]\n- if self.property_name and isinstance(self.property_name, types.StringTypes):\n+ if self.property_name and isinstance(self.property_name, basestring):\n self.property_name = self.property_name[:255]\n- if self.address_line_1 and isinstance(self.address_line_1, types.StringTypes):\n+ if self.address_line_1 and isinstance(self.address_line_1, basestring):\n self.address_line_1 = self.address_line_1[:255]\n- if self.address_line_2 and isinstance(self.address_line_2, types.StringTypes):\n+ if self.address_line_2 and isinstance(self.address_line_2, basestring):\n self.address_line_2 = self.address_line_2[:255]\n- if self.city and isinstance(self.city, types.StringTypes):\n+ if self.city and isinstance(self.city, basestring):\n self.city = self.city[:255]\n- if self.postal_code and isinstance(self.postal_code, types.StringTypes):\n+ if self.postal_code and isinstance(self.postal_code, basestring):\n self.postal_code = self.postal_code[:255]\n- if self.state_province and isinstance(self.state_province, types.StringTypes):\n+ if self.state_province and isinstance(self.state_province, basestring):\n self.state_province = self.state_province[:255]\n if self.building_certification and isinstance(\n- self.building_certification, types.StringTypes): # NOQA\n+ self.building_certification, basestring): # NOQA\n self.building_certification = self.building_certification[:255]\n \n super(BuildingSnapshot, self).save(*args, **kwargs)\n@@ -412,7 +412,8 @@ def clean(self, *args, **kwargs):\n 'recent_sale_date'\n )\n custom_id_1 = getattr(self, 'custom_id_1')\n- if isinstance(custom_id_1, unicode):\n+ # TODO: PYTHON3 Check if unicode???\n+ if isinstance(custom_id_1, basestring):\n custom_id_1 = unicodedata.normalize('NFKD', custom_id_1).encode(\n 'ascii', 'ignore'\n )\n@@ -431,7 +432,7 @@ def to_dict(self, fields=None, include_related_data=True):\n if fields:\n model_fields, ed_fields = split_model_fields(self, fields)\n extra_data = self.extra_data\n- ed_fields = filter(lambda f: f in extra_data, ed_fields)\n+ ed_fields = list(filter(lambda f: f in extra_data, ed_fields))\n \n result = {\n field: getattr(self, field) for field in model_fields\n@@ -447,8 +448,8 @@ def to_dict(self, fields=None, include_related_data=True):\n )\n \n # should probably also return children, parents, and coparent\n- result['children'] = map(lambda c: c.id, self.children.all())\n- result['parents'] = map(lambda p: p.id, self.parents.all())\n+ result['children'] = list(map(lambda c: c.id, self.children.all()))\n+ result['parents'] = list(map(lambda p: p.id, self.parents.all()))\n result['co_parent'] = (self.co_parent and self.co_parent.pk)\n result['coparent'] = (self.co_parent and {\n field: self.co_parent.pk for field in ['pk', 'id']\n@@ -464,8 +465,8 @@ def to_dict(self, fields=None, include_related_data=True):\n \n return d\n \n- def __unicode__(self):\n- u_repr = u'id: {0}, pm_property_id: {1}, tax_lot_id: {2},' + \\\n+ def __str__(self):\n+ u_repr = 'id: {0}, pm_property_id: {1}, tax_lot_id: {2},' + \\\n ' confidence: {3}'\n return u_repr.format(\n self.pk, self.pm_property_id, self.tax_lot_id, self.confidence\ndiff --git a/seed/models/measures.py b/seed/models/measures.py\n--- a/seed/models/measures.py\n+++ b/seed/models/measures.py\n@@ -52,8 +52,8 @@ class Measure(models.Model):\n created = models.DateTimeField(auto_now_add=True)\n modified = models.DateTimeField(auto_now=True)\n \n- def __unicode__(self):\n- return u'Measure - %s.%s' % (self.category, self.name)\n+ def __str__(self):\n+ return 'Measure - %s.%s' % (self.category, self.name)\n \n class Meta:\n ordering = ['-created']\ndiff --git a/seed/models/models.py b/seed/models/models.py\n--- a/seed/models/models.py\n+++ b/seed/models/models.py\n@@ -108,28 +108,28 @@ class StatusLabel(TimeStampedModel):\n )\n \n DEFAULT_LABELS = [\n- \"Residential\",\n- \"Non-Residential\",\n- \"Violation\",\n- \"Compliant\",\n- \"Missing Data\",\n- \"Questionable Report\",\n- \"Update Bldg Info\",\n- \"Call\",\n- \"Email\",\n- \"High EUI\",\n- \"Low EUI\",\n- \"Exempted\",\n- \"Extension\",\n- \"Change of Ownership\",\n+ 'Residential',\n+ 'Non-Residential',\n+ 'Violation',\n+ 'Compliant',\n+ 'Missing Data',\n+ 'Questionable Report',\n+ 'Update Bldg Info',\n+ 'Call',\n+ 'Email',\n+ 'High EUI',\n+ 'Low EUI',\n+ 'Exempted',\n+ 'Extension',\n+ 'Change of Ownership',\n ]\n \n class Meta:\n unique_together = ('name', 'super_organization')\n ordering = ['-name']\n \n- def __unicode__(self):\n- return u\"{0} - {1}\".format(self.name, self.color)\n+ def __str__(self):\n+ return '{0} - {1}'.format(self.name, self.color)\n \n def to_dict(self):\n return obj_to_dict(self)\n@@ -142,13 +142,13 @@ class Compliance(TimeStampedModel):\n choices=COMPLIANCE_CHOICES,\n default=BENCHMARK_COMPLIANCE_CHOICE\n )\n- start_date = models.DateField(_(\"start_date\"), null=True, blank=True)\n- end_date = models.DateField(_(\"end_date\"), null=True, blank=True)\n- deadline_date = models.DateField(_(\"deadline_date\"), null=True, blank=True)\n+ start_date = models.DateField(_('start_date'), null=True, blank=True)\n+ end_date = models.DateField(_('end_date'), null=True, blank=True)\n+ deadline_date = models.DateField(_('deadline_date'), null=True, blank=True)\n project = models.ForeignKey(Project, verbose_name=_('Project'), )\n \n- def __unicode__(self):\n- return u\"Compliance %s for project %s\" % (\n+ def __str__(self):\n+ return 'Compliance %s for project %s' % (\n self.compliance_type, self.project\n )\n \n@@ -194,16 +194,16 @@ class Unit(models.Model):\n unit_name = models.CharField(max_length=255)\n unit_type = models.IntegerField(choices=UNIT_TYPES, default=STRING)\n \n- def __unicode__(self):\n- return u'{0} Format: {1}'.format(self.unit_name, self.unit_type)\n+ def __str__(self):\n+ return '{0} Format: {1}'.format(self.unit_name, self.unit_type)\n \n \n class EnumValue(models.Model):\n \"\"\"Individual Enumerated Type values.\"\"\"\n value_name = models.CharField(max_length=255)\n \n- def __unicode__(self):\n- return u'{0}'.format(self.value_name)\n+ def __str__(self):\n+ return '{0}'.format(self.value_name)\n \n \n class Enum(models.Model):\n@@ -213,14 +213,14 @@ class Enum(models.Model):\n EnumValue, blank=True, related_name='values'\n )\n \n- def __unicode__(self):\n+ def __str__(self):\n \"\"\"Just grab the first couple and the last enum_values to display.\"\"\"\n enums = list(self.enum_values.all()[0:3])\n enums_string = ', '.join(enums)\n if self.enum_values.count() > len(enums):\n enums_string.append(' ... {0}'.format(self.enum_values.last()))\n \n- return u'Enum: {0}: Values {1}'.format(\n+ return 'Enum: {0}: Values {1}'.format(\n self.enum_name, enums_string\n )\n \ndiff --git a/seed/models/projects.py b/seed/models/projects.py\n--- a/seed/models/projects.py\n+++ b/seed/models/projects.py\n@@ -78,8 +78,8 @@ def organization(self):\n \"\"\"For compliance with organization names in new data model.\"\"\"\n return self.super_organization\n \n- def __unicode__(self):\n- return u\"Project %s\" % (self.name,)\n+ def __str__(self):\n+ return \"Project %s\" % (self.name,)\n \n def get_compliance(self):\n if self.has_compliance:\n@@ -112,7 +112,7 @@ class Meta:\n verbose_name = _(\"project property view\")\n verbose_name_plural = _(\"project property views\")\n \n- def __unicode__(self):\n+ def __str__(self):\n return u\"{0} - {1}\".format(self.property_view, self.project.name)\n \n \n@@ -134,8 +134,8 @@ class ProjectTaxLotView(TimeStampedModel):\n class Meta:\n ordering = ['project', 'taxlot_view']\n unique_together = ('taxlot_view', 'project')\n- verbose_name = _(\"project taxlot view\")\n- verbose_name_plural = _(\"project taxlot views\")\n+ verbose_name = _('project taxlot view')\n+ verbose_name_plural = _('project taxlot views')\n \n- def __unicode__(self):\n- return u\"{0} - {1}\".format(self.taxlot_view, self.project.name)\n+ def __str__(self):\n+ return '{0} - {1}'.format(self.taxlot_view, self.project.name)\ndiff --git a/seed/models/properties.py b/seed/models/properties.py\n--- a/seed/models/properties.py\n+++ b/seed/models/properties.py\n@@ -5,12 +5,13 @@\n :author\n \"\"\"\n from __future__ import unicode_literals\n+from __future__ import absolute_import\n \n import copy\n import logging\n import re\n from os import path\n-\n+from past.builtins import basestring\n from django.apps import apps\n from django.contrib.postgres.fields import JSONField\n from django.db import IntegrityError\n@@ -20,11 +21,11 @@\n from django.forms.models import model_to_dict\n from quantityfield.fields import QuantityField\n \n+from .auditlog import AUDIT_IMPORT\n+from .auditlog import DATA_UPDATE_TYPE\n+from seed.data_importer.models import ImportFile\n # from seed.utils.cprofile import cprofile\n from seed.lib.mcm.cleaners import date_cleaner\n-from auditlog import AUDIT_IMPORT\n-from auditlog import DATA_UPDATE_TYPE\n-from seed.data_importer.models import ImportFile\n from seed.lib.superperms.orgs.models import Organization\n from seed.models import (\n Cycle,\n@@ -41,7 +42,6 @@\n from seed.utils.time import convert_datestr\n from seed.utils.time import convert_to_js_timestamp\n \n-\n _log = logging.getLogger(__name__)\n \n # Oops! we override a builtin in some of the models\n@@ -71,8 +71,8 @@ class Property(models.Model):\n class Meta:\n verbose_name_plural = 'properties'\n \n- def __unicode__(self):\n- return u'Property - %s' % (self.pk)\n+ def __str__(self):\n+ return 'Property - %s' % (self.pk)\n \n \n class PropertyState(models.Model):\n@@ -276,8 +276,8 @@ def promote(self, cycle, property_id=None):\n \n return None\n \n- def __unicode__(self):\n- return u'Property State - %s' % self.pk\n+ def __str__(self):\n+ return 'Property State - %s' % self.pk\n \n def clean(self):\n date_field_names = (\n@@ -288,11 +288,10 @@ def clean(self):\n )\n for field in date_field_names:\n value = getattr(self, field)\n- if value and isinstance(value, (str, unicode)):\n- print \"Saving %s which is a date time\" % field\n- print convert_datestr(value)\n- print date_cleaner(value)\n- # setattr(self, field, convert_datestr(value))\n+ if value and isinstance(value, basestring):\n+ _log.info(\"Saving %s which is a date time\" % field)\n+ _log.info(convert_datestr(value))\n+ _log.info(date_cleaner(value))\n \n def to_dict(self, fields=None, include_related_data=True):\n \"\"\"\n@@ -302,7 +301,7 @@ def to_dict(self, fields=None, include_related_data=True):\n if fields:\n model_fields, ed_fields = split_model_fields(self, fields)\n extra_data = self.extra_data\n- ed_fields = filter(lambda f: f in extra_data, ed_fields)\n+ ed_fields = list(filter(lambda f: f in extra_data, ed_fields))\n \n result = {\n field: getattr(self, field) for field in model_fields\n@@ -315,8 +314,8 @@ def to_dict(self, fields=None, include_related_data=True):\n result['id'] = result['pk'] = self.pk\n \n # should probably also return children, parents, and coparent\n- # result['children'] = map(lambda c: c.id, self.children.all())\n- # result['parents'] = map(lambda p: p.id, self.parents.all())\n+ # result['children'] = list(map(lambda c: c.id, self.children.all()))\n+ # result['parents'] = list(map(lambda p: p.id, self.parents.all()))\n # result['co_parent'] = (self.co_parent and self.co_parent.pk)\n # result['coparent'] = (self.co_parent and {\n # field: self.co_parent.pk for field in ['pk', 'id']\n@@ -404,7 +403,8 @@ def record_dict(log):\n \n while not done_searching:\n # if there is no parents, then break out immediately\n- if (log.parent1_id is None and log.parent2_id is None) or log.name == 'Manual Edit':\n+ if (\n+ log.parent1_id is None and log.parent2_id is None) or log.name == 'Manual Edit':\n break\n \n # initalize the tree to None everytime. If not new tree is found, then we will not iterate\n@@ -547,7 +547,8 @@ def coparent(cls, state_id):\n # important because the fields that were not queried will be deferred and require a new\n # query to retrieve.\n keep_fields = ['id', 'pm_property_id', 'pm_parent_property_id', 'custom_id_1', 'ubid',\n- 'address_line_1', 'address_line_2', 'city', 'state', 'postal_code', 'longitude', 'latitude',\n+ 'address_line_1', 'address_line_2', 'city', 'state', 'postal_code',\n+ 'longitude', 'latitude',\n 'lot_number', 'gross_floor_area', 'use_description', 'energy_score',\n 'site_eui', 'site_eui_modeled', 'property_notes', 'property_type',\n 'year_ending', 'owner', 'owner_email', 'owner_telephone', 'building_count',\n@@ -576,9 +577,12 @@ def merge_relationships(cls, merged_state, state1, state2):\n # collect the relationships\n no_measure_scenarios = [x for x in state2.scenarios.filter(measures__isnull=True)] + \\\n [x for x in state1.scenarios.filter(measures__isnull=True)]\n- building_files = [x for x in state2.building_files.all()] + [x for x in state1.building_files.all()]\n- simulations = [x for x in SimulationClass.objects.filter(property_state__in=[state1, state2])]\n- measures = [x for x in PropertyMeasureClass.objects.filter(property_state__in=[state1, state2])]\n+ building_files = [x for x in state2.building_files.all()] + [x for x in\n+ state1.building_files.all()]\n+ simulations = [x for x in\n+ SimulationClass.objects.filter(property_state__in=[state1, state2])]\n+ measures = [x for x in\n+ PropertyMeasureClass.objects.filter(property_state__in=[state1, state2])]\n \n # copy in the no measure scenarios\n for new_s in no_measure_scenarios:\n@@ -631,7 +635,7 @@ def merge_relationships(cls, merged_state, state1, state2):\n \n # grab the scenario that is attached to the orig measure and create a new connection\n for scenario in measure.scenario_set.all():\n- if scenario.pk not in scenario_measure_map.keys():\n+ if scenario.pk not in scenario_measure_map:\n scenario_measure_map[scenario.pk] = []\n scenario_measure_map[scenario.pk].append(new_measure.pk)\n \n@@ -680,8 +684,8 @@ class PropertyView(models.Model):\n \n # notes has a relationship here -- PropertyViews have notes, not the state, and not the property.\n \n- def __unicode__(self):\n- return u'Property View - %s' % self.pk\n+ def __str__(self):\n+ return 'Property View - %s' % self.pk\n \n class Meta:\n unique_together = ('property', 'cycle',)\ndiff --git a/seed/models/tax_lot_properties.py b/seed/models/tax_lot_properties.py\n--- a/seed/models/tax_lot_properties.py\n+++ b/seed/models/tax_lot_properties.py\n@@ -30,8 +30,8 @@ class TaxLotProperty(models.Model):\n # User controlled flag.\n primary = models.BooleanField(default=True)\n \n- def __unicode__(self):\n- return u'M2M Property View %s / TaxLot View %s' % (\n+ def __str__(self):\n+ return 'M2M Property View %s / TaxLot View %s' % (\n self.property_view_id, self.taxlot_view_id)\n \n class Meta:\n@@ -223,8 +223,7 @@ def get_related(cls, object_list, show_columns, columns_from_database):\n \n # Only add extra data columns if a settings profile was used\n if show_columns is not None:\n- related_dict = dict(\n- related_dict.items() +\n+ related_dict.update(\n TaxLotProperty.extra_data_to_dict_with_mapping(\n related_view.state.extra_data,\n related_column_name_mapping,\n@@ -262,7 +261,7 @@ def get_related(cls, object_list, show_columns, columns_from_database):\n \n # Filter out associated tax lots that are present but which do not have preferred\n none_in_jurisdiction_tax_lot_ids = None in jurisdiction_tax_lot_ids\n- jurisdiction_tax_lot_ids = filter(lambda x: x is not None, jurisdiction_tax_lot_ids)\n+ jurisdiction_tax_lot_ids = list(filter(lambda x: x is not None, jurisdiction_tax_lot_ids))\n \n if none_in_jurisdiction_tax_lot_ids:\n jurisdiction_tax_lot_ids.append('Missing')\n@@ -281,7 +280,7 @@ def get_related(cls, object_list, show_columns, columns_from_database):\n lookups['related_view_id']: getattr(join, lookups['related_view_id'])\n })\n \n- join_dict['notes_count'] = join_note_counts.get(obj.id, 0)\n+ join_dict['notes_count'] = join_note_counts.get(join.id, 0)\n \n # remove the measures from this view for now\n if join_dict.get('measures'):\n@@ -312,8 +311,7 @@ def get_related(cls, object_list, show_columns, columns_from_database):\n \n # Only add extra data columns if a settings profile was used\n if show_columns is not None:\n- obj_dict = dict(\n- obj_dict.items() +\n+ obj_dict.update(\n TaxLotProperty.extra_data_to_dict_with_mapping(\n obj.state.extra_data,\n obj_column_name_mapping,\ndiff --git a/seed/models/tax_lots.py b/seed/models/tax_lots.py\n--- a/seed/models/tax_lots.py\n+++ b/seed/models/tax_lots.py\n@@ -4,19 +4,20 @@\n :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n :author\n \"\"\"\n+from __future__ import absolute_import\n from __future__ import unicode_literals\n \n import logging\n import re\n from os import path\n \n+from .auditlog import AUDIT_IMPORT\n+from .auditlog import DATA_UPDATE_TYPE\n from django.contrib.postgres.fields import JSONField\n from django.db import models\n from django.db.models.signals import post_save\n from django.dispatch import receiver\n \n-from auditlog import AUDIT_IMPORT\n-from auditlog import DATA_UPDATE_TYPE\n from seed.data_importer.models import ImportFile\n from seed.lib.superperms.orgs.models import Organization\n from seed.models import (\n@@ -46,8 +47,8 @@ class TaxLot(models.Model):\n created = models.DateTimeField(auto_now_add=True)\n updated = models.DateTimeField(auto_now=True)\n \n- def __unicode__(self):\n- return u'TaxLot - %s' % self.pk\n+ def __str__(self):\n+ return 'TaxLot - %s' % self.pk\n \n \n class TaxLotState(models.Model):\n@@ -87,8 +88,8 @@ class Meta:\n ['import_file', 'data_state', 'merge_state']\n ]\n \n- def __unicode__(self):\n- return u'TaxLot State - %s' % self.pk\n+ def __str__(self):\n+ return 'TaxLot State - %s' % self.pk\n \n def promote(self, cycle):\n \"\"\"\n@@ -146,7 +147,7 @@ def to_dict(self, fields=None, include_related_data=True):\n if fields:\n model_fields, ed_fields = split_model_fields(self, fields)\n extra_data = self.extra_data\n- ed_fields = filter(lambda f: f in extra_data, ed_fields)\n+ ed_fields = list(filter(lambda f: f in extra_data, ed_fields))\n \n result = {\n field: getattr(self, field) for field in model_fields\n@@ -247,8 +248,7 @@ def record_dict(log):\n \n while not done_searching:\n # if there is no parents, then break out immediately\n- if (\n- log.parent1_id is None and log.parent2_id is None) or log.name == 'Manual Edit':\n+ if (log.parent1_id is None and log.parent2_id is None) or log.name == 'Manual Edit':\n break\n \n # initalize the tree to None everytime. If not new tree is found, then we will not iterate\n@@ -260,8 +260,7 @@ def record_dict(log):\n if log.parent2.name in ['Import Creation', 'Manual Edit']:\n record = record_dict(log.parent2)\n history.append(record)\n- elif log.parent2.name == 'System Match' and log.parent2.parent1.name == 'Import Creation' and \\\n- log.parent2.parent2.name == 'Import Creation':\n+ elif log.parent2.name == 'System Match' and log.parent2.parent1.name == 'Import Creation' and log.parent2.parent2.name == 'Import Creation':\n # Handle case where an import file matches within itself, and proceeds to match with\n # existing records\n record = record_dict(log.parent2.parent2)\n@@ -275,8 +274,7 @@ def record_dict(log):\n if log.parent1.name in ['Import Creation', 'Manual Edit']:\n record = record_dict(log.parent1)\n history.append(record)\n- elif log.parent1.name == 'System Match' and log.parent1.parent1.name == 'Import Creation' and \\\n- log.parent1.parent2.name == 'Import Creation':\n+ elif log.parent1.name == 'System Match' and log.parent1.parent1.name == 'Import Creation' and log.parent1.parent2.name == 'Import Creation':\n # Handle case where an import file matches within itself, and proceeds to match with\n # existing records\n record = record_dict(log.parent1.parent2)\n@@ -377,8 +375,8 @@ class TaxLotView(models.Model):\n \n # labels = models.ManyToManyField(StatusLabel)\n \n- def __unicode__(self):\n- return u'TaxLot View - %s' % self.pk\n+ def __str__(self):\n+ return 'TaxLot View - %s' % self.pk\n \n class Meta:\n unique_together = ('taxlot', 'cycle',)\n@@ -407,9 +405,7 @@ def property_views(self):\n # forwent the use of list comprehension to make the code more readable.\n # get the related property_view__state as well to save time, if needed.\n result = []\n- for tlp in TaxLotProperty.objects.filter(\n- cycle=self.cycle,\n- taxlot_view=self).select_related('property_view', 'property_view__state'):\n+ for tlp in TaxLotProperty.objects.filter(cycle=self.cycle, taxlot_view=self).select_related('property_view', 'property_view__state'):\n if tlp.taxlot_view:\n result.append(tlp.property_view)\n \ndiff --git a/seed/search.py b/seed/search.py\n--- a/seed/search.py\n+++ b/seed/search.py\n@@ -15,6 +15,7 @@\n \n from django.db.models import Q\n from django.http.request import RawPostDataException\n+from past.builtins import basestring\n \n from seed.lib.superperms.orgs.models import Organization\n from .models import (\n@@ -230,7 +231,7 @@ def filter_other_params(queryset, other_params, db_columns):\n \n # Build query as Q objects so we can AND and OR.\n query_filters = Q()\n- for k, v in other_params.iteritems():\n+ for k, v in other_params.items():\n in_columns = search_utils.is_column(k, db_columns)\n if in_columns and k != 'q' and v is not None and v != '' and v != []:\n exact_match = search_utils.is_exact_match(v)\n@@ -294,7 +295,7 @@ def filter_other_params(queryset, other_params, db_columns):\n queryset = queryset.none()\n \n # handle extra_data with json_query\n- for k, v in other_params.iteritems():\n+ for k, v in other_params.items():\n if (not search_utils.is_column(k, db_columns)) and k != 'q' and v:\n \n exact_match = search_utils.is_exact_match(v)\n@@ -315,7 +316,8 @@ def filter_other_params(queryset, other_params, db_columns):\n # Only return records that have the key in extra_data, but the\n # value is not empty.\n queryset = queryset.filter(\n- Q(**{'extra_data__at_%s__isnull' % k: False}) & ~Q(**{'extra_data__at_%s' % k: ''})\n+ Q(**{'extra_data__at_%s__isnull' % k: False}) & ~Q(\n+ **{'extra_data__at_%s' % k: ''})\n )\n elif exclude_filter:\n # Exclude this value\ndiff --git a/seed/serializers/certification.py b/seed/serializers/certification.py\n--- a/seed/serializers/certification.py\n+++ b/seed/serializers/certification.py\n@@ -11,6 +11,7 @@\n from datetime import timedelta\n \n from django.core.exceptions import ValidationError\n+from past.builtins import basestring\n from rest_framework import serializers\n \n from seed.models import (\n@@ -172,7 +173,7 @@ def create(self, validated_data):\n )\n initial_log = instance.initialize_audit_logs(\n user=user,\n- changed_fields=unicode(validated_data),\n+ changed_fields=str(validated_data),\n description=\"Created by api call.\"\n )\n GreenAssessmentURL.objects.bulk_create(\n@@ -202,7 +203,7 @@ def update(self, instance, validated_data):\n )\n log = instance.log(\n user=user,\n- changed_fields=unicode(validated_data),\n+ changed_fields=str(validated_data),\n description=\"Updated by api call.\"\n )\n # PATCH request, remove exisiting urls only if urls is supplied\ndiff --git a/seed/serializers/pint.py b/seed/serializers/pint.py\n--- a/seed/serializers/pint.py\n+++ b/seed/serializers/pint.py\n@@ -7,6 +7,7 @@\n \n import re\n \n+from builtins import str\n from django.core.serializers.json import DjangoJSONEncoder\n from quantityfield import ureg\n from rest_framework import serializers\n@@ -59,7 +60,7 @@ def apply_display_unit_preferences(org, pt_dict):\n API and collapse any Quantity objects present down to a straight float, per\n the organization preferences.\n \"\"\"\n- converted_dict = {k: collapse_unit(org, v) for k, v in pt_dict.iteritems()}\n+ converted_dict = {k: collapse_unit(org, v) for k, v in pt_dict.items()}\n \n return converted_dict\n \n@@ -69,7 +70,7 @@ def pretty_units(quantity):\n hack; can lose it when Pint gets something like a \"{:~U}\" format code\n see https://github.com/hgrecco/pint/pull/231\n \"\"\"\n- return u\"{:~P}\".format(quantity).split(\" \")[1]\n+ return '{:~P}'.format(quantity).split(' ')[1]\n \n \n def pretty_units_from_spec(unit_spec):\n@@ -89,14 +90,14 @@ def format_column_name(column_name, unit_spec):\n # strip the suffix; shouldn't have to do this when we've swapped over\n # the columns. The mere presence of a unit suffix will tell us in the UI\n # that this is a Pint-aware column\n- stripped_name = re.sub(' \\(pint\\)$', '', column_name, flags=re.IGNORECASE)\n- return stripped_name + u\" ({})\".format(display_units)\n+ stripped_name = re.sub(r' \\(pint\\)$', '', column_name, flags=re.IGNORECASE)\n+ return stripped_name + ' ({})'.format(display_units)\n \n try:\n- if column['dataType'] == \"area\":\n+ if column['dataType'] == 'area':\n column['displayName'] = format_column_name(\n column['displayName'], organization.display_units_area)\n- elif column['dataType'] == \"eui\":\n+ elif column['dataType'] == 'eui':\n column['displayName'] = format_column_name(\n column['displayName'], organization.display_units_eui)\n except KeyError:\ndiff --git a/seed/serializers/projects.py b/seed/serializers/projects.py\n--- a/seed/serializers/projects.py\n+++ b/seed/serializers/projects.py\n@@ -11,7 +11,7 @@\n )\n \n STATUS_LOOKUP = {\n- choice[0]: unicode(choice[1]).lower() for choice in Project.STATUS_CHOICES\n+ choice[0]: str(choice[1]).lower() for choice in Project.STATUS_CHOICES\n }\n \n \ndiff --git a/seed/serializers/properties.py b/seed/serializers/properties.py\n--- a/seed/serializers/properties.py\n+++ b/seed/serializers/properties.py\n@@ -13,6 +13,7 @@\n from django.apps import apps\n from django.db import models\n from django.utils.timezone import make_naive\n+from past.builtins import basestring\n from rest_framework import serializers\n from rest_framework.fields import empty\n \n@@ -595,11 +596,10 @@ def unflatten_values(vdict, fkeys):\n :param fkeys: field names for foreign key (e.g. state for state__city)\n :type fkeys: list\n \"\"\"\n- assert set(vdict.keys()).isdisjoint(set(fkeys)), \\\n- \"unflatten_values: {} has fields named in {}\".format(vdict, fkeys)\n+ assert set(list(vdict.keys())).isdisjoint(set(fkeys)), \"unflatten_values: {} has fields named in {}\".format(vdict, fkeys)\n idents = tuple([\"{}__\".format(fkey) for fkey in fkeys])\n newdict = vdict.copy()\n- for key, val in vdict.iteritems():\n+ for key, val in vdict.items():\n if key.startswith(idents):\n fkey, new_key = key.split('__', 1)\n subdict = newdict.setdefault(fkey, {})\ndiff --git a/seed/templatetags/breadcrumbs.py b/seed/templatetags/breadcrumbs.py\n--- a/seed/templatetags/breadcrumbs.py\n+++ b/seed/templatetags/breadcrumbs.py\n@@ -16,7 +16,6 @@\n from django.template import Node, Variable\n from django.template import VariableDoesNotExist\n from django.template.defaulttags import url\n-from django.utils.encoding import smart_unicode\n from django.utils.translation import ugettext as _\n \n _log = logging.getLogger(__name__)\n@@ -171,7 +170,6 @@ def render(self, context):\n \n else:\n title = title.strip(\"'\").strip('\"')\n- title = smart_unicode(title)\n \n url = None\n \n@@ -206,7 +204,6 @@ def render(self, context):\n title = ''\n else:\n title = title.strip(\"'\").strip('\"')\n- title = smart_unicode(title)\n \n url = self.url_node.render(context)\n # add ugettext function for title translation i18n\ndiff --git a/seed/token_generators.py b/seed/token_generators.py\n--- a/seed/token_generators.py\n+++ b/seed/token_generators.py\n@@ -81,8 +81,7 @@ def _make_token_with_timestamp(self, user, timestamp):\n login_timestamp = user.last_login.replace(microsecond=0, tzinfo=None)\n \n value = (\n- six.text_type(user.pk) + user.password +\n- six.text_type(login_timestamp) + six.text_type(timestamp)\n+ six.text_type(user.pk) + user.password + six.text_type(login_timestamp) + six.text_type(timestamp)\n )\n hash = salted_hmac(key_salt, value).hexdigest()[::2]\n return \"%s-%s\" % (ts_b36, hash)\ndiff --git a/seed/utils/address.py b/seed/utils/address.py\n--- a/seed/utils/address.py\n+++ b/seed/utils/address.py\n@@ -8,6 +8,7 @@\n import re\n \n import usaddress\n+from past.builtins import basestring\n from streetaddress import StreetAddressFormatter\n \n \n@@ -88,7 +89,11 @@ def normalize_address_str(address_val):\n if not address_val:\n return None\n \n- address_val = unicode(address_val).encode('utf-8')\n+ # encode the string as utf-8\n+ if not isinstance(address_val, basestring):\n+ address_val = str(address_val)\n+ else:\n+ address_val = str(address_val.encode('utf-8'))\n \n # Do some string replacements to remove odd characters that we come across\n replacements = {\ndiff --git a/seed/utils/api.py b/seed/utils/api.py\n--- a/seed/utils/api.py\n+++ b/seed/utils/api.py\n@@ -18,6 +18,7 @@\n PermissionDenied,\n ValidationError\n )\n+from past.builtins import basestring\n \n from seed.landing.models import SEEDUser as User\n from seed.lib.superperms.orgs.permissions import get_org_id, get_user_org\ndiff --git a/seed/utils/cache.py b/seed/utils/cache.py\n--- a/seed/utils/cache.py\n+++ b/seed/utils/cache.py\n@@ -9,7 +9,7 @@\n \n \n def make_key(key):\n- return unicode(django_cache.make_key(key))\n+ return str(django_cache.make_key(key))\n \n \n def set_cache_raw(key, data, timeout=DEFAULT_TIMEOUT):\ndiff --git a/seed/utils/generic.py b/seed/utils/generic.py\n--- a/seed/utils/generic.py\n+++ b/seed/utils/generic.py\n@@ -11,6 +11,7 @@\n \n from django.contrib.postgres.fields import JSONField\n from django.core import serializers\n+from past.builtins import basestring\n \n \n class MarkdownPackageDebugFilter(logging.Filter):\n@@ -45,7 +46,8 @@ def median(lst):\n if not lst:\n return\n index = (len(lst) - 1) // 2\n- if (len(lst) % 2):\n+ if len(lst) % 2:\n+ #\n return sorted(lst)[index]\n return (sorted(lst)[index] + sorted(lst)[index + 1]) / 2.0\n \n@@ -68,16 +70,16 @@ def obj_to_dict(obj, include_m2m=True):\n \n struct = json.loads(data)[0]\n response = struct['fields']\n- response[u'id'] = response[u'pk'] = struct['pk']\n- response[u'model'] = struct['model']\n+ response['id'] = response['pk'] = struct['pk']\n+ response['model'] = struct['model']\n # JSONField does not get serialized by `serialize`\n for f in obj._meta.fields:\n if isinstance(f, JSONField):\n e = getattr(obj, f.name)\n # PostgreSQL < 9.3 support -- this should never be run\n- while isinstance(e, unicode):\n+ while isinstance(e, basestring):\n e = json.loads(e)\n- response[unicode(f.name)] = e\n+ response[str(f.name)] = e\n return response\n \n \n@@ -89,7 +91,7 @@ def pp(model_obj):\n data = serializers.serialize('json', [model_obj, ])\n # from django.forms.models import model_to_dict\n # j = model_to_dict(model_obj)\n- print json.dumps(json.loads(data), indent=2)\n+ print(json.dumps(json.loads(data), indent=2))\n \n \n def json_serializer(obj):\ndiff --git a/seed/utils/properties.py b/seed/utils/properties.py\n--- a/seed/utils/properties.py\n+++ b/seed/utils/properties.py\n@@ -44,7 +44,7 @@ def diffupdate(old, new):\n \"\"\"Returns lists of fields changed\"\"\"\n changed_fields = []\n changed_extra_data = []\n- for k, v in new.iteritems():\n+ for k, v in new.items():\n if old.get(k, None) != v or k not in old:\n changed_fields.append(k)\n if 'extra_data' in changed_fields:\ndiff --git a/seed/utils/search.py b/seed/utils/search.py\n--- a/seed/utils/search.py\n+++ b/seed/utils/search.py\n@@ -4,12 +4,12 @@\n :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n :author 'Piper Merriam ==|=|>|>=|<|<=|<>|!|!=)' # operator\n- r'\\s*' # whitespace\n- r'(?P(?:-?[0-9]+)|(?:null))\\s*(?:,|$)' # numeric value or the string null\n- r')' # close expression grp\n+ r'\\s*' # whitespace\n+ r'(?P(?:-?[0-9]+)|(?:null))\\s*(?:,|$)' # numeric value or the string null\n+ r')' # close expression grp\n ))\n \n \n@@ -108,11 +108,11 @@ def is_numeric_expression(q):\n \n \n STRING_EXPRESSION_REGEX = re.compile((\n- r'(' # open expression grp\n- r'(?P==|(?)=|<>|!|!=)' # operator\n- r'\\s*' # whitespace\n- r'(?P\\'\\'|\"\"|null|[a-zA-Z0-9\\s]+)\\s*(?:,|$)' # open value grp\n- r')' # close expression grp\n+ r'(' # open expression grp\n+ r'(?P==|(?)=|<>|!|!=)' # operator\n+ r'\\s*' # whitespace\n+ r'(?P\\'\\'|\"\"|null|[a-zA-Z0-9\\s]+)\\s*(?:,|$)' # open value grp\n+ r')' # close expression grp\n ))\n \n \ndiff --git a/seed/utils/time.py b/seed/utils/time.py\n--- a/seed/utils/time.py\n+++ b/seed/utils/time.py\n@@ -10,6 +10,7 @@\n import dateutil\n import pytz\n from django.utils.timezone import make_aware\n+from past.builtins import basestring\n \n \n def convert_datestr(datestr, make_tz_aware=False):\ndiff --git a/seed/views/api.py b/seed/views/api.py\n--- a/seed/views/api.py\n+++ b/seed/views/api.py\n@@ -4,13 +4,14 @@\n # :copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n # :author\n \n+from django.http import JsonResponse\n+from rest_framework.decorators import api_view, permission_classes\n+from rest_framework.permissions import IsAuthenticatedOrReadOnly\n+\n from seed.decorators import ajax_request\n from seed.utils.api import (\n get_api_endpoints, format_api_docstring, api_endpoint\n )\n-from django.http import JsonResponse\n-from rest_framework.decorators import api_view, permission_classes\n-from rest_framework.permissions import IsAuthenticatedOrReadOnly\n \n \n @api_endpoint\n@@ -37,8 +38,7 @@ def get_api_schema(request):\n \n resp = {}\n for url, fn in endpoints.items():\n- desc = format_api_docstring(fn.func_doc)\n- endpoint_details = {'name': fn.func_name,\n- 'description': desc}\n+ desc = format_api_docstring(fn.__doc__)\n+ endpoint_details = {'name': fn.__name__, 'description': desc}\n resp[url] = endpoint_details\n return JsonResponse(resp)\ndiff --git a/seed/views/column_mappings.py b/seed/views/column_mappings.py\n--- a/seed/views/column_mappings.py\n+++ b/seed/views/column_mappings.py\n@@ -75,7 +75,6 @@ def destroy(self, request, *args, **kwargs):\n instance = self.get_object()\n instance.delete()\n except Http404:\n- # print e\n return JsonResponse({\n 'status': 'success',\n 'message': 'Column mapping with id and organization did not exist, nothing removed'\ndiff --git a/seed/views/columns.py b/seed/views/columns.py\n--- a/seed/views/columns.py\n+++ b/seed/views/columns.py\n@@ -67,37 +67,37 @@ def list(self, request):\n \"\"\"\n Retrieves all columns for the user's organization including the raw database columns. Will\n return all the columns across both the Property and Tax Lot tables. The related field will\n- be true if the column came from the other table that is not the \"inventory_type\" (which\n+ be true if the column came from the other table that is not the 'inventory_type' (which\n defaults to Property)\n \n- This is the same results as calling /api/v2//columns/?organization_id={}\n+ This is the same results as calling /api/v2//columns/?organization_id={}\n \n- Example: /api/v2/columns/?inventory_type=(property|taxlot)\\&organization_id={}\n+ Example: /api/v2/columns/?inventory_type=(property|taxlot)/&organization_id={}\n \n- type:\n- status:\n- required: true\n- type: string\n- description: Either success or error\n- columns:\n- required: true\n- type: array[column]\n- description: Returns an array where each item is a full column structure.\n- parameters:\n- - name: organization_id\n- description: The organization_id for this user's organization\n- required: true\n- paramType: query\n- - name: inventory_type\n- description: Which inventory type is being matched (for related fields and naming).\n- property or taxlot\n- required: true\n- paramType: query\n- - name: used_only\n- description: Determine whether or not to show only the used fields (i.e. only columns that have been mapped)\n- type: boolean\n- required: false\n- paramType: query\n+ type:\n+ status:\n+ required: true\n+ type: string\n+ description: Either success or error\n+ columns:\n+ required: true\n+ type: array[column]\n+ description: Returns an array where each item is a full column structure.\n+ parameters:\n+ - name: organization_id\n+ description: The organization_id for this user's organization\n+ required: true\n+ paramType: query\n+ - name: inventory_type\n+ description: Which inventory type is being matched (for related fields and naming).\n+ property or taxlot\n+ required: true\n+ paramType: query\n+ - name: used_only\n+ description: Determine whether or not to show only the used fields (i.e. only columns that have been mapped)\n+ type: boolean\n+ required: false\n+ paramType: query\n \"\"\"\n organization_id = self.get_organization(self.request)\n inventory_type = request.query_params.get('inventory_type', 'property')\ndiff --git a/seed/views/labels.py b/seed/views/labels.py\n--- a/seed/views/labels.py\n+++ b/seed/views/labels.py\n@@ -256,7 +256,7 @@ def put(self, request, inventory_type):\n if error:\n result = {\n 'status': 'error',\n- 'message': error.message\n+ 'message': str(error)\n }\n status_code = error.status_code\n else:\ndiff --git a/seed/views/main.py b/seed/views/main.py\n--- a/seed/views/main.py\n+++ b/seed/views/main.py\n@@ -14,6 +14,7 @@\n from django.contrib.auth.decorators import login_required, permission_required\n from django.http import JsonResponse\n from django.shortcuts import render\n+from past.builtins import basestring\n from rest_framework import status\n from rest_framework.decorators import api_view\n \n@@ -103,7 +104,7 @@ def version(request):\n \n return JsonResponse({\n 'version': manifest['version'],\n- 'sha': sha\n+ 'sha': sha.decode('utf-8')\n })\n \n \n@@ -250,7 +251,7 @@ def get_default_building_detail_columns(request):\n if columns == '{}' or isinstance(columns, dict):\n # Return empty result, telling the FE to show all.\n columns = []\n- if isinstance(columns, unicode):\n+ if isinstance(columns, basestring):\n # PostgreSQL 9.1 stores JSONField as unicode\n columns = json.loads(columns)\n \ndiff --git a/seed/views/portfoliomanager.py b/seed/views/portfoliomanager.py\n--- a/seed/views/portfoliomanager.py\n+++ b/seed/views/portfoliomanager.py\n@@ -11,7 +11,6 @@\n import json\n import logging\n import time\n-import urllib\n \n import requests\n import xmltodict\n@@ -20,6 +19,11 @@\n from rest_framework.decorators import list_route\n from rest_framework.viewsets import GenericViewSet\n \n+try:\n+ from urllib import quote # python2.x\n+except ImportError:\n+ from urllib.parse import quote # python3.x\n+\n _log = logging.getLogger(__name__)\n \n \n@@ -65,12 +69,12 @@ def template_list(self, request):\n possible_templates = pm.get_list_of_report_templates()\n except PMExcept as pme:\n return JsonResponse(\n- {'status': 'error', 'message': pme.message},\n+ {'status': 'error', 'message': str(pme)},\n status=status.HTTP_400_BAD_REQUEST\n )\n except Exception as e:\n return JsonResponse(\n- {'status': 'error', 'message': e.message},\n+ {'status': 'error', 'message': e},\n status=status.HTTP_400_BAD_REQUEST\n )\n return JsonResponse({'status': 'success', 'templates': possible_templates})\n@@ -122,7 +126,7 @@ def report(self, request):\n content = pm.generate_and_download_template_report(template)\n except PMExcept as pme:\n return JsonResponse(\n- {'status': 'error', 'message': pme.message},\n+ {'status': 'error', 'message': str(pme)},\n status=status.HTTP_400_BAD_REQUEST\n )\n try:\n@@ -154,7 +158,7 @@ def report(self, request):\n \n return JsonResponse({'status': 'success', 'properties': properties})\n except Exception as e:\n- return JsonResponse({'status': 'error', 'message': e.message},\n+ return JsonResponse({'status': 'error', 'message': e},\n status=status.HTTP_400_BAD_REQUEST)\n \n \n@@ -195,21 +199,21 @@ def login_and_set_cookie_header(self):\n raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n \n # This returns a 200 even if the credentials are bad, so I'm having to check some text in the response\n- if 'The username and/or password you entered is not correct. Please try again.' in response.content:\n- raise PMExcept(\"Unsuccessful response from login attempt; aborting. Check credentials.\")\n+ if 'The username and/or password you entered is not correct. Please try again.' in response.content.decode('utf-8'):\n+ raise PMExcept('Unsuccessful response from login attempt; aborting. Check credentials.')\n \n # Upon successful logging in, we should have received a cookie header that we can reuse later\n if 'Cookie' not in response.request.headers:\n- raise PMExcept(\"Could not find Cookie key in response headers; aborting.\")\n+ raise PMExcept('Could not find Cookie key in response headers; aborting.')\n cookie_header = response.request.headers['Cookie']\n if '=' not in cookie_header:\n- raise PMExcept(\"Malformed Cookie key in response headers; aborting.\")\n+ raise PMExcept('Malformed Cookie key in response headers; aborting.')\n cookie = cookie_header.split('=')[1]\n- _log.debug(\"Logged in and received cookie: \" + cookie)\n+ _log.debug('Logged in and received cookie: ' + cookie)\n \n # Prepare the fully authenticated headers\n self.authenticated_headers = {\n- \"Cookie\": \"JSESSIONID=\" + cookie + \"; org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=en\"\n+ 'Cookie': 'JSESSIONID=' + cookie + '; org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=en'\n }\n \n def get_list_of_report_templates(self):\n@@ -227,23 +231,23 @@ def get_list_of_report_templates(self):\n self.login_and_set_cookie_header()\n \n # Get the report templates\n- url = \"https://portfoliomanager.energystar.gov/pm/reports/templateTableRows\"\n+ url = 'https://portfoliomanager.energystar.gov/pm/reports/templateTableRows'\n try:\n response = requests.get(url, headers=self.authenticated_headers)\n except requests.exceptions.SSLError:\n- raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n+ raise PMExcept('SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.')\n if not response.status_code == status.HTTP_200_OK:\n- raise PMExcept(\"Unsuccessful response from report template rows query; aborting.\")\n+ raise PMExcept('Unsuccessful response from report template rows query; aborting.')\n try:\n template_object = json.loads(response.text)\n except ValueError:\n- raise PMExcept(\"Malformed JSON response from report template rows query; aborting.\")\n- _log.debug(\"Received the following JSON return: \" + json.dumps(template_object, indent=2))\n+ raise PMExcept('Malformed JSON response from report template rows query; aborting.')\n+ _log.debug('Received the following JSON return: ' + json.dumps(template_object, indent=2))\n \n # We need to parse the list of report templates\n if 'rows' not in template_object:\n- raise PMExcept(\"Could not find rows key in template response; aborting.\")\n- templates = template_object[\"rows\"]\n+ raise PMExcept('Could not find rows key in template response; aborting.')\n+ templates = template_object['rows']\n template_response = []\n sorted_templates = sorted(templates, key=lambda x: x['name'])\n for t in sorted_templates:\n@@ -251,11 +255,11 @@ def get_list_of_report_templates(self):\n t['display_name'] = t['name']\n template_response.append(t)\n if 'id' not in t or 'name' not in t:\n- _log.debug(\"Template from Portfolio Manager was missing id or name field\")\n+ _log.debug('Template from Portfolio Manager was missing id or name field')\n continue\n- _log.debug(\"Found template,\\n id=\" + str(t[\"id\"]) + \"\\n name=\" + str(t[\"name\"]))\n+ _log.debug('Found template,\\n id=' + str(t['id']) + '\\n name=' + str(t['name']))\n if 'hasChildrenRows' in t and t['hasChildrenRows']:\n- _log.debug(\"Template row has children data request rows, trying to get them now\")\n+ _log.debug('Template row has children data request rows, trying to get them now')\n children_url = \\\n 'https://portfoliomanager.energystar.gov/pm/reports/templateTableChildrenRows/TEMPLATE/{0}'.format(\n t['id']\n@@ -263,15 +267,15 @@ def get_list_of_report_templates(self):\n # SSL errors would have been caught earlier in this function and raised, so this should be ok\n children_response = requests.get(children_url, headers=self.authenticated_headers)\n if not children_response.status_code == status.HTTP_200_OK:\n- raise PMExcept(\"Unsuccessful response from child row template lookup; aborting.\")\n+ raise PMExcept('Unsuccessful response from child row template lookup; aborting.')\n try:\n child_object = json.loads(children_response.text)\n except ValueError:\n- raise PMExcept(\"Malformed JSON response from report template child row query; aborting.\")\n- _log.debug(\"Received the following child JSON return: \" + json.dumps(child_object, indent=2))\n+ raise PMExcept('Malformed JSON response from report template child row query; aborting.')\n+ _log.debug('Received the following child JSON return: ' + json.dumps(child_object, indent=2))\n for child_row in child_object:\n child_row['z_seed_child_row'] = True\n- child_row['display_name'] = \" - %s\" % child_row['name']\n+ child_row['display_name'] = ' - %s' % child_row['name']\n template_response.append(child_row)\n return template_response\n \n@@ -312,20 +316,20 @@ def generate_and_download_template_report(self, matched_template):\n self.login_and_set_cookie_header()\n \n # We should then trigger generation of the report we selected\n- template_report_id = matched_template[\"id\"]\n- generation_url = \"https://portfoliomanager.energystar.gov/pm/reports/generateData/\" + str(template_report_id)\n+ template_report_id = matched_template['id']\n+ generation_url = 'https://portfoliomanager.energystar.gov/pm/reports/generateData/' + str(template_report_id)\n try:\n response = requests.post(generation_url, headers=self.authenticated_headers)\n except requests.exceptions.SSLError:\n- raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n+ raise PMExcept('SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.')\n if not response.status_code == status.HTTP_200_OK:\n- raise PMExcept(\"Unsuccessful response from POST to trigger report generation; aborting.\")\n- _log.debug(\"Triggered report generation,\\n status code=\" + str(\n- response.status_code) + \"\\n response headers=\" + str(\n+ raise PMExcept('Unsuccessful response from POST to trigger report generation; aborting.')\n+ _log.debug('Triggered report generation,\\n status code=' + str(\n+ response.status_code) + '\\n response headers=' + str(\n response.headers))\n \n # Now we need to wait while the report is being generated\n- url = \"https://portfoliomanager.energystar.gov/pm/reports/templateTableRows\"\n+ url = 'https://portfoliomanager.energystar.gov/pm/reports/templateTableRows'\n attempt_count = 0\n report_generation_complete = False\n while attempt_count < 10:\n@@ -333,10 +337,10 @@ def generate_and_download_template_report(self, matched_template):\n try:\n response = requests.get(url, headers=self.authenticated_headers)\n except requests.exceptions.SSLError:\n- raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n+ raise PMExcept('SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.')\n if not response.status_code == status.HTTP_200_OK:\n- raise PMExcept(\"Unsuccessful response from GET trying to check status on generated report; aborting.\")\n- template_objects = json.loads(response.text)[\"rows\"]\n+ raise PMExcept('Unsuccessful response from GET trying to check status on generated report; aborting.')\n+ template_objects = json.loads(response.text)['rows']\n for t in template_objects:\n if 'id' in t and t['id'] == matched_template['id']:\n this_matched_template = t\n@@ -344,33 +348,33 @@ def generate_and_download_template_report(self, matched_template):\n else:\n this_matched_template = None\n if not this_matched_template:\n- raise PMExcept(\"Couldn't find a match for this report template id...odd at this point\")\n- if this_matched_template[\"pending\"] == 1:\n+ raise PMExcept('Could not find a match for this report template id... odd at this point')\n+ if this_matched_template['pending'] == 1:\n time.sleep(2)\n continue\n else:\n report_generation_complete = True\n break\n if report_generation_complete:\n- _log.debug(\"Report appears to have been generated successfully (attempt_count=\" + str(attempt_count) + \")\")\n+ _log.debug('Report appears to have been generated successfully (attempt_count=' + str(attempt_count) + ')')\n else:\n- raise PMExcept(\"Template report not generated successfully; aborting.\")\n+ raise PMExcept('Template report not generated successfully; aborting.')\n \n # Finally we can download the generated report\n- template_report_name = urllib.quote(matched_template[\"name\"]) + \".xml\"\n+ template_report_name = quote(matched_template['name']) + '.xml'\n sanitized_template_report_name = template_report_name.replace('/', '_')\n- d_url = \"https://portfoliomanager.energystar.gov/pm/reports/template/download/%s/XML/false/%s?testEnv=false\" % (\n+ d_url = 'https://portfoliomanager.energystar.gov/pm/reports/template/download/%s/XML/false/%s?testEnv=false' % (\n str(template_report_id), sanitized_template_report_name\n )\n try:\n response = requests.get(d_url, headers=self.authenticated_headers)\n except requests.exceptions.SSLError:\n- raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n+ raise PMExcept('SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.')\n if not response.status_code == status.HTTP_200_OK:\n- error_message = \"Unsuccessful response from GET trying to download generated report;\"\n- error_message += \" Generated report name: \" + template_report_name + \";\"\n- error_message += \" Tried to download report from URL: \" + d_url + \";\"\n- error_message += \" Returned with a status code = \" + response.status_code + \";\"\n+ error_message = 'Unsuccessful response from GET trying to download generated report;'\n+ error_message += ' Generated report name: ' + template_report_name + ';'\n+ error_message += ' Tried to download report from URL: ' + d_url + ';'\n+ error_message += ' Returned with a status code = ' + response.status_code + ';'\n raise PMExcept(error_message)\n return response.content\n \n@@ -391,22 +395,22 @@ def generate_and_download_child_data_request_report(self, matched_data_request):\n self.login_and_set_cookie_header()\n \n # We should then trigger generation of the report we selected\n- template_report_id = matched_data_request[\"id\"]\n+ template_report_id = matched_data_request['id']\n \n # Get the name of the report template, first read the name from the dictionary, then encode it and url quote it\n- template_report_name = matched_data_request[\"name\"] + u\".xml\"\n- template_report_name = urllib.quote(template_report_name.encode('utf8'))\n+ template_report_name = matched_data_request['name'] + '.xml'\n+ template_report_name = quote(template_report_name.encode('utf8'))\n sanitized_template_report_name = template_report_name.replace('/', '_')\n \n # Generate the url to download this file\n- url = \"https://portfoliomanager.energystar.gov/pm/reports/template/download/{0}/XML/false/{1}?testEnv=false\"\n+ url = 'https://portfoliomanager.energystar.gov/pm/reports/template/download/{0}/XML/false/{1}?testEnv=false'\n download_url = url.format(\n str(template_report_id), sanitized_template_report_name\n )\n try:\n response = requests.get(download_url, headers=self.authenticated_headers)\n except requests.exceptions.SSLError:\n- raise PMExcept(\"SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.\")\n+ raise PMExcept('SSL Error in Portfolio Manager Query; check VPN/Network/Proxy.')\n if not response.status_code == status.HTTP_200_OK:\n- raise PMExcept(\"Unsuccessful response from GET trying to download generated report; aborting.\")\n+ raise PMExcept('Unsuccessful response from GET trying to download generated report; aborting.')\n return response.content\ndiff --git a/seed/views/projects.py b/seed/views/projects.py\n--- a/seed/views/projects.py\n+++ b/seed/views/projects.py\n@@ -53,12 +53,12 @@\n PROJECT_KEYS = ['name', 'description', 'status', 'is_compliance']\n \n COMPLIANCE_LOOKUP = {\n- unicode(choice[1]).lower(): choice[0]\n+ str(choice[1]).lower(): choice[0]\n for choice in COMPLIANCE_CHOICES\n }\n \n STATUS_LOOKUP = {\n- unicode(choice[1]).lower(): choice[0] for choice in Project.STATUS_CHOICES\n+ str(choice[1]).lower(): choice[0] for choice in Project.STATUS_CHOICES\n }\n \n PLURALS = {'property': 'properties', 'taxlot': 'taxlots'}\ndiff --git a/seed/views/properties.py b/seed/views/properties.py\n--- a/seed/views/properties.py\n+++ b/seed/views/properties.py\n@@ -956,7 +956,7 @@ def update(self, request, pk=None):\n new_property_state_data = data['state']\n \n # set empty strings to None\n- for key, val in new_property_state_data.iteritems():\n+ for key, val in new_property_state_data.items():\n if val == '':\n new_property_state_data[key] = None\n \n@@ -973,7 +973,7 @@ def update(self, request, pk=None):\n state=property_view.state\n ).order_by('-id').first()\n \n- if 'extra_data' in new_property_state_data.keys():\n+ if 'extra_data' in new_property_state_data:\n property_state_data['extra_data'].update(\n new_property_state_data.pop('extra_data'))\n property_state_data.update(new_property_state_data)\n@@ -1308,7 +1308,7 @@ def diffupdate(old, new):\n \"\"\"Returns lists of fields changed\"\"\"\n changed_fields = []\n changed_extra_data = []\n- for k, v in new.iteritems():\n+ for k, v in new.items():\n if old.get(k, None) != v or k not in old:\n changed_fields.append(k)\n if 'extra_data' in changed_fields:\ndiff --git a/seed/views/reports.py b/seed/views/reports.py\n--- a/seed/views/reports.py\n+++ b/seed/views/reports.py\n@@ -7,6 +7,7 @@\n from collections import defaultdict\n \n import dateutil\n+from past.builtins import basestring\n from rest_framework import status\n from rest_framework.parsers import JSONParser\n from rest_framework.renderers import JSONRenderer\n@@ -16,13 +17,13 @@\n from seed.decorators import (\n DecoratorMixin,\n )\n+from seed.lib.superperms.orgs.models import (\n+ Organization\n+)\n from seed.models import (\n Cycle,\n PropertyView\n )\n-from seed.lib.superperms.orgs.models import (\n- Organization\n-)\n from seed.serializers.pint import (\n apply_display_unit_preferences,\n )\n@@ -42,13 +43,13 @@ def get_cycles(self, start, end):\n try:\n start = int(start)\n end = int(end)\n- except ValueError as error:\n+ except ValueError as error: # noqa\n # assume string is JS date\n if isinstance(start, basestring):\n start_datetime = dateutil.parser.parse(start)\n end_datetime = dateutil.parser.parse(end)\n else:\n- raise error\n+ raise Exception('Date is not a string')\n # get date times from cycles\n if isinstance(start, int):\n cycle = Cycle.objects.get(pk=start, organization_id=organization_id)\n@@ -300,7 +301,7 @@ def aggregate_gross_floor_area(self, yr_e, buildings):\n 900000: '900-999k',\n 1000000: 'over 1,000k',\n }\n- max_bin = max(y_display_map.keys())\n+ max_bin = max(y_display_map)\n \n # Group buildings in this year_ending group into ranges\n grouped_ranges = defaultdict(list)\ndiff --git a/seed/views/tax_lot_properties.py b/seed/views/tax_lot_properties.py\n--- a/seed/views/tax_lot_properties.py\n+++ b/seed/views/tax_lot_properties.py\n@@ -144,7 +144,7 @@ def csv(self, request):\n \n # check the first item in the header and make sure that it isn't ID (it can be id, or iD).\n # excel doesn't like the first item to be ID in a CSV\n- header = column_name_mappings.values()\n+ header = list(column_name_mappings.values())\n if header[0] == 'ID':\n header[0] = 'id'\n writer.writerow(header)\n@@ -152,7 +152,7 @@ def csv(self, request):\n # iterate over the results to preserve column order and write row.\n for datum in data:\n row = []\n- for column in column_name_mappings.keys():\n+ for column in column_name_mappings:\n row_result = datum.get(column, None)\n \n # Try grabbing the value out of the related field if not found yet.\ndiff --git a/seed/views/taxlots.py b/seed/views/taxlots.py\n--- a/seed/views/taxlots.py\n+++ b/seed/views/taxlots.py\n@@ -760,7 +760,7 @@ def update(self, request, pk):\n new_taxlot_state_data = data['state']\n \n # set empty strings to None\n- for key, val in new_taxlot_state_data.iteritems():\n+ for key, val in new_taxlot_state_data.items():\n if val == '':\n new_taxlot_state_data[key] = None\n \n@@ -777,7 +777,7 @@ def update(self, request, pk):\n state=taxlot_view.state\n ).order_by('-id').first()\n \n- if 'extra_data' in new_taxlot_state_data.keys():\n+ if 'extra_data' in new_taxlot_state_data:\n taxlot_state_data['extra_data'].update(new_taxlot_state_data.pop('extra_data'))\n taxlot_state_data.update(new_taxlot_state_data)\n \ndiff --git a/seed/views/users.py b/seed/views/users.py\n--- a/seed/views/users.py\n+++ b/seed/views/users.py\n@@ -555,7 +555,7 @@ def get_actions(self, request):\n \"\"\"returns all actions\"\"\"\n return {\n 'status': 'success',\n- 'actions': PERMS.keys(),\n+ 'actions': list(PERMS.keys()),\n }\n \n @ajax_request_class\n", "test_patch": "diff --git a/config/settings/test.py b/config/settings/test.py\n--- a/config/settings/test.py\n+++ b/config/settings/test.py\n@@ -91,14 +91,13 @@\n local_untracked_exists = imp.find_module(\n 'local_untracked', config.settings.__path__\n )\n-except:\n+except BaseException:\n pass\n \n if 'local_untracked_exists' in locals():\n from config.settings.local_untracked import * # noqa\n else:\n- print >> sys.stderr, \"Unable to find the local_untracked module in config/settings/local_untracked.py\"\n-\n+ raise Exception(\"Unable to find the local_untracked in config/settings/local_untracked.py\")\n \n # suppress some logging -- only show warnings or greater\n logging.getLogger('faker.factory').setLevel(logging.ERROR)\ndiff --git a/seed/audit_logs/tests.py b/seed/audit_logs/tests.py\n--- a/seed/audit_logs/tests.py\n+++ b/seed/audit_logs/tests.py\n@@ -5,6 +5,7 @@\n :author\n \"\"\"\n import json\n+from unittest import skip\n \n from django.core.exceptions import PermissionDenied\n from django.core.urlresolvers import reverse_lazy\n@@ -18,6 +19,7 @@\n from seed.utils.organizations import create_organization\n \n \n+@skip('Need to remove these tests and the AuditLog Module')\n class AuditLogModelTests(TestCase):\n \n def setUp(self):\n@@ -65,14 +67,8 @@ def setUp(self):\n \n def test_model___unicode__(self):\n \"\"\"tests the AuditLog inst. str or unicode\"\"\"\n- self.assertEqual(\n- 'Log <%s> (%s)' % (self.user, self.audit_log.pk),\n- str(self.audit_log)\n- )\n- self.assertEqual(\n- 'Note <%s> (%s)' % (self.user, self.note.pk),\n- str(self.note)\n- )\n+ self.assertEqual('Log <%s> (%s)' % (self.user, self.audit_log.pk), str(self.audit_log))\n+ self.assertEqual('Note <%s> (%s)' % (self.user, self.note.pk), str(self.note))\n \n def test_note(self):\n \"\"\"tests note save\"\"\"\n@@ -115,7 +111,7 @@ def test_audit_save(self):\n \n # assert\n self.assertEqual(\n- error.exception.message,\n+ str(error.exception),\n 'AuditLogs cannot be edited, only notes'\n )\n audit_log = AuditLog.objects.get(pk=self.audit_log.pk)\n@@ -161,6 +157,7 @@ def test_get_all_audit_logs_for_an_org(self):\n self.assertEqual(audit_logs.count(), 2)\n \n \n+@skip('Need to remove these tests and the AuditLog Module')\n class AuditLogViewTests(TestCase):\n \n def setUp(self):\n@@ -224,51 +221,51 @@ def test_get_building_logs(self):\n self.assertEqual(len(data['audit_logs']), 2)\n self.assertEqual(data['audit_logs'], [\n {\n- u'action': u'create_note',\n- u'action_note': u'The building has a wonderfully low EUI',\n- u'action_response': {u'status': u'success'},\n- u'audit_type': 'Note',\n- u'content_type': 'canonicalbuilding',\n- u'created': data['audit_logs'][0]['created'],\n- u'id': data['audit_logs'][0]['id'],\n- u'model': u'audit_logs.auditlog',\n- u'modified': data['audit_logs'][0]['modified'],\n- u'object_id': data['audit_logs'][0]['object_id'],\n- u'organization': {\n+ 'action': 'create_note',\n+ 'action_note': 'The building has a wonderfully low EUI',\n+ 'action_response': {'status': 'success'},\n+ 'audit_type': 'Note',\n+ 'content_type': 'canonicalbuilding',\n+ 'created': data['audit_logs'][0]['created'],\n+ 'id': data['audit_logs'][0]['id'],\n+ 'model': 'audit_logs.auditlog',\n+ 'modified': data['audit_logs'][0]['modified'],\n+ 'object_id': data['audit_logs'][0]['object_id'],\n+ 'organization': {\n 'id': self.org.pk,\n 'name': self.org.name,\n },\n- u'pk': data['audit_logs'][0]['pk'],\n- u'user': {\n- u'id': self.user.id,\n- u'first_name': self.user.first_name,\n- u'last_name': self.user.last_name,\n- u'email': self.user.email,\n+ 'pk': data['audit_logs'][0]['pk'],\n+ 'user': {\n+ 'id': self.user.id,\n+ 'first_name': self.user.first_name,\n+ 'last_name': self.user.last_name,\n+ 'email': self.user.email,\n }\n },\n {\n- u'action': u'create_building',\n- u'action_note': u'user created a building',\n- u'action_response': {\n- u'building_id': self.cb.pk, u'status': u'success'\n+ 'action': 'create_building',\n+ 'action_note': 'user created a building',\n+ 'action_response': {\n+ 'building_id': self.cb.pk, 'status': 'success'\n },\n- u'audit_type': 'Log',\n- u'content_type': 'canonicalbuilding',\n- u'created': data['audit_logs'][1]['created'],\n- u'id': data['audit_logs'][1]['id'],\n- u'model': u'audit_logs.auditlog',\n- u'modified': data['audit_logs'][1]['modified'],\n- u'object_id': data['audit_logs'][1]['object_id'],\n- u'organization': {\n+ 'audit_type': 'Log',\n+ 'content_type': 'canonicalbuilding',\n+ 'created': data['audit_logs'][1]['created'],\n+ 'id': data['audit_logs'][1]['id'],\n+ 'model': 'audit_logs.auditlog',\n+ 'modified': data['audit_logs'][1]['modified'],\n+ 'object_id': data['audit_logs'][1]['object_id'],\n+ 'organization': {\n 'id': self.org.pk,\n 'name': self.org.name,\n },\n- u'pk': data['audit_logs'][1]['pk'],\n- u'user': {\n- u'id': self.user.id,\n- u'first_name': self.user.first_name,\n- u'last_name': self.user.last_name,\n- u'email': self.user.email,\n+ 'pk': data['audit_logs'][1]['pk'],\n+ 'user': {\n+ 'id': self.user.id,\n+ 'first_name': self.user.first_name,\n+ 'last_name': self.user.last_name,\n+ 'email': self.user.email,\n }\n }\n ])\ndiff --git a/seed/data_importer/tests/integration/test_case_a.py b/seed/data_importer/tests/integration/test_case_a.py\n--- a/seed/data_importer/tests/integration/test_case_a.py\n+++ b/seed/data_importer/tests/integration/test_case_a.py\n@@ -87,8 +87,8 @@ def test_match_buildings(self):\n ps = ps.first()\n self.assertEqual(ps.pm_property_id, '2264')\n self.assertEqual(ps.address_line_1, '50 Willow Ave SE')\n- self.assertEqual('data_007' in ps.extra_data.keys(), True)\n- self.assertEqual('data_008' in ps.extra_data.keys(), False)\n+ self.assertEqual('data_007' in ps.extra_data, True)\n+ self.assertEqual('data_008' in ps.extra_data, False)\n self.assertEqual(ps.extra_data[\"data_007\"], 'a')\n \n # verify that the lot_number has the tax_lot information. For this case it is one-to-one\ndiff --git a/seed/data_importer/tests/integration/test_data_import.py b/seed/data_importer/tests/integration/test_data_import.py\n--- a/seed/data_importer/tests/integration/test_data_import.py\n+++ b/seed/data_importer/tests/integration/test_data_import.py\n@@ -69,7 +69,7 @@ def test_cached_first_row_order(self):\n with patch.object(ImportFile, 'cache_first_rows', return_value=None):\n tasks.save_raw_data(self.import_file.pk)\n \n- expected_first_row = u\"Property Id|#*#|Property Name|#*#|Year Ending|#*#|Property Floor Area (Buildings and Parking) (ft2)|#*#|Address 1|#*#|Address 2|#*#|City|#*#|State/Province|#*#|Postal Code|#*#|Year Built|#*#|ENERGY STAR Score|#*#|Site EUI (kBtu/ft2)|#*#|Total GHG Emissions (MtCO2e)|#*#|Weather Normalized Site EUI (kBtu/ft2)|#*#|National Median Site EUI (kBtu/ft2)|#*#|Source EUI (kBtu/ft2)|#*#|Weather Normalized Source EUI (kBtu/ft2)|#*#|National Median Source EUI (kBtu/ft2)|#*#|Parking - Gross Floor Area (ft2)|#*#|Organization|#*#|Generation Date|#*#|Release Date\" # NOQA\n+ expected_first_row = 'Property Id|#*#|Property Name|#*#|Year Ending|#*#|Property Floor Area (Buildings and Parking) (ft2)|#*#|Address 1|#*#|Address 2|#*#|City|#*#|State/Province|#*#|Postal Code|#*#|Year Built|#*#|ENERGY STAR Score|#*#|Site EUI (kBtu/ft2)|#*#|Total GHG Emissions (MtCO2e)|#*#|Weather Normalized Site EUI (kBtu/ft2)|#*#|National Median Site EUI (kBtu/ft2)|#*#|Source EUI (kBtu/ft2)|#*#|Weather Normalized Source EUI (kBtu/ft2)|#*#|National Median Source EUI (kBtu/ft2)|#*#|Parking - Gross Floor Area (ft2)|#*#|Organization|#*#|Generation Date|#*#|Release Date' # NOQA\n \n import_file = ImportFile.objects.get(pk=self.import_file.pk)\n first_row = import_file.cached_first_row\n@@ -188,7 +188,7 @@ def test_promote_properties(self):\n tasks.map_data(self.import_file.pk)\n \n cycle2, _ = Cycle.objects.get_or_create(\n- name=u'Hack Cycle 2016',\n+ name='Hack Cycle 2016',\n organization=self.org,\n start=datetime.datetime(2016, 1, 1, tzinfo=timezone.get_current_timezone()),\n end=datetime.datetime(2016, 12, 31, tzinfo=timezone.get_current_timezone()),\n@@ -332,7 +332,7 @@ def import_exported_data(self, filename):\n keys = reader.fieldnames\n for row in reader:\n ed = json.loads(row.pop('extra_data'))\n- for k, v in ed.iteritems():\n+ for k, v in ed.items():\n new_keys.add(k)\n row[k] = v\n data.append(row)\ndiff --git a/seed/data_importer/tests/integration/test_demo_v2.py b/seed/data_importer/tests/integration/test_demo_v2.py\n--- a/seed/data_importer/tests/integration/test_demo_v2.py\n+++ b/seed/data_importer/tests/integration/test_demo_v2.py\n@@ -49,7 +49,7 @@ def set_up(self, import_file_source_type):\n org, _, _ = create_organization(user, \"test-organization-a\")\n \n cycle, _ = Cycle.objects.get_or_create(\n- name=u'Test Hack Cycle 2015',\n+ name='Test Hack Cycle 2015',\n organization=org,\n start=datetime.datetime(2015, 1, 1, tzinfo=timezone.get_current_timezone()),\n end=datetime.datetime(2015, 12, 31, tzinfo=timezone.get_current_timezone()),\ndiff --git a/seed/data_importer/tests/integration/test_matching.py b/seed/data_importer/tests/integration/test_matching.py\n--- a/seed/data_importer/tests/integration/test_matching.py\n+++ b/seed/data_importer/tests/integration/test_matching.py\n@@ -168,14 +168,14 @@ def test_handle_id_matches_duplicate_data(self):\n # unmatched_properties = self.import_file.find_unmatched_property_states()\n # unmatched_properties_2 = duplicate_import_file.find_unmatched_property_states()\n # from seed.utils.generic import pp\n- # print unmatched_properties\n+ # print(unmatched_properties)\n # for p in unmatched_properties:\n # pp(p)\n- # print len(unmatched_properties)\n+ # print(len(unmatched_properties))\n #\n # for p in unmatched_properties_2:\n # pp(p)\n- # print len(unmatched_properties_2)\n+ # print(len(unmatched_properties_2))\n \n # TODO: figure out why this isn't working here\n # self.assertRaises(tasks.DuplicateDataError, tasks.handle_id_matches,\ndiff --git a/seed/data_importer/tests/integration/test_merge_duplicate_rows.py b/seed/data_importer/tests/integration/test_merge_duplicate_rows.py\n--- a/seed/data_importer/tests/integration/test_merge_duplicate_rows.py\n+++ b/seed/data_importer/tests/integration/test_merge_duplicate_rows.py\n@@ -107,14 +107,14 @@ def test_hash_quantity_unicode(self):\n ps1 = PropertyState.objects.create(\n organization=self.org,\n address_line_1='123 fake st',\n- extra_data={\"a\": \"result\", u\"Site EUI\u00b2\": 90.5, \"Unicode in value\": u\"EUI\u00b2\"},\n+ extra_data={'a': 'result', 'Site EUI\u00b2': 90.5, 'Unicode in value': 'EUI\u00b2'},\n data_state=DATA_STATE_IMPORT,\n import_file_id=0,\n )\n ps2 = PropertyState.objects.create(\n organization=self.org,\n address_line_1='123 fake st',\n- extra_data={\"a\": \"result\", u\"Site EUI2\": 90.5, \"Unicode in value\": \"EUI2\"},\n+ extra_data={'a': 'result', 'Site EUI2': 90.5, 'Unicode in value': 'EUI2'},\n data_state=DATA_STATE_IMPORT,\n import_file_id=0,\n )\n@@ -122,21 +122,21 @@ def test_hash_quantity_unicode(self):\n \n def test_hash_release_date(self):\n \"\"\"The hash_state_object method makes the timezones naive, so this should work because\n- the date times are equivalent, even through the database objects are not\"\"\"\n+ the date times are equivalent, even though the database objects are not\"\"\"\n+ ps1_dt = datetime.datetime(2010, 1, 1, 0, 0, tzinfo=tz.utc).astimezone(pytz.timezone('America/Los_Angeles'))\n ps1 = PropertyState.objects.create(\n organization=self.org,\n address_line_1='123 fake st',\n- extra_data={\"a\": \"result\"},\n- release_date=datetime.datetime(2010, 1, 1, 0, 0,\n- tzinfo=pytz.timezone('America/Los_Angeles')),\n+ extra_data={'a': 'result'},\n+ release_date=ps1_dt,\n data_state=DATA_STATE_IMPORT,\n import_file_id=0,\n )\n ps2 = PropertyState.objects.create(\n organization=self.org,\n address_line_1='123 fake st',\n- extra_data={\"a\": \"result\"},\n- release_date=datetime.datetime(2010, 1, 1, 8, 0, tzinfo=tz.utc),\n+ extra_data={'a': 'result'},\n+ release_date=datetime.datetime(2010, 1, 1, 0, 0, tzinfo=tz.utc),\n data_state=DATA_STATE_IMPORT,\n import_file_id=0,\n )\n@@ -158,7 +158,7 @@ def test_import_duplicates(self):\n self.assertEqual(len(ps), 9)\n self.assertEqual(PropertyState.objects.filter(pm_property_id='2264').count(), 7)\n \n- hashes = map(tasks.hash_state_object, ps)\n+ hashes = list(map(tasks.hash_state_object, ps))\n self.assertEqual(len(hashes), 9)\n self.assertEqual(len(set(hashes)), 4)\n \ndiff --git a/seed/data_importer/tests/integration/test_properties.py b/seed/data_importer/tests/integration/test_properties.py\n--- a/seed/data_importer/tests/integration/test_properties.py\n+++ b/seed/data_importer/tests/integration/test_properties.py\n@@ -113,6 +113,9 @@ def test_get_history_complex(self):\n \n # there is a weird non-deterministic issue with this test. So for now\n # just test when the property_state is not None, which seems to be about 50% of the time.\n+\n+ # TODO: Python3 I assume the address normalization cleanup is causing this to merge strange\n+ # which makes me think that something else is really going on. Look for the 125,000 ft2.\n if property_state:\n history, master = property_state.history()\n \ndiff --git a/seed/data_importer/tests/test_cleaner.py b/seed/data_importer/tests/test_cleaner.py\n--- a/seed/data_importer/tests/test_cleaner.py\n+++ b/seed/data_importer/tests/test_cleaner.py\n@@ -86,14 +86,14 @@ def test_clean_value(self):\n # model\n bs_field = 'gross_floor_area'\n self.assertEqual(\n- cleaner.clean_value('123,456', bs_field),\n- 123456\n+ cleaner.clean_value('1,456', bs_field),\n+ 1456\n )\n \n # data are cleaned correctly for mapped fields that have float unit\n self.assertEqual(\n- cleaner.clean_value('123,456', self.float_col),\n- 123456\n+ cleaner.clean_value('2,456', self.float_col),\n+ 2456\n )\n \n # String test\n@@ -103,8 +103,8 @@ def test_clean_value(self):\n )\n \n self.assertEqual(\n- cleaner.clean_value('123,456', self.float_col),\n- 123456\n+ cleaner.clean_value('3,456', self.float_col),\n+ 3456\n )\n \n # other fields are just strings\ndiff --git a/seed/data_importer/tests/test_mapping.py b/seed/data_importer/tests/test_mapping.py\n--- a/seed/data_importer/tests/test_mapping.py\n+++ b/seed/data_importer/tests/test_mapping.py\n@@ -51,7 +51,7 @@ def test_mapping(self):\n # Create mappings from the new states\n # TODO #239: Convert this to a single helper method to suggest and save\n suggested_mappings = mapper.build_column_mapping(\n- state.extra_data.keys(),\n+ list(state.extra_data.keys()),\n Column.retrieve_all_by_tuple(self.org),\n previous_mapping=get_column_mapping,\n map_args=[self.org],\n@@ -61,7 +61,7 @@ def test_mapping(self):\n # Convert mapping suggests to the format needed for saving\n mappings = []\n for raw_column, suggestion in suggested_mappings.items():\n- # Single suggestion looks like:'lot_number': [u'PropertyState', u'lot_number', 100]\n+ # Single suggestion looks like:'lot_number': ['PropertyState', 'lot_number', 100]\n mapping = {\n \"from_field\": raw_column,\n \"from_units\": None,\n@@ -72,7 +72,7 @@ def test_mapping(self):\n mappings.append(mapping)\n \n # Now save the mappings\n- # print mappings\n+ # print(mappings)\n Column.create_mappings(mappings, self.org, self.user, self.import_file.id)\n # END TODO\n \ndiff --git a/seed/data_importer/tests/test_matching.py b/seed/data_importer/tests/test_matching.py\n--- a/seed/data_importer/tests/test_matching.py\n+++ b/seed/data_importer/tests/test_matching.py\n@@ -78,10 +78,10 @@ def test_match_properties_and_taxlots_with_address(self):\n )\n \n # for ps in PropertyState.objects.filter(organization=self.org):\n- # print \"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.address_line_1)\n+ # print(\"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.address_line_1))\n \n # for tl in TaxLotState.objects.filter(organization=self.org):\n- # print \"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id)\n+ # print(\"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id))\n \n # set import_file mapping done so that matching can occur.\n self.import_file.mapping_done = True\n@@ -89,7 +89,7 @@ def test_match_properties_and_taxlots_with_address(self):\n match_buildings(self.import_file.id)\n \n # for pv in PropertyView.objects.filter(state__organization=self.org):\n- # print \"%s -- %s\" % (pv.state, pv.cycle)\n+ # print(\"%s -- %s\" % (pv.state, pv.cycle))\n \n # should only have 1 PropertyView and 4 taxlot views\n self.assertEqual(PropertyView.objects.filter(state__organization=self.org).count(), 1)\n@@ -127,10 +127,10 @@ def test_match_properties_and_taxlots_with_address_no_lot_number(self):\n )\n \n # for ps in PropertyState.objects.filter(organization=self.org):\n- # print \"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.address_line_1)\n+ # print(\"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.address_line_1))\n \n # for tl in TaxLotState.objects.filter(organization=self.org):\n- # print \"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id)\n+ # print(\"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id))\n \n # set import_file mapping done so that matching can occur.\n self.import_file.mapping_done = True\n@@ -138,7 +138,7 @@ def test_match_properties_and_taxlots_with_address_no_lot_number(self):\n match_buildings(self.import_file.id)\n \n # for pv in PropertyView.objects.filter(state__organization=self.org):\n- # print \"%s -- %s\" % (pv.state, pv.cycle)\n+ # print(\"%s -- %s\" % (pv.state, pv.cycle))\n \n # should only have 1 PropertyView and 4 taxlot views\n self.assertEqual(PropertyView.objects.filter(state__organization=self.org).count(), 1)\n@@ -178,12 +178,12 @@ def test_match_properties_and_taxlots_with_ubid(self):\n )\n \n # for ps in PropertyState.objects.filter(organization=self.org):\n- # print \"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.ubid)\n+ # print(\"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.ubid))\n # pv = PropertyView.objects.get(state=ps, cycle=self.cycle)\n # TaxLotProperty.objects.filter()\n \n # for tl in TaxLotState.objects.filter(organization=self.org):\n- # print \"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id)\n+ # print(\"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id))\n \n # set import_file mapping done so that matching can occur.\n self.import_file.mapping_done = True\n@@ -191,7 +191,7 @@ def test_match_properties_and_taxlots_with_ubid(self):\n match_buildings(self.import_file.id)\n \n # for pv in PropertyView.objects.filter(state__organization=self.org):\n- # print \"%s -- %s\" % (pv.state.ubid, pv.cycle)\n+ # print(\"%s -- %s\" % (pv.state.ubid, pv.cycle))\n \n # should only have 1 PropertyView and 4 taxlot views\n self.assertEqual(PropertyView.objects.filter(state__organization=self.org).count(), 4)\n@@ -230,12 +230,12 @@ def test_match_properties_and_taxlots_with_custom_id(self):\n )\n \n # for ps in PropertyState.objects.filter(organization=self.org):\n- # print \"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.custom_id_1)\n+ # print(\"%s -- %s -- %s\" % (ps.lot_number, ps.import_file_id, ps.custom_id_1))\n # pv = PropertyView.objects.get(state=ps, cycle=self.cycle)\n # TaxLotProperty.objects.filter()\n \n # for tl in TaxLotState.objects.filter(organization=self.org):\n- # print \"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id)\n+ # print(\"%s -- %s\" % (tl.import_file_id, tl.jurisdiction_tax_lot_id))\n \n # set import_file mapping done so that matching can occur.\n self.import_file.mapping_done = True\n@@ -243,7 +243,7 @@ def test_match_properties_and_taxlots_with_custom_id(self):\n match_buildings(self.import_file.id)\n \n # for pv in PropertyView.objects.filter(state__organization=self.org):\n- # print \"%s -- %s\" % (pv.state, pv.cycle)\n+ # print(\"%s -- %s\" % (pv.state, pv.cycle))\n \n # should only have 1 PropertyView and 4 taxlot views\n self.assertEqual(PropertyView.objects.filter(state__organization=self.org).count(), 4)\ndiff --git a/seed/data_importer/tests/util.py b/seed/data_importer/tests/util.py\n--- a/seed/data_importer/tests/util.py\n+++ b/seed/data_importer/tests/util.py\n@@ -11,150 +11,150 @@\n \n TAXLOT_MAPPING = [\n {\n- \"from_field\": u'jurisdiction_tax_lot_id',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'jurisdiction_tax_lot_id',\n+ \"from_field\": 'jurisdiction_tax_lot_id',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'jurisdiction_tax_lot_id',\n },\n {\n- \"from_field\": u'address',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'address_line_1'\n+ \"from_field\": 'address',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'address_line_1'\n },\n {\n- \"from_field\": u'city',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'city'\n+ \"from_field\": 'city',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'city'\n },\n {\n- \"from_field\": u'number_buildings',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'number_properties'\n+ \"from_field\": 'number_buildings',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'number_properties'\n },\n {\n- \"from_field\": u'block_number',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'block_number'\n+ \"from_field\": 'block_number',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'block_number'\n },\n ]\n \n PROPERTIES_MAPPING = [\n {\n- \"from_field\": u'jurisdiction tax lot id',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'jurisdiction_tax_lot_id',\n+ \"from_field\": 'jurisdiction tax lot id',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'jurisdiction_tax_lot_id',\n }, {\n- \"from_field\": u'jurisdiction property id',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'jurisdiction_property_id',\n+ \"from_field\": 'jurisdiction property id',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'jurisdiction_property_id',\n }, {\n- \"from_field\": u'pm property id',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'pm_property_id',\n+ \"from_field\": 'pm property id',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'pm_property_id',\n }, {\n- \"from_field\": u'UBID',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'ubid',\n+ \"from_field\": 'UBID',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'ubid',\n }, {\n- \"from_field\": u'custom id 1',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'custom_id_1',\n+ \"from_field\": 'custom id 1',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'custom_id_1',\n }, {\n- \"from_field\": u'pm parent property id',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'pm_parent_property_id'\n+ \"from_field\": 'pm parent property id',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'pm_parent_property_id'\n }, {\n- \"from_field\": u'address line 1',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'address_line_1'\n+ \"from_field\": 'address line 1',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'address_line_1'\n }, {\n- \"from_field\": u'city',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'city'\n+ \"from_field\": 'city',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'city'\n }, {\n- \"from_field\": u'property name',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'property_name'\n+ \"from_field\": 'property name',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'property_name'\n }, {\n- \"from_field\": u'property notes',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'property_notes'\n+ \"from_field\": 'property notes',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'property_notes'\n }, {\n- \"from_field\": u'use description',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'use_description'\n+ \"from_field\": 'use description',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'use_description'\n }, {\n- \"from_field\": u'gross floor area',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'gross_floor_area'\n+ \"from_field\": 'gross floor area',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'gross_floor_area'\n }, {\n- \"from_field\": u'owner',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'owner'\n+ \"from_field\": 'owner',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'owner'\n }, {\n- \"from_field\": u'owner email',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'owner_email'\n+ \"from_field\": 'owner email',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'owner_email'\n }, {\n- \"from_field\": u'owner telephone',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'owner_telephone'\n+ \"from_field\": 'owner telephone',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'owner_telephone'\n }, {\n- \"from_field\": u'site eui',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'site_eui'\n+ \"from_field\": 'site eui',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'site_eui'\n }, {\n- \"from_field\": u'energy score',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'energy_score'\n+ \"from_field\": 'energy score',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'energy_score'\n }, {\n- \"from_field\": u'year ending',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'year_ending'\n+ \"from_field\": 'year ending',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'year_ending'\n }, {\n- \"from_field\": u'extra data 1',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'data_007'\n+ \"from_field\": 'extra data 1',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'data_007'\n }, {\n- \"from_field\": u'extra data 2',\n- \"to_table_name\": u'TaxLotState',\n- \"to_field\": u'data_008'\n+ \"from_field\": 'extra data 2',\n+ \"to_table_name\": 'TaxLotState',\n+ \"to_field\": 'data_008'\n }, {\n- \"from_field\": u'recent sale date',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'recent_sale_date'\n+ \"from_field\": 'recent sale date',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'recent_sale_date'\n }\n ]\n \n FAKE_EXTRA_DATA = {\n- u'City': u'EnergyTown',\n- u'ENERGY STAR Score': u'',\n- u'State/Province': u'Illinois',\n- u'Site EUI (kBtu/ft2)': u'',\n- u'Year Ending': u'',\n- u'Weather Normalized Source EUI (kBtu/ft2)': u'',\n- u'Parking - Gross Floor Area (ft2)': u'',\n- u'Address 1': u'000015581 SW Sycamore Court',\n- u'Property Id': u'101125',\n- u'Address 2': u'Not Available',\n- u'Source EUI (kBtu/ft2)': u'',\n- u'Release Date': u'',\n- u'National Median Source EUI (kBtu/ft2)': u'',\n- u'Weather Normalized Site EUI (kBtu/ft2)': u'',\n- u'National Median Site EUI (kBtu/ft2)': u'',\n- u'Year Built': u'',\n- u'Postal Code': u'10108-9812',\n- u'Organization': u'Occidental Management',\n- u'Property Name': u'Not Available',\n- u'Property Floor Area (Buildings and Parking) (ft2)': u'',\n- u'Total GHG Emissions (MtCO2e)': u'',\n- u'Generation Date': u'',\n+ 'City': 'EnergyTown',\n+ 'ENERGY STAR Score': '',\n+ 'State/Province': 'Illinois',\n+ 'Site EUI (kBtu/ft2)': '',\n+ 'Year Ending': '',\n+ 'Weather Normalized Source EUI (kBtu/ft2)': '',\n+ 'Parking - Gross Floor Area (ft2)': '',\n+ 'Address 1': '000015581 SW Sycamore Court',\n+ 'Property Id': '101125',\n+ 'Address 2': 'Not Available',\n+ 'Source EUI (kBtu/ft2)': '',\n+ 'Release Date': '',\n+ 'National Median Source EUI (kBtu/ft2)': '',\n+ 'Weather Normalized Site EUI (kBtu/ft2)': '',\n+ 'National Median Site EUI (kBtu/ft2)': '',\n+ 'Year Built': '',\n+ 'Postal Code': '10108-9812',\n+ 'Organization': 'Occidental Management',\n+ 'Property Name': 'Not Available',\n+ 'Property Floor Area (Buildings and Parking) (ft2)': '',\n+ 'Total GHG Emissions (MtCO2e)': '',\n+ 'Generation Date': '',\n }\n \n FAKE_ROW = {\n- u'Name': u'The Whitehouse',\n- u'Address Line 1': u'1600 Pennsylvania Ave.',\n- u'Year Built': u'1803',\n- u'Double Tester': 'Just a note from bob'\n+ 'Name': 'The Whitehouse',\n+ 'Address Line 1': '1600 Pennsylvania Ave.',\n+ 'Year Built': '1803',\n+ 'Double Tester': 'Just a note from bob'\n }\n \n FAKE_MAPPINGS = {\n@@ -208,46 +208,46 @@\n }],\n 'full': [\n {\n- \"from_field\": u'Name',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'property_name',\n+ \"from_field\": 'Name',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'property_name',\n }, {\n- \"from_field\": u'Address Line 1',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'address_line_1',\n+ \"from_field\": 'Address Line 1',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'address_line_1',\n }, {\n- \"from_field\": u'Year Built',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'year_built',\n+ \"from_field\": 'Year Built',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'year_built',\n }, {\n- \"from_field\": u'Double Tester',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'Double Tester',\n+ \"from_field\": 'Double Tester',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'Double Tester',\n }\n \n ],\n 'fake_row': [\n {\n- \"from_field\": u'Name',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'property_name',\n+ \"from_field\": 'Name',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'property_name',\n }, {\n- \"from_field\": u'Address Line 1',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'address_line_1',\n+ \"from_field\": 'Address Line 1',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'address_line_1',\n }, {\n- \"from_field\": u'Year Built',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'year_built',\n+ \"from_field\": 'Year Built',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'year_built',\n }, {\n- \"from_field\": u'Double Tester',\n- \"to_table_name\": u'PropertyState',\n- \"to_field\": u'Double Tester',\n+ \"from_field\": 'Double Tester',\n+ \"to_table_name\": 'PropertyState',\n+ \"to_field\": 'Double Tester',\n }\n ],\n 'short': { # Short should no longer be used and probably does not work anymore.\n- 'property_name': u'Name',\n- 'address_line_1': u'Address Line 1',\n- 'year_built': u'Year Built'\n+ 'property_name': 'Name',\n+ 'address_line_1': 'Address Line 1',\n+ 'year_built': 'Year Built'\n },\n }\ndiff --git a/seed/data_importer/tests/views/test_views.py b/seed/data_importer/tests/views/test_views.py\n--- a/seed/data_importer/tests/views/test_views.py\n+++ b/seed/data_importer/tests/views/test_views.py\n@@ -143,9 +143,6 @@ def test_get_first_five_rows_newline_various(self):\n ]\n save_format, expected = first_five_rows_helper(header, raw_data)\n converted = convert_first_five_rows_to_list(header, save_format)\n- # print \"Expected: %s\" % expected\n- # print \"Save Format: %s\" % save_format\n- # print \"Converted: %s\" % converted\n self.assertEqual(converted, expected)\n \n def test_get_first_five_rows_newline_should_work(self):\n@@ -162,9 +159,6 @@ def test_get_first_five_rows_newline_should_work(self):\n ]\n save_format, expected = first_five_rows_helper(header, raw_data)\n converted = convert_first_five_rows_to_list(header, save_format)\n- # print \"Expected: %s\" % expected\n- # print \"Save Format: %s\" % save_format\n- # print \"Converted: %s\" % converted\n \n # This test passes as it is the expected behavior, even though it is wrong.\n # the ID of row 2 should be 2\\nThisBreaksMe, but the convert_first_five_to_list does\n@@ -189,7 +183,6 @@ def test_get_first_five_rows_one_column_with_crlf(self):\n ]\n save_format, expected = first_five_rows_helper(header, raw_data)\n converted = convert_first_five_rows_to_list(header, save_format)\n- # print \"Converted: %s\" % converted\n \n # This test fails on purpose becasue the format of the first five rows will not\n # support this use case.\ndiff --git a/seed/data_importer/tests/views/test_views_matching.py b/seed/data_importer/tests/views/test_views_matching.py\n--- a/seed/data_importer/tests/views/test_views_matching.py\n+++ b/seed/data_importer/tests/views/test_views_matching.py\n@@ -84,12 +84,12 @@ def setUp(self):\n #\n # property_states = PropertyState.objects.filter(id__in=state_ids)\n # # Check that the use descriptions have been updated to the new ones\n- # # expected = [u'Bar', u'Building', u'Club', u'Coffee House',\n- # # u'Daycare', u'Diversity Building', u'House', u'Multifamily Housing',\n- # # u'Multistorys', u'Pizza House', u'Residence', u'Residence', u'Residence',\n- # # u'Swimming Pool']\n+ # # expected = ['Bar', 'Building', 'Club', 'Coffee House',\n+ # # 'Daycare', 'Diversity Building', 'House', 'Multifamily Housing',\n+ # # 'Multistorys', 'Pizza House', 'Residence', 'Residence', 'Residence',\n+ # # 'Swimming Pool']\n #\n- # # print sorted([p.use_description for p in property_states])\n+ # # print(sorted([p.use_description for p in property_states]))\n # results = sorted([p.use_description for p in property_states])\n # self.assertTrue('Bar' in results)\n # self.assertTrue('Building' in results)\n@@ -175,9 +175,9 @@ def setUp(self):\n #\n # coparents = vs.has_coparent(property_state.id, 'properties', fields)\n # expected = {\n- # 'lot_number': u'11160509',\n+ # 'lot_number': '11160509',\n # 'gross_floor_area': 23543.0,\n- # 'owner_telephone': u'213-546-9755',\n+ # 'owner_telephone': '213-546-9755',\n # 'energy_score': 63,\n # 'use_description': 'Retail',\n # }\ndiff --git a/seed/lib/mappings/test.py b/seed/lib/mappings/test.py\n--- a/seed/lib/mappings/test.py\n+++ b/seed/lib/mappings/test.py\n@@ -16,36 +16,36 @@\n class TestMappingColumns(TestCase):\n def test_unicode_in_destination(self):\n raw_columns = ['foot', 'ankle', 'stomach']\n- dest_columns = ['big foot', 'crankle', u'est\u00f3mago']\n+ dest_columns = ['big foot', 'crankle', 'est\u00f3mago']\n results = MappingColumns(raw_columns, dest_columns)\n \n expected = {\n- 'foot': ['_', 'big foot', 45],\n- 'ankle': ['_', 'crankle', 90],\n- 'stomach': ['_', u'est\\xf3mago', 69]\n+ 'foot': ['_', 'big foot', 90],\n+ 'ankle': ['_', 'crankle', 94],\n+ 'stomach': ['_', 'est\\xf3mago', 82]\n }\n self.assertDictEqual(expected, results.final_mappings)\n \n def test_unicode_in_raw(self):\n- raw_columns = ['big foot', 'crankle', u'est\u00f3mago']\n- dest_columns = ['foot', 'ankle', 'stomach', u'estooomago']\n+ raw_columns = ['big foot', 'crankle', 'est\u00f3mago']\n+ dest_columns = ['foot', 'ankle', 'stomach', 'estooomago']\n results = MappingColumns(raw_columns, dest_columns)\n \n expected = {\n- 'crankle': ['_', 'ankle', 90],\n- 'big foot': ['_', 'foot', 45],\n- u'est\\xf3mago': ['_', u'estooomago', 83]\n+ 'crankle': ['_', 'ankle', 94],\n+ 'big foot': ['_', 'foot', 90],\n+ 'est\\xf3mago': ['_', 'estooomago', 89]\n }\n self.assertDictEqual(expected, results.final_mappings)\n \n def test_resolve_duplicate(self):\n raw_columns = ['estomago', 'stomach']\n- dest_columns = [u'est\u00f3mago']\n+ dest_columns = ['est\u00f3mago']\n results = MappingColumns(raw_columns, dest_columns)\n \n # Note that the stomach will resolve as 'PropertyState' by default.\n expected = {\n- 'estomago': ['_', u'est\\xf3mago', 94],\n+ 'estomago': ['_', 'est\\xf3mago', 92],\n 'stomach': ['PropertyState', 'stomach', 100]\n }\n self.assertDictEqual(expected, results.final_mappings)\ndiff --git a/seed/lib/merging/tests/test_merging.py b/seed/lib/merging/tests/test_merging.py\n--- a/seed/lib/merging/tests/test_merging.py\n+++ b/seed/lib/merging/tests/test_merging.py\n@@ -40,8 +40,8 @@ def setUp(self):\n def test_get_state_attrs(self):\n # create the column for data_1\n Column.objects.create(\n- column_name=u'data_1',\n- table_name=u'TaxLotState',\n+ column_name='data_1',\n+ table_name='TaxLotState',\n organization=self.org,\n is_extra_data=True,\n )\n@@ -55,71 +55,71 @@ def test_get_state_attrs(self):\n self.assertEqual(res['custom_id_1'], {tlv2.state: None, tlv1.state: None})\n self.assertEqual(res['postal_code'],\n {tlv2.state: tlv2.state.postal_code, tlv1.state: tlv1.state.postal_code})\n- self.assertTrue('data_1' not in res.keys())\n+ self.assertTrue('data_1' not in res)\n \n def test_property_state(self):\n self.property_view_factory.get_property_view()\n self.taxlot_view_factory.get_taxlot_view()\n \n- expected = ((u'address_line_1', u'address_line_1'),\n- (u'address_line_2', u'address_line_2'),\n- (u'analysis_end_time', u'analysis_end_time'),\n- (u'analysis_start_time', u'analysis_start_time'),\n- (u'analysis_state_message', u'analysis_state_message'),\n- (u'building_certification', u'building_certification'),\n- (u'building_count', u'building_count'),\n- (u'city', u'city'),\n- (u'conditioned_floor_area', u'conditioned_floor_area'),\n- (u'custom_id_1', u'custom_id_1'),\n- (u'energy_alerts', u'energy_alerts'),\n- (u'energy_score', u'energy_score'),\n- (u'generation_date', u'generation_date'),\n- (u'gross_floor_area', u'gross_floor_area'),\n- (u'home_energy_score_id', u'home_energy_score_id'),\n- (u'jurisdiction_property_id', u'jurisdiction_property_id'),\n- (u'latitude', u'latitude'),\n- (u'longitude', u'longitude'),\n- (u'lot_number', u'lot_number'),\n- (u'occupied_floor_area', u'occupied_floor_area'),\n- (u'owner', u'owner'),\n- (u'owner_address', u'owner_address'),\n- (u'owner_city_state', u'owner_city_state'),\n- (u'owner_email', u'owner_email'),\n- (u'owner_postal_code', u'owner_postal_code'),\n- (u'owner_telephone', u'owner_telephone'),\n- (u'pm_parent_property_id', u'pm_parent_property_id'),\n- (u'pm_property_id', u'pm_property_id'),\n- (u'postal_code', u'postal_code'),\n- (u'property_name', u'property_name'),\n- (u'property_notes', u'property_notes'),\n- (u'property_type', u'property_type'),\n- (u'recent_sale_date', u'recent_sale_date'),\n- (u'release_date', u'release_date'),\n- (u'site_eui', u'site_eui'),\n- (u'site_eui_modeled', u'site_eui_modeled'),\n- (u'site_eui_weather_normalized', u'site_eui_weather_normalized'),\n- (u'source_eui', u'source_eui'),\n- (u'source_eui_modeled', u'source_eui_modeled'),\n- (u'source_eui_weather_normalized', u'source_eui_weather_normalized'),\n- (u'space_alerts', u'space_alerts'),\n- (u'state', u'state'),\n- (u'ubid', u'ubid'),\n- (u'use_description', u'use_description'),\n- (u'year_built', u'year_built'),\n- (u'year_ending', u'year_ending'))\n+ expected = (('address_line_1', 'address_line_1'),\n+ ('address_line_2', 'address_line_2'),\n+ ('analysis_end_time', 'analysis_end_time'),\n+ ('analysis_start_time', 'analysis_start_time'),\n+ ('analysis_state_message', 'analysis_state_message'),\n+ ('building_certification', 'building_certification'),\n+ ('building_count', 'building_count'),\n+ ('city', 'city'),\n+ ('conditioned_floor_area', 'conditioned_floor_area'),\n+ ('custom_id_1', 'custom_id_1'),\n+ ('energy_alerts', 'energy_alerts'),\n+ ('energy_score', 'energy_score'),\n+ ('generation_date', 'generation_date'),\n+ ('gross_floor_area', 'gross_floor_area'),\n+ ('home_energy_score_id', 'home_energy_score_id'),\n+ ('jurisdiction_property_id', 'jurisdiction_property_id'),\n+ ('latitude', 'latitude'),\n+ ('longitude', 'longitude'),\n+ ('lot_number', 'lot_number'),\n+ ('occupied_floor_area', 'occupied_floor_area'),\n+ ('owner', 'owner'),\n+ ('owner_address', 'owner_address'),\n+ ('owner_city_state', 'owner_city_state'),\n+ ('owner_email', 'owner_email'),\n+ ('owner_postal_code', 'owner_postal_code'),\n+ ('owner_telephone', 'owner_telephone'),\n+ ('pm_parent_property_id', 'pm_parent_property_id'),\n+ ('pm_property_id', 'pm_property_id'),\n+ ('postal_code', 'postal_code'),\n+ ('property_name', 'property_name'),\n+ ('property_notes', 'property_notes'),\n+ ('property_type', 'property_type'),\n+ ('recent_sale_date', 'recent_sale_date'),\n+ ('release_date', 'release_date'),\n+ ('site_eui', 'site_eui'),\n+ ('site_eui_modeled', 'site_eui_modeled'),\n+ ('site_eui_weather_normalized', 'site_eui_weather_normalized'),\n+ ('source_eui', 'source_eui'),\n+ ('source_eui_modeled', 'source_eui_modeled'),\n+ ('source_eui_weather_normalized', 'source_eui_weather_normalized'),\n+ ('space_alerts', 'space_alerts'),\n+ ('state', 'state'),\n+ ('ubid', 'ubid'),\n+ ('use_description', 'use_description'),\n+ ('year_built', 'year_built'),\n+ ('year_ending', 'year_ending'))\n \n result = get_state_to_state_tuple('PropertyState')\n self.assertSequenceEqual(expected, result)\n \n def test_taxlot_state(self):\n expected = (\n- (u'address_line_1', u'address_line_1'), (u'address_line_2', u'address_line_2'),\n- (u'block_number', u'block_number'), (u'city', u'city'),\n- (u'custom_id_1', u'custom_id_1'),\n- (u'district', u'district'), (u'jurisdiction_tax_lot_id', u'jurisdiction_tax_lot_id'),\n- (u'number_properties', u'number_properties'), (u'postal_code', u'postal_code'),\n- (u'state', u'state'))\n- result = get_state_to_state_tuple(u'TaxLotState')\n+ ('address_line_1', 'address_line_1'), ('address_line_2', 'address_line_2'),\n+ ('block_number', 'block_number'), ('city', 'city'),\n+ ('custom_id_1', 'custom_id_1'),\n+ ('district', 'district'), ('jurisdiction_tax_lot_id', 'jurisdiction_tax_lot_id'),\n+ ('number_properties', 'number_properties'), ('postal_code', 'postal_code'),\n+ ('state', 'state'))\n+ result = get_state_to_state_tuple('TaxLotState')\n self.assertSequenceEqual(expected, result)\n \n def test_merge_state_favor_existing(self):\ndiff --git a/seed/lib/progress_data/tests/test_progress_data.py b/seed/lib/progress_data/tests/test_progress_data.py\n--- a/seed/lib/progress_data/tests/test_progress_data.py\n+++ b/seed/lib/progress_data/tests/test_progress_data.py\n@@ -29,7 +29,7 @@ def test_create_progress(self):\n 'status_message': '',\n 'stacktrace': None,\n 'func_name': 'test_func',\n- 'progress_key': u':1:SEED:test_func:PROG:abc123',\n+ 'progress_key': ':1:SEED:test_func:PROG:abc123',\n 'progress': 0,\n 'message': None,\n 'total': None,\ndiff --git a/seed/test_helpers/factory/helpers.py b/seed/test_helpers/factory/helpers.py\n--- a/seed/test_helpers/factory/helpers.py\n+++ b/seed/test_helpers/factory/helpers.py\n@@ -10,7 +10,6 @@\n from decimal import getcontext, Decimal\n \n getcontext().prec = 7\n-from seed.test_helpers.factory.lib.chomsky import generate_chomsky\n \n \n class DjangoFunctionalFactory:\n@@ -29,7 +28,7 @@ def rand_str(cls, length=None):\n length = cls.rand_int(end=10)\n nbits = length * 6 + 1\n bits = random.getrandbits(nbits)\n- uc = u\"%0x\" % bits\n+ uc = '%0x' % bits\n newlen = int(len(uc) / 2) * 2\n ba = bytearray.fromhex(uc[:newlen])\n return base64.urlsafe_b64encode(str(ba))[:length]\n@@ -39,16 +38,16 @@ def rand_phone(cls):\n area = cls.rand_int(start=100, end=999)\n first = cls.rand_int(start=100, end=999)\n last = cls.rand_int(start=1000, end=9999)\n- return \"%s-%s-%s\" % (area, first, last)\n+ return '%s-%s-%s' % (area, first, last)\n \n @classmethod\n def rand_street_address(cls):\n- s = \"%s %s %s\" % (cls.rand_int(end=10000), cls.rand_plant_name(), cls.rand_street_suffix())\n+ s = '%s %s %s' % (cls.rand_int(end=10000), cls.rand_plant_name(), cls.rand_street_suffix())\n return s[:63]\n \n @classmethod\n def rand_city(cls):\n- return \"%s%s\" % (cls.rand_plant_name(), cls.rand_city_suffix())\n+ return '%s%s' % (cls.rand_plant_name(), cls.rand_city_suffix())\n \n @classmethod\n def rand_bool(cls):\n@@ -81,7 +80,7 @@ def rand_currency(cls, start=0, end=100):\n \n @classmethod\n def rand_email(cls):\n- return \"%s@%s\" % (cls.rand_name().lower(), cls.rand_domain())\n+ return '%s@%s' % (cls.rand_name().lower(), cls.rand_domain())\n \n @classmethod\n def rand_domain(cls):\n@@ -89,11 +88,11 @@ def rand_domain(cls):\n \n @classmethod\n def valid_test_cc_number(cls):\n- return \"4242424242424242\"\n+ return '4242424242424242'\n \n @classmethod\n def invalid_test_cc_number(cls):\n- return \"4242424242424241\"\n+ return '4242424242424241'\n \n @classmethod\n def test_cc_number(cls, valid=True):\n@@ -102,10 +101,6 @@ def test_cc_number(cls, valid=True):\n else:\n return cls.invalid_test_cc_number()\n \n- @classmethod\n- def random_conversation(cls, paragraphs=3):\n- return generate_chomsky(paragraphs)\n-\n \n RANDOM_NAME_SOURCE = [\n \"Atricia\", \"Linda\", \"Barbara\", \"Elizabeth\", \"Jennifer\",\n@@ -352,10 +347,10 @@ def random_conversation(cls, paragraphs=3):\n \"Yasminah\", \"Yew\", \"Zara\"\n ]\n \n-RANDOM_STREET_SUFFIX_SOURCE = [\"St.\", \"Ave.\", \"Blvd.\", \"Ln.\", \"Ct.\", \"Pl.\", \"Way\"]\n+RANDOM_STREET_SUFFIX_SOURCE = ['St.', 'Ave.', 'Blvd.', 'Ln.', 'Ct.', 'Pl.', 'Way']\n \n-RANDOM_EMAIL_DOMAINS = [\"example.com\", \"example.net\", \"example.org\"]\n-# \"gmail.com\", \"yahoo.com\", \"hotmail.com\", \"live.com\",\n-# \"comcast.net\", \"qwest.com\",\n+RANDOM_EMAIL_DOMAINS = ['example.com', 'example.net', 'example.org']\n+# 'gmail.com', 'yahoo.com', 'hotmail.com', 'live.com',\n+# 'comcast.net', 'qwest.com',\n \n-RANDOM_CITY_SUFFIX_SOURCE = [\"ville\", \"berg\", \"ton\", \"y\", \"\", \"land\"]\n+RANDOM_CITY_SUFFIX_SOURCE = ['ville', 'berg', 'ton', 'y', '', 'land']\ndiff --git a/seed/test_helpers/factory/lib/__init__.py b/seed/test_helpers/factory/lib/__init__.py\ndeleted file mode 100644\n--- a/seed/test_helpers/factory/lib/__init__.py\n+++ /dev/null\n@@ -1,6 +0,0 @@\n-# !/usr/bin/env python\n-# encoding: utf-8\n-\"\"\"\n-:copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n-:author\n-\"\"\"\ndiff --git a/seed/test_helpers/factory/lib/chomsky.py b/seed/test_helpers/factory/lib/chomsky.py\ndeleted file mode 100644\n--- a/seed/test_helpers/factory/lib/chomsky.py\n+++ /dev/null\n@@ -1,141 +0,0 @@\n-# !/usr/bin/env python\n-# encoding: utf-8\n-\"\"\"\n-:copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n-:author\n-\"\"\"\n-\n-# Chomsky random text generator, version 1.1, Raymond Hettinger, 2005/09/13\n-# PSF License\n-# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440546\n-\n-import string\n-\n-\"\"\"CHOMSKY is an aid to writing linguistic papers in the style\n- of the great master. It is based on selected phrases taken\n- from actual books and articles written by Noam Chomsky.\n- Upon request, it assembles the phrases in the elegant\n- stylistic patterns that Chomsky is noted for.\n- To generate n sentences of linguistic wisdom, type\n- (CHOMSKY n) -- for example\n- (CHOMSKY 5) generates half a screen of linguistic truth.\"\"\"\n-\n-leadins = \"\"\"To characterize a linguistic level L,\n- On the other hand,\n- This suggests that\n- It appears that\n- Furthermore,\n- We will bring evidence in favor of the following thesis:\n- To provide a constituent structure for T(Z,K),\n- From C1, it follows that\n- For any transformation which is sufficiently diversified in \\\n-application to be of any interest,\n- Analogously,\n- Clearly,\n- Note that\n- Of course,\n- Suppose, for instance, that\n- Thus\n- With this clarification,\n- Conversely,\n- We have already seen that\n- By combining adjunctions and certain deformations,\n- I suggested that these results would follow from the assumption that\n- If the position of the trace in (99c) were only relatively \\\n-inaccessible to movement,\n- However, this assumption is not correct, since\n- Comparing these examples with their parasitic gap counterparts in \\\n-(96) and (97), we see that\n- In the discussion of resumptive pronouns following (81),\n- So far,\n- Nevertheless,\n- For one thing,\n- Summarizing, then, we assume that\n- A consequence of the approach just outlined is that\n- Presumably,\n- On our assumptions,\n- It may be, then, that\n- It must be emphasized, once again, that\n- Let us continue to suppose that\n- Notice, incidentally, that \"\"\"\n-# List of LEADINs to buy time.\n-\n-subjects = \"\"\" the notion of level of grammaticalness\n- a case of semigrammaticalness of a different sort\n- most of the methodological work in modern linguistics\n- a subset of English sentences interesting on quite independent grounds\n- the natural general principle that will subsume this case\n- an important property of these three types of EC\n- any associated supporting element\n- the appearance of parasitic gaps in domains relatively inaccessible \\\n-to ordinary extraction\n- the speaker-hearer's linguistic intuition\n- the descriptive power of the base component\n- the earlier discussion of deviance\n- this analysis of a formative as a pair of sets of features\n- this selectionally introduced contextual feature\n- a descriptively adequate grammar\n- the fundamental error of regarding functional notions as categorial\n- relational information\n- the systematic use of complex symbols\n- the theory of syntactic features developed earlier\"\"\"\n-# List of SUBJECTs chosen for maximum professorial macho.\n-\n-verbs = \"\"\"can be defined in such a way as to impose\n- delimits\n- suffices to account for\n- cannot be arbitrary in\n- is not subject to\n- does not readily tolerate\n- raises serious doubts about\n- is not quite equivalent to\n- does not affect the structure of\n- may remedy and, at the same time, eliminate\n- is not to be considered in determining\n- is to be regarded as\n- is unspecified with respect to\n- is, apparently, determined by\n- is necessary to impose an interpretation on\n- appears to correlate rather closely with\n- is rather different from\"\"\"\n-# List of VERBs chosen for autorecursive obfuscation.\n-\n-objects = \"\"\" problems of phonemic and morphological analysis.\n- a corpus of utterance tokens upon which conformity has been defined \\\n-by the paired utterance test.\n- the traditional practice of grammarians.\n- the levels of acceptability from fairly high (e.g. (99a)) to virtual \\\n-gibberish (e.g. (98d)).\n- a stipulation to place the constructions into these various categories.\n- a descriptive fact.\n- a parasitic gap construction.\n- the extended c-command discussed in connection with (34).\n- the ultimate standard that determines the accuracy of any proposed grammar.\n- the system of base rules exclusive of the lexicon.\n- irrelevant intervening contexts in selectional rules.\n- nondistinctness in the sense of distinctive feature theory.\n- a general convention regarding the forms of the grammar.\n- an abstract underlying order.\n- an important distinction in language use.\n- the requirement that branching is not tolerated within the dominance \\\n-scope of a complex symbol.\n- the strong generative capacity of the theory.\"\"\"\n-# List of OBJECTs selected for profound sententiousness.\n-\n-import textwrap\n-import random\n-from itertools import chain, islice, izip\n-\n-\n-def generate_chomsky(times=5, line_length=72):\n- parts = []\n- for part in (leadins, subjects, verbs, objects):\n- phraselist = map(str.strip, part.splitlines())\n- random.shuffle(phraselist)\n- parts.append(phraselist)\n- output = chain(*islice(izip(*parts), 0, times))\n- return textwrap.fill(string.join(output), line_length)\n-\n-\n-if __name__ == '__main__':\n- generate_chomsky()\ndiff --git a/seed/test_helpers/fake.py b/seed/test_helpers/fake.py\n--- a/seed/test_helpers/fake.py\n+++ b/seed/test_helpers/fake.py\n@@ -1,7 +1,7 @@\n # !/usr/bin/env python\n # encoding: utf-8\n \"\"\"\n-:copyright (c) 2014 - 2016, The Regents of the University of California,\n+:copyright (c) 2014 - 2018, The Regents of the University of California,\n through Lawrence Berkeley National Laboratory (subject to receipt of any\n required approvals from the U.S. Department of Energy) and contributors.\n All rights reserved. # NOQA\n@@ -236,7 +236,7 @@ def get_details(self):\n def get_property_state_as_extra_data(self, organization=None, **kw):\n \"\"\"Return the porperty state but only populated as extra_data (used for mapping)\"\"\"\n property_details = {}\n- if 'no_default_data' not in kw.keys():\n+ if 'no_default_data' not in kw:\n property_details = self.get_details()\n else:\n del kw['no_default_data']\n@@ -271,7 +271,7 @@ def get_property_state_as_extra_data(self, organization=None, **kw):\n def get_property_state(self, organization=None, **kw):\n \"\"\"Return a property state populated with pseudo random data\"\"\"\n property_details = {}\n- if 'no_default_data' not in kw.keys():\n+ if 'no_default_data' not in kw:\n property_details = self.get_details()\n else:\n del kw['no_default_data']\n@@ -343,7 +343,7 @@ def assign_random_measures(self, number_of_measures=5, **kw):\n self.property_state.measures.all().delete()\n \n # assign a random number of measures to the PropertyState\n- for n in xrange(number_of_measures):\n+ for n in range(number_of_measures):\n measure = Measure.objects.all().order_by('?')[0]\n property_measure_details = {\n 'measure_id': measure.id,\n@@ -447,7 +447,7 @@ def __init__(self, organization=None, user=None):\n def get_details(self, assessment, property_view, organization):\n \"\"\"Get GreenAssessmentProperty details\"\"\"\n metric = self.fake.random_digit_not_null() if assessment.is_numeric_score else None\n- rating = None if assessment.is_numeric_score else u'{} stars'.format(\n+ rating = None if assessment.is_numeric_score else '{} stars'.format(\n self.fake.random.randint(1, 5))\n details = {\n 'organization': organization,\n@@ -524,7 +524,7 @@ def __init__(self, organization=None):\n self.organization = organization\n self.colors = [color[0] for color in StatusLabel.COLOR_CHOICES]\n self.label_names = StatusLabel.DEFAULT_LABELS\n- self.label_values = zip(self.colors, self.label_names)\n+ self.label_values = list(zip(self.colors, self.label_names))\n \n def get_statuslabel(self, organization=None, **kw):\n \"\"\"Get statuslabel instance.\"\"\"\n@@ -643,7 +643,7 @@ def get_details(self):\n def get_taxlot_state(self, organization=None, **kw):\n \"\"\"Return a taxlot state populated with pseudo random data\"\"\"\n taxlot_details = {}\n- if 'no_default_data' not in kw.keys():\n+ if 'no_default_data' not in kw:\n taxlot_details = self.get_details()\n else:\n del kw['no_default_data']\ndiff --git a/seed/tests/api/seed_readingtools.py b/seed/tests/api/seed_readingtools.py\n--- a/seed/tests/api/seed_readingtools.py\n+++ b/seed/tests/api/seed_readingtools.py\n@@ -162,12 +162,12 @@ def check_status(result_out, part_msg, log, piid_flag=None):\n \n if result_out.status_code in [200, 201, 403, 401]:\n try:\n- if 'status' in result_out.json().keys() and result_out.json()['status'] == 'error':\n+ if 'status' in result_out.json() and result_out.json()['status'] == 'error':\n msg = result_out.json()['message']\n log.error(part_msg + failed)\n log.debug(msg)\n raise RuntimeError\n- elif 'success' in result_out.json().keys() and not result_out.json()['success']:\n+ elif 'success' in result_out.json() and not result_out.json()['success']:\n msg = result_out.json()\n log.error(part_msg + failed)\n log.debug(msg)\n@@ -201,13 +201,13 @@ def check_status(result_out, part_msg, log, piid_flag=None):\n \n def check_progress(main_url, header, progress_key):\n \"\"\"Delays the sequence until progress is at 100 percent.\"\"\"\n- print \"checking progress {}\".format(progress_key)\n+ print(\"checking progress {}\".format(progress_key))\n time.sleep(1)\n progress_result = requests.get(\n main_url + '/api/v2/progress/{}'.format(progress_key),\n headers=header\n )\n- print \"... {} ...\".format(progress_result.json()['progress'])\n+ print(\"... {} ...\".format(progress_result.json()['progress']))\n \n if progress_result.json()['progress'] == 100:\n return progress_result\n@@ -223,7 +223,7 @@ def read_map_file(mapfile_path):\n assert (os.path.isfile(mapfile_path)), \"Cannot find file:\\t\" + mapfile_path\n \n map_reader = csv.reader(open(mapfile_path, 'r'))\n- map_reader.next() # Skip the header\n+ map_reader.__next__() # Skip the header\n \n # Open the mapping file and fill list\n maplist = list()\n@@ -271,4 +271,4 @@ def write_out_django_debug(partmsg, result):\n filename = '{}_fail.html'.format(partmsg)\n with open(filename, 'w') as fail:\n fail.writelines(result.text)\n- print 'Wrote debug -> {}'.format(filename)\n+ print('Wrote debug -> {}'.format(filename))\ndiff --git a/seed/tests/api/test_modules.py b/seed/tests/api/test_modules.py\n--- a/seed/tests/api/test_modules.py\n+++ b/seed/tests/api/test_modules.py\n@@ -10,6 +10,7 @@\n import time\n \n import requests\n+from builtins import str\n \n from seed_readingtools import (\n check_status,\n@@ -23,7 +24,7 @@\n def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, filepath, filetype,\n mappingfilepath, log):\n # Upload the covered-buildings-sample file\n- print ('API Function: upload_file\\n'),\n+ print('API Function: upload_file\\n'),\n partmsg = 'upload_file'\n result = upload_file(header, filepath, main_url, dataset_id, filetype)\n check_status(result, partmsg, log)\n@@ -75,12 +76,12 @@ def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, f\n params={\"organization_id\": organization_id},\n headers=header\n )\n- print result.json()\n+ print(result.json())\n check_progress(main_url, header, result.json()['progress_key'])\n check_status(result, partmsg, log)\n \n # Get Data Quality Message\n- print ('API Function: data_quality\\n'),\n+ print('API Function: data_quality\\n'),\n partmsg = 'data_quality'\n \n result = requests.post(\n@@ -88,7 +89,7 @@ def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, f\n params={\"organization_id\": organization_id},\n headers=header\n )\n- print result.json()\n+ print(result.json())\n check_progress(main_url, header, result.json()['progress_key'])\n check_status(result, partmsg, log)\n \n@@ -100,7 +101,7 @@ def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, f\n check_status(result, partmsg, log, piid_flag='data_quality')\n \n # Match uploaded buildings with buildings already in the organization.\n- print ('API Function: start_system_matching\\n'),\n+ print('API Function: start_system_matching\\n'),\n partmsg = 'start_system_matching'\n payload = {'file_id': import_id, 'organization_id': organization_id}\n \n@@ -114,7 +115,7 @@ def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, f\n check_status(result, partmsg, log)\n \n # Check number of matched and unmatched BuildingSnapshots\n- print ('API Function: matching_results\\n'),\n+ print('API Function: matching_results\\n'),\n partmsg = 'matching_results'\n \n result = requests.get(\n@@ -126,9 +127,9 @@ def upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, f\n \n def search_and_project(header, main_url, organization_id, log):\n # Search CanonicalBuildings\n- print ('API Function: search_buildings\\n'),\n+ print('API Function: search_buildings\\n'),\n partmsg = 'search_buildings'\n- search_payload = {'filter_params': {u'address_line_1': u'94734 SE Honeylocust Street'}}\n+ search_payload = {'filter_params': {'address_line_1': '94734 SE Honeylocust Street'}}\n \n result = requests.get(main_url + '/api/v1/search_buildings/',\n headers=header,\n@@ -136,10 +137,10 @@ def search_and_project(header, main_url, organization_id, log):\n check_status(result, partmsg, log)\n \n # Project\n- print ('\\n-------Project-------\\n')\n+ print('\\n-------Project-------\\n')\n \n # Create a Project for 'Condo' in 'use_description'\n- print ('API Function: create_project\\n'),\n+ print('API Function: create_project\\n'),\n partmsg = 'create_project'\n time1 = dt.datetime.now()\n newproject_payload = {\n@@ -160,7 +161,7 @@ def search_and_project(header, main_url, organization_id, log):\n project_slug = result.json()['project_slug']\n \n # Get the projects for the organization\n- print ('API Function: get_project\\n'),\n+ print('API Function: get_project\\n'),\n partmsg = 'get_project'\n \n result = requests.get(main_url + '/api/v2/projects/',\n@@ -170,7 +171,7 @@ def search_and_project(header, main_url, organization_id, log):\n check_status(result, partmsg, log)\n \n # Populate project by search buildings result\n- print ('API Function: add_buildings_to_project\\n'),\n+ print('API Function: add_buildings_to_project\\n'),\n partmsg = 'add_buildings_to_project'\n projectbldg_payload = {'project': {'status': 'active',\n 'project_slug': project_slug,\n@@ -196,7 +197,7 @@ def search_and_project(header, main_url, organization_id, log):\n \n def account(header, main_url, username, log):\n # Retrieve the user id key for later retrievals\n- print ('API Function: current_user_id\\n')\n+ print('API Function: current_user_id\\n')\n result = requests.get(\n main_url + '/api/v2/users/current_user_id/',\n headers=header\n@@ -204,14 +205,14 @@ def account(header, main_url, username, log):\n user_pk = json.loads(result.content)['pk']\n \n # Retrieve the user profile\n- print ('API Function: get_user_profile\\n')\n+ print('API Function: get_user_profile\\n')\n partmsg = 'get_user_profile'\n result = requests.get(main_url + '/api/v2/users/%s/' % user_pk,\n headers=header)\n check_status(result, partmsg, log)\n \n # Retrieve the organizations\n- print ('API Function: get_organizations\\n'),\n+ print('API Function: get_organizations\\n'),\n partmsg = 'get_organizations'\n result = requests.get(main_url + '/api/v2/organizations/',\n headers=header)\n@@ -240,7 +241,7 @@ def account(header, main_url, username, log):\n \n # Change user profile\n # NOTE: Make sure these credentials are ok.\n- print ('API Function: update_user\\n'),\n+ print('API Function: update_user\\n'),\n partmsg = 'update_user'\n user_payload = {\n 'first_name': 'Sherlock',\n@@ -253,21 +254,21 @@ def account(header, main_url, username, log):\n check_status(result, partmsg, log)\n \n # Get organization users\n- print ('API Function: get_organizations_users\\n'),\n+ print('API Function: get_organizations_users\\n'),\n partmsg = 'get_organizations_users'\n result = requests.get(main_url + '/api/v2/organizations/%s/users/' % organization_id,\n headers=header)\n check_status(result, partmsg, log, piid_flag='users')\n \n # Get organizations settings\n- print ('API Function: get_query_treshold\\n'),\n+ print('API Function: get_query_treshold\\n'),\n partmsg = 'get_query_threshold'\n result = requests.get(main_url + '/api/v2/organizations/%s/query_threshold/' % organization_id,\n headers=header)\n check_status(result, partmsg, log)\n \n # Get shared fields\n- print ('API Function: get_shared_fields\\n'),\n+ print('API Function: get_shared_fields\\n'),\n partmsg = 'get_shared_fields'\n result = requests.get(main_url + '/api/v2/organizations/%s/shared_fields/' % organization_id,\n headers=header)\n@@ -278,7 +279,7 @@ def account(header, main_url, username, log):\n \n def delete_set(header, main_url, organization_id, dataset_id, log):\n # Delete all buildings\n- # print ('API Function: delete_inventory\\n'),\n+ # print('API Function: delete_inventory\\n'),\n # partmsg = 'delete_buildings'\n # result = requests.delete(\n # main_url + '/app/delete_organization_inventory/',\n@@ -288,7 +289,7 @@ def delete_set(header, main_url, organization_id, dataset_id, log):\n # check_status(result, partmsg, log)\n \n # Delete dataset\n- print ('API Function: delete_dataset\\n'),\n+ print('API Function: delete_dataset\\n'),\n partmsg = 'delete_dataset'\n result = requests.delete(\n main_url + '/api/v2/datasets/{}/'.format(dataset_id),\n@@ -298,7 +299,7 @@ def delete_set(header, main_url, organization_id, dataset_id, log):\n check_status(result, partmsg, log)\n \n # Delete project\n- # print ('API Function: delete_project\\n'),\n+ # print('API Function: delete_project\\n'),\n # partmsg = 'delete_project'\n # payload = {'organization_id': organization_id,\n # 'project_slug': project_slug}\n@@ -310,7 +311,7 @@ def delete_set(header, main_url, organization_id, dataset_id, log):\n \n \n def cycles(header, main_url, organization_id, log):\n- print ('API Function: get_cycles\\n')\n+ print('API Function: get_cycles\\n')\n partmsg = 'get_cycles'\n result = requests.get(main_url + '/api/v2/cycles/',\n headers=header,\n@@ -318,14 +319,14 @@ def cycles(header, main_url, organization_id, log):\n check_status(result, partmsg, log, piid_flag='cycles')\n \n cycles = result.json()['cycles']\n- print \"current cycles are {}\".format(cycles)\n+ print(\"current cycles are {}\".format(cycles))\n for cyc in cycles:\n if cyc['name'] == 'TestCycle':\n cycle_id = cyc['id']\n break\n else:\n # Create cycle (only if it does not exist, until there is a function to delete cycles)\n- print ('API Function: create_cycle\\n')\n+ print('API Function: create_cycle\\n')\n partmsg = 'create_cycle'\n payload = {\n 'start': \"2015-01-01T08:00\",\n@@ -341,7 +342,7 @@ def cycles(header, main_url, organization_id, log):\n cycle_id = result.json()['cycles']['id']\n \n # Update cycle\n- print ('\\nAPI Function: update_cycle')\n+ print('\\nAPI Function: update_cycle')\n partmsg = 'update_cycle'\n payload = {\n 'start': \"2015-01-01T08:00\",\ndiff --git a/seed/tests/api/test_seed_host_api.py b/seed/tests/api/test_seed_host_api.py\n--- a/seed/tests/api/test_seed_host_api.py\n+++ b/seed/tests/api/test_seed_host_api.py\n@@ -67,7 +67,7 @@\n username = j_data['username']\n api_key = j_data['api_key']\n else:\n- defaultchoice = raw_input('Use \"api_test_user.json\" credentials? [Y]es or Press Any Key ')\n+ defaultchoice = input('Use \"api_test_user.json\" credentials? [Y]es or Press Any Key ')\n \n if defaultchoice.upper() == 'Y':\n with open(os.path.join(location, 'api_test_user.json')) as f:\n@@ -77,22 +77,22 @@\n username = j_data['username']\n api_key = j_data['api_key']\n else:\n- hostname = raw_input('Hostname (default: \"localhost\"): \\t')\n+ hostname = input('Hostname (default: \"localhost\"): \\t')\n if hostname == '':\n hostname = 'localhost'\n- main_url = raw_input('Host URL (default: \"http://localhost:8080\": \\t')\n+ main_url = input('Host URL (default: \"http://localhost:8080\": \\t')\n if main_url == '':\n main_url = 'http://localhost:8000'\n- username = raw_input('Username: \\t')\n- api_key = raw_input('APIKEY: \\t')\n+ username = input('Username: \\t')\n+ api_key = input('APIKEY: \\t')\n \n \n # API is now used basic auth with base64 encoding.\n # NOTE: The header only accepts lower case usernames.\n-auth_string = base64.urlsafe_b64encode(\n- '{}:{}'.format(username.lower(), api_key)\n-)\n-auth_string = 'Basic {}'.format(auth_string)\n+auth_string = base64.urlsafe_b64encode(bytes(\n+ '{}:{}'.format(username.lower(), api_key), 'utf-8'\n+))\n+auth_string = 'Basic {}'.format(auth_string.decode('utf-8'))\n header = {\n 'Authorization': auth_string,\n # \"Content-Type\": \"application/json\"\n@@ -127,15 +127,15 @@\n assert (os.path.isfile(pm_map_file)), 'Missing file ' + pm_map_file\n \n # -- Accounts\n-print ('\\n|-------Accounts-------|\\n')\n+print('\\n|-------Accounts-------|\\n')\n organization_id = account(header, main_url, username, log)\n \n # -- Cycles\n-print ('\\n\\n|-------Cycles-------|')\n+print('\\n\\n|-------Cycles-------|')\n cycle_id = cycles(header, main_url, organization_id, log)\n \n # Create a dataset\n-print ('\\n\\n|-------Create Dateset-------|')\n+print('\\n\\n|-------Create Dateset-------|')\n partmsg = 'create_dataset'\n payload = {'name': 'API Test'}\n result = requests.post(main_url + '/api/v2/datasets/?organization_id=%s' % organization_id,\n@@ -147,13 +147,13 @@\n dataset_id = result.json()['id']\n \n # Upload and test the raw building file\n-print ('\\n|---Covered Building File---|\\n')\n+print('\\n|---Covered Building File---|\\n')\n upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, raw_building_file,\n 'Assessed Raw',\n raw_map_file, log)\n \n # Upload and test the portfolio manager file\n-print ('\\n|---Portfolio Manager File---|\\n')\n+print('\\n|---Portfolio Manager File---|\\n')\n # upload_match_sort(header, main_url, organization_id, dataset_id, cycle_id, pm_building_file, 'Portfolio Raw',\n # pm_map_file, log)\n \ndiff --git a/seed/tests/test_account_views.py b/seed/tests/test_account_views.py\n--- a/seed/tests/test_account_views.py\n+++ b/seed/tests/test_account_views.py\n@@ -51,7 +51,7 @@ def setUp(self):\n self.maxDiff = None\n \n year = date.today().year - 1\n- self.cal_year_name = \"{} Calendar Year\".format(year).encode('utf-8')\n+ self.cal_year_name = \"{} Calendar Year\".format(year)\n \n def test_dict_org(self):\n \"\"\"_dict_org turns our org structure into a json payload.\"\"\"\n@@ -59,9 +59,9 @@ def test_dict_org(self):\n expected_single_org_payload = {\n 'sub_orgs': [],\n 'owners': [{\n- 'first_name': u'Johnny',\n- 'last_name': u'Energy',\n- 'email': u'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy',\n+ 'email': 'test_user@demo.com',\n 'id': self.user.pk}],\n 'number_of_users': 1,\n 'name': 'my org',\n@@ -121,20 +121,20 @@ def test_dic_org_w_member_in_parent_and_child(self):\n 'sub_orgs': [{\n 'sub_orgs': [],\n 'owners': [{\n- 'first_name': u'Johnny',\n- 'last_name': u'Energy',\n- 'email': u'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy',\n+ 'email': 'test_user@demo.com',\n 'id': self.user.pk}],\n 'number_of_users': 1,\n- 'name': u'sub',\n+ 'name': 'sub',\n 'user_role': 'owner',\n 'is_parent': False,\n 'parent_id': self.org.pk,\n 'org_id': new_org.pk,\n 'id': new_org.pk,\n 'user_is_owner': True,\n- 'display_units_area': u'ft**2',\n- 'display_units_eui': u'kBtu/ft**2/year',\n+ 'display_units_area': 'ft**2',\n+ 'display_units_eui': 'kBtu/ft**2/year',\n 'display_significant_figures': 2,\n 'cycles': [{\n 'num_taxlots': 0,\n@@ -145,12 +145,12 @@ def test_dic_org_w_member_in_parent_and_child(self):\n 'created': self.org.created.strftime('%Y-%m-%d'),\n }],\n 'owners': [{\n- 'first_name': u'Johnny',\n- 'last_name': u'Energy',\n- 'email': u'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy',\n+ 'email': 'test_user@demo.com',\n 'id': self.user.pk}],\n 'number_of_users': 1,\n- 'name': u'my org',\n+ 'name': 'my org',\n 'user_role': 'owner',\n 'is_parent': True,\n 'parent_id': self.org.pk,\n@@ -158,8 +158,8 @@ def test_dic_org_w_member_in_parent_and_child(self):\n 'id': self.org.pk,\n 'user_is_owner': True,\n 'display_significant_figures': 2,\n- 'display_units_area': u'ft**2',\n- 'display_units_eui': u'kBtu/ft**2/year',\n+ 'display_units_area': 'ft**2',\n+ 'display_units_eui': 'kBtu/ft**2/year',\n 'cycles': [{\n 'num_taxlots': 0,\n 'num_properties': 0,\n@@ -187,9 +187,9 @@ def test_get_organizations(self):\n self.assertDictEqual(\n org['owners'][0],\n {\n- 'email': u'test_user@demo.com',\n- 'first_name': u'Johnny',\n- 'last_name': u'Energy',\n+ 'email': 'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy',\n 'id': self.user.pk # since this could change\n }\n )\n@@ -216,9 +216,9 @@ def test_get_organization_std_case(self):\n self.assertDictEqual(\n org['owners'][0],\n {\n- 'email': u'test_user@demo.com',\n- 'first_name': u'Johnny',\n- 'last_name': u'Energy',\n+ 'email': 'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy',\n 'id': self.user.pk # since this could change\n }\n )\n@@ -533,12 +533,12 @@ def test_add_shared_fields(self):\n \n # There are already several columns in the database due to the create_organization method\n payload = {\n- u'organization_id': self.org.pk,\n- u'organization': {\n- u'owners': self.user.pk,\n- u'query_threshold': 2,\n- u'name': self.org.name,\n- u'public_fields': [\n+ 'organization_id': self.org.pk,\n+ 'organization': {\n+ 'owners': self.user.pk,\n+ 'query_threshold': 2,\n+ 'name': self.org.name,\n+ 'public_fields': [\n {\n \"id\": ubid_id,\n \"displayName\": \"UBID\",\n@@ -662,10 +662,10 @@ def test_update_user(self):\n json.loads(resp.content),\n {\n 'status': 'success',\n- u'api_key': u'',\n- u'email': u'some@hgg.com',\n- u'first_name': u'bob',\n- u'last_name': u'd'\n+ 'api_key': '',\n+ 'email': 'some@hgg.com',\n+ 'first_name': 'bob',\n+ 'last_name': 'd'\n \n })\n \ndiff --git a/seed/tests/test_add_building_to_project_task.py b/seed/tests/test_add_building_to_project_task.py\ndeleted file mode 100644\n--- a/seed/tests/test_add_building_to_project_task.py\n+++ /dev/null\n@@ -1,108 +0,0 @@\n-# !/usr/bin/env python\n-# encoding: utf-8\n-\"\"\"\n-:copyright (c) 2014 - 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. # NOQA\n-:author 'Piper Merriam '\n-\"\"\"\n-\"\"\"\n-Unit tests for seed/views/labels.py\n-\"\"\"\n-\n-from django.test import TestCase\n-\n-from seed.factory import SEEDFactory\n-from seed.models import (\n- CanonicalBuilding,\n-)\n-\n-\n-class TestAddBuildingsToProjectTask(TestCase):\n- def get_filter_params(self, project):\n- return {\n- \"project_slug\": project.slug,\n- \"selected_buildings\": [],\n- \"select_all_checkbox\": False,\n- \"filter_params\": {\n- # \"canonical_building__labels\": [53],\n- },\n- \"order_by\": \"\",\n- \"sort_reverse\": False,\n- \"project_loading_cache_key\": \"SEED_PROJECT_ADDING_BUILDINGS_PERCENTAGE_{}\".format(\n- project.slug),\n- }\n-\n- @staticmethod\n- def generate_buildings(organization, count):\n- buildings = []\n-\n- for i in range(count):\n- tax_lot_id = str(i).zfill(5)\n- bs = SEEDFactory.building_snapshot(\n- canonical_building=CanonicalBuilding.objects.create(active=True),\n- tax_lot_id=tax_lot_id,\n- super_organization=organization,\n- )\n- bs.canonical_building.canonical_snapshot = bs\n- bs.canonical_building.save()\n- buildings.append(bs)\n-\n- return buildings\n-\n- # @skip(\"Fix for new data model\")\n- # def test_adding_buildings_with_select_all(self):\n- # \"\"\"\n- # Ensure that labels are not actually paginated.\n- # \"\"\"\n- # user = User.objects.create_superuser(\n- # email='test_user@demo.com',\n- # username='test_user@demo.com',\n- # password='secret',\n- # )\n- # organization, _, _ = create_organization(user, \"test-organization\")\n- # project = Project.objects.create(\n- # name='test-org-1',\n- # super_organization=organization,\n- # owner=user,\n- # )\n- #\n- # self.generate_buildings(organization, 10)\n- #\n- # self.assertFalse(project.building_snapshots.exists())\n- #\n- # params = self.get_filter_params(project)\n- # params['select_all_checkbox'] = True\n- #\n- # add_buildings(project.slug, params, user.pk)\n- #\n- # self.assertEqual(project.building_snapshots.count(), 10)\n- #\n- # @skip(\"Fix for new data model\")\n- # def test_adding_buildings_with_individual_selection(self):\n- # \"\"\"\n- # Ensure that labels are not actually paginated.\n- # \"\"\"\n- # user = User.objects.create_superuser(\n- # email='test_user@demo.com',\n- # username='test_user@demo.com',\n- # password='secret',\n- # )\n- # organization, _, _ = create_organization(user, \"test-organization\")\n- # project = Project.objects.create(\n- # name='test-org-1',\n- # super_organization=organization,\n- # owner=user,\n- # )\n- #\n- # buildings = self.generate_buildings(organization, 10)\n- #\n- # self.assertFalse(project.building_snapshots.exists())\n- #\n- # selected_buildings = [b.pk for b in buildings if b.pk % 2 == 0]\n- # self.assertEqual(len(selected_buildings), 5)\n- #\n- # params = self.get_filter_params(project)\n- # params['selected_buildings'] = selected_buildings\n- #\n- # add_buildings(project.slug, params, user.pk)\n- #\n- # self.assertEqual(project.building_snapshots.count(), 5)\ndiff --git a/seed/tests/test_address_normalization.py b/seed/tests/test_address_normalization.py\n--- a/seed/tests/test_address_normalization.py\n+++ b/seed/tests/test_address_normalization.py\n@@ -74,7 +74,7 @@ class NormalizeStreetAddressTests(TestCase):\n # Ranges which leave off common prefix.\n ('end of range leaves off common prefix', '300-22 S Green St', '300-322 s green st'),\n # Odd characters\n- ('unicode characters', u'123 Main St\\uFFFD', '123 main st'),\n+ ('unicode characters', '123 Main St\\uFFFD', '123 main st'),\n # Straight numbers\n ('straight numbers', 56195600100, '56195600100'),\n ]\ndiff --git a/seed/tests/test_admin_views.py b/seed/tests/test_admin_views.py\n--- a/seed/tests/test_admin_views.py\n+++ b/seed/tests/test_admin_views.py\n@@ -257,4 +257,4 @@ def test_signup_process_force_lowercase_email(self):\n # good logins will have 302 and no content\n user = User.objects.get(pk=user.pk)\n self.assertEqual(resp.status_code, 302)\n- self.assertEqual(resp.content, '')\n+ self.assertEqual(resp.content, b'')\ndiff --git a/seed/tests/test_api.py b/seed/tests/test_api.py\n--- a/seed/tests/test_api.py\n+++ b/seed/tests/test_api.py\n@@ -15,55 +15,14 @@\n from django.test import TestCase\n from django.utils import timezone\n \n-from seed.factory import SEEDFactory\n from seed.landing.models import SEEDUser as User\n from seed.models import (\n- CanonicalBuilding,\n Cycle,\n )\n from seed.utils.api import get_api_endpoints\n from seed.utils.organizations import create_organization\n \n \n-class ApiAuthenticationTests(TestCase):\n- \"\"\"\n- Tests of various ways of authenticating to the API.\n-\n- Uses the get_building endpoint in all cases.\n- \"\"\"\n-\n- def setUp(self):\n- user_details = {\n- 'username': 'test_user@demo.com',\n- 'password': 'test_pass',\n- 'email': 'test_user@demo.com'\n- }\n- self.user = User.objects.create_user(**user_details)\n- self.user.generate_key()\n- self.org, _, _ = create_organization(self.user)\n-\n- cb = CanonicalBuilding(active=True)\n- cb.save()\n- b = SEEDFactory.building_snapshot(canonical_building=cb,\n- property_name='ADMIN BUILDING',\n- address_line_1='100 Admin St')\n- cb.canonical_snapshot = b\n- cb.save()\n- b.super_organization = self.org\n- b.save()\n- self.building = b\n-\n- self.api_url = reverse_lazy('api:v1:get_building')\n- self.params = {\n- 'building_id': cb.pk,\n- 'organization_id': self.org.pk,\n- }\n- auth_string = base64.urlsafe_b64encode(\n- '{}:{}'.format(self.user.username, self.user.api_key)\n- )\n- self.auth_string = 'Basic {}'.format(auth_string)\n-\n-\n class SchemaGenerationTests(TestCase):\n def test_get_api_endpoints_utils(self):\n \"\"\"\n@@ -127,15 +86,15 @@ def setUp(self):\n self.org, _, _ = create_organization(self.user)\n self.default_cycle = Cycle.objects.filter(organization_id=self.org).first()\n self.cycle, _ = Cycle.objects.get_or_create(\n- name=u'Test Hack Cycle 2015',\n+ name='Test Hack Cycle 2015',\n organization=self.org,\n start=datetime.datetime(2015, 1, 1, tzinfo=timezone.get_current_timezone()),\n end=datetime.datetime(2015, 12, 31, tzinfo=timezone.get_current_timezone()),\n )\n- auth_string = base64.urlsafe_b64encode(\n- '{}:{}'.format(self.user.username, self.user.api_key)\n- )\n- self.auth_string = 'Basic {}'.format(auth_string)\n+ auth_string = base64.urlsafe_b64encode(bytes(\n+ '{}:{}'.format(self.user.username, self.user.api_key), 'utf-8'\n+ ))\n+ self.auth_string = 'Basic {}'.format(auth_string.decode('utf-8'))\n self.headers = {'Authorization': self.auth_string}\n \n def get_org_id(self, dict, username):\n@@ -210,15 +169,15 @@ def test_organization(self):\n self.assertEqual(r['organizations'][0]['owners'][0]['first_name'], 'Jaqen')\n self.assertEqual(r['organizations'][0]['cycles'], [\n {\n- u'name': u'2017 Calendar Year',\n- u'num_properties': 0,\n- u'num_taxlots': 0,\n- u'cycle_id': self.default_cycle.pk,\n+ 'name': '2017 Calendar Year',\n+ 'num_properties': 0,\n+ 'num_taxlots': 0,\n+ 'cycle_id': self.default_cycle.pk,\n }, {\n- u'name': u'Test Hack Cycle 2015',\n- u'num_properties': 0,\n- u'num_taxlots': 0,\n- u'cycle_id': self.cycle.pk,\n+ 'name': 'Test Hack Cycle 2015',\n+ 'num_properties': 0,\n+ 'num_taxlots': 0,\n+ 'cycle_id': self.cycle.pk,\n }])\n \n def test_organization_details(self):\ndiff --git a/seed/tests/test_building_file_views.py b/seed/tests/test_building_file_views.py\n--- a/seed/tests/test_building_file_views.py\n+++ b/seed/tests/test_building_file_views.py\n@@ -66,7 +66,7 @@ def test_get_building_sync(self):\n url = reverse('api:v2.1:properties-building-sync', args=[pv.id])\n response = self.client.get(url, params)\n self.assertIn('%s.0' % state.gross_floor_area,\n- response.content)\n+ response.content.decode(\"utf-8\"))\n \n def test_upload_and_get_building_sync(self):\n # import_record =\n@@ -92,7 +92,8 @@ def test_upload_and_get_building_sync(self):\n property_id = result['data']['property_view']['id']\n url = reverse('api:v2.1:properties-building-sync', args=[property_id])\n response = self.client.get(url)\n- self.assertIn('1967', response.content)\n+ self.assertIn('1967',\n+ response.content.decode(\"utf-8\"))\n \n def test_upload_with_measure_duplicates(self):\n # import_record =\n@@ -108,9 +109,8 @@ def test_upload_with_measure_duplicates(self):\n response = self.client.post(url, fsysparams)\n self.assertEqual(response.status_code, 200)\n result = json.loads(response.content)\n- # print result\n self.assertEqual(result['status'], 'success')\n- expected_message = \"successfully imported file with warnings [u'Measure category and name is not valid other_electric_motors_and_drives:replace_with_higher_efficiency', u'Measure category and name is not valid other_hvac:install_demand_control_ventilation', u'Measure associated with scenario not found. Scenario: Replace with higher efficiency Only, Measure name: Measure22', u'Measure associated with scenario not found. Scenario: Install demand control ventilation Only, Measure name: Measure24']\"\n+ expected_message = \"successfully imported file with warnings ['Measure category and name is not valid other_electric_motors_and_drives:replace_with_higher_efficiency', 'Measure category and name is not valid other_hvac:install_demand_control_ventilation', 'Measure associated with scenario not found. Scenario: Replace with higher efficiency Only, Measure name: Measure22', 'Measure associated with scenario not found. Scenario: Install demand control ventilation Only, Measure name: Measure24']\"\n self.assertEqual(result['message'], expected_message)\n self.assertEqual(len(result['data']['property_view']['state']['measures']), 28)\n self.assertEqual(len(result['data']['property_view']['state']['scenarios']), 31)\n@@ -129,7 +129,6 @@ def test_upload_with_measure_duplicates(self):\n self.assertEqual(response.status_code, 200)\n result = json.loads(response.content)\n \n- # print result\n self.assertEqual(len(result['data']['property_view']['state']['measures']), 28)\n self.assertEqual(len(result['data']['property_view']['state']['scenarios']), 31)\n \n@@ -158,7 +157,8 @@ def test_upload_and_get_building_sync_diff_ns(self):\n property_id = result['data']['property_view']['id']\n url = reverse('api:v2.1:properties-building-sync', args=[property_id])\n response = self.client.get(url)\n- self.assertIn('1889', response.content)\n+ self.assertIn('1889',\n+ response.content.decode('utf-8'))\n \n def test_get_hpxml(self):\n state = self.property_state_factory.get_property_state()\n@@ -174,4 +174,4 @@ def test_get_hpxml(self):\n url = reverse('api:v2.1:properties-hpxml', args=[pv.id])\n response = self.client.get(url, params)\n self.assertIn('%s.0' % state.gross_floor_area,\n- response.content)\n+ response.content.decode('utf-8'))\ndiff --git a/seed/tests/test_certification_models.py b/seed/tests/test_certification_models.py\n--- a/seed/tests/test_certification_models.py\n+++ b/seed/tests/test_certification_models.py\n@@ -25,6 +25,7 @@\n \n class GreenAssessmentTests(DeleteModelsTestCase):\n \"\"\"Tests for certification/Green Assessment models and methods\"\"\"\n+\n # pylint: disable=too-many-instance-attributes\n \n def setUp(self):\n@@ -62,11 +63,11 @@ def setUp(self):\n \n def test_unicode_magic_methods(self):\n \"\"\"Test unicode repr methods\"\"\"\n- expected = u'Green TS Inc, Green Test Score, Score'\n- self.assertEqual(expected, unicode(self.green_assessment))\n+ expected = 'Green TS Inc, Green Test Score, Score'\n+ self.assertEqual(expected, str(self.green_assessment))\n \n- expected = u'Green TS Inc, Green Test Score: 5'\n- self.assertEqual(expected, unicode(self.gap))\n+ expected = 'Green TS Inc, Green Test Score: 5'\n+ self.assertEqual(expected, str(self.gap))\n \n def test_gap_properties(self):\n \"\"\"Test properties on GreenAssessmentProperty.\"\"\"\n@@ -102,7 +103,7 @@ def test_score(self):\n self.gap.rating = '5 stars'\n exception = conm.exception\n self.assertEqual(\n- \"[u'Green Test Score uses a metric (numeric score)']\",\n+ \"['Green Test Score uses a metric (numeric score)']\",\n str(exception)\n )\n self.gap.assessment.is_numeric_score = False\n@@ -114,7 +115,7 @@ def test_score(self):\n self.gap.metric = 5\n exception = conm.exception\n self.assertEqual(\n- \"[u'Green Test Score uses a rating (non numeric score)']\",\n+ \"['Green Test Score uses a rating (non numeric score)']\",\n str(exception)\n )\n \n@@ -138,49 +139,49 @@ def test_expiration(self):\n def test_to_bedes(self):\n \"\"\"Test to_bedes_dict method.\"\"\"\n expected = {\n- u'Assessment Program': 'Green Test Score',\n- u'Assessment Program Organization': 'Green TS Inc',\n- u'Assessment Recognition Type': u'Score',\n- u'Assessment Recognition Status': 'Pending',\n- u'Assessment Recognition Status Date': self.status_date,\n- u'Assessment Recognition Target Date': None,\n- u'Assessment Value': 5,\n- u'Assessment Version': '1',\n- u'Assessment Year': self.start_date.year,\n- u'Assessment Eligibility': True,\n- u'Assessment Level': None,\n- u'Assessment Program URL': self.urls,\n+ 'Assessment Program': 'Green Test Score',\n+ 'Assessment Program Organization': 'Green TS Inc',\n+ 'Assessment Recognition Type': 'Score',\n+ 'Assessment Recognition Status': 'Pending',\n+ 'Assessment Recognition Status Date': self.status_date,\n+ 'Assessment Recognition Target Date': None,\n+ 'Assessment Value': 5,\n+ 'Assessment Version': '1',\n+ 'Assessment Year': self.start_date.year,\n+ 'Assessment Eligibility': True,\n+ 'Assessment Level': None,\n+ 'Assessment Program URL': self.urls,\n }\n self.assertDictEqual(expected, self.gap.to_bedes_dict())\n \n def test_to_reso(self):\n \"\"\"Test to_reso_dict method.\"\"\"\n expected = {\n- u'GreenBuildingVerificationType': 'Green Test Score',\n- u'GreenVerificationBody': 'Green TS Inc',\n- u'GreenVerificationDate': self.start_date,\n- u'GreenVerificationSource': 'Assessor',\n- u'GreenVerificationStatus': 'Pending',\n- u'GreenVerificationMetric': 5,\n- u'GreenVerificationRating': None,\n- u'GreenVerificationVersion': '1',\n- u'GreenVerificationYear': self.start_date.year,\n- u'GreenVerificationURL': self.urls,\n+ 'GreenBuildingVerificationType': 'Green Test Score',\n+ 'GreenVerificationBody': 'Green TS Inc',\n+ 'GreenVerificationDate': self.start_date,\n+ 'GreenVerificationSource': 'Assessor',\n+ 'GreenVerificationStatus': 'Pending',\n+ 'GreenVerificationMetric': 5,\n+ 'GreenVerificationRating': None,\n+ 'GreenVerificationVersion': '1',\n+ 'GreenVerificationYear': self.start_date.year,\n+ 'GreenVerificationURL': self.urls,\n }\n self.assertDictEqual(expected, self.gap.to_reso_dict())\n \n def test_to_reso_sub_name(self):\n \"\"\"Test to_reso_dict method with substitution.\"\"\"\n expected = {\n- u'GreenBuildingVerificationType': 'Green Test Score',\n- u'GreenVerificationGreenTestScoreBody': 'Green TS Inc',\n- u'GreenVerificationGreenTestScoreDate': self.start_date,\n- u'GreenVerificationGreenTestScoreSource': 'Assessor',\n- u'GreenVerificationGreenTestScoreStatus': 'Pending',\n- u'GreenVerificationGreenTestScoreMetric': 5,\n- u'GreenVerificationGreenTestScoreRating': None,\n- u'GreenVerificationGreenTestScoreVersion': '1',\n- u'GreenVerificationGreenTestScoreYear': self.start_date.year,\n- u'GreenVerificationGreenTestScoreURL': self.urls,\n+ 'GreenBuildingVerificationType': 'Green Test Score',\n+ 'GreenVerificationGreenTestScoreBody': 'Green TS Inc',\n+ 'GreenVerificationGreenTestScoreDate': self.start_date,\n+ 'GreenVerificationGreenTestScoreSource': 'Assessor',\n+ 'GreenVerificationGreenTestScoreStatus': 'Pending',\n+ 'GreenVerificationGreenTestScoreMetric': 5,\n+ 'GreenVerificationGreenTestScoreRating': None,\n+ 'GreenVerificationGreenTestScoreVersion': '1',\n+ 'GreenVerificationGreenTestScoreYear': self.start_date.year,\n+ 'GreenVerificationGreenTestScoreURL': self.urls,\n }\n self.assertDictEqual(expected, self.gap.to_reso_dict(sub_name=True))\ndiff --git a/seed/tests/test_certification_serializers.py b/seed/tests/test_certification_serializers.py\n--- a/seed/tests/test_certification_serializers.py\n+++ b/seed/tests/test_certification_serializers.py\n@@ -201,7 +201,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'Only one of metric or rating can be supplied.']\"\n+ expected = \"['Only one of metric or rating can be supplied.']\"\n self.assertEqual(expected, str(exception))\n \n # assert raises error if metric is expected\n@@ -210,7 +210,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'{} uses a metric (numeric score).']\".format(\n+ expected = \"['{} uses a metric (numeric score).']\".format(\n self.assessment.name\n )\n self.assertEqual(expected, str(exception))\n@@ -221,7 +221,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'Metric must be a number.']\"\n+ expected = \"['Metric must be a number.']\"\n self.assertEqual(expected, str(exception))\n \n # assert raises error if rating expected\n@@ -230,7 +230,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'{} uses a rating (non-numeric score).']\".format(\n+ expected = \"['{} uses a rating (non-numeric score).']\".format(\n self.assessment.name\n )\n \n@@ -240,7 +240,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'Rating must be a string.']\"\n+ expected = \"['Rating must be a string.']\"\n self.assertEqual(expected, str(exception))\n \n # assert converts ints to floats\n@@ -255,7 +255,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'Metric must be an integer.']\"\n+ expected = \"['Metric must be an integer.']\"\n self.assertEqual(expected, str(exception))\n \n # assert raises error if assessment missing\n@@ -263,7 +263,7 @@ def test_validate(self):\n with self.assertRaises(ValidationError) as conm:\n serializer.validate(data)\n exception = conm.exception\n- expected = \"[u'Could not find assessment.']\"\n+ expected = \"['Could not find assessment.']\"\n self.assertEqual(expected, str(exception))\n \n \n@@ -296,11 +296,11 @@ def test_serialization(self):\n \"\"\"Test object serialization.\"\"\"\n expected = {\n 'id': self.assessment.id,\n- 'name': u'Test',\n- 'award_body': u'Test Inc',\n- 'recognition_type': u'AWD',\n- 'recognition_description': u'Award',\n- 'description': u'Test Award',\n+ 'name': 'Test',\n+ 'award_body': 'Test Inc',\n+ 'recognition_type': 'AWD',\n+ 'recognition_description': 'Award',\n+ 'description': 'Test Award',\n 'is_numeric_score': True,\n 'is_integer_score': True,\n 'validity_duration': 365\ndiff --git a/seed/tests/test_column_list_settings.py b/seed/tests/test_column_list_settings.py\n--- a/seed/tests/test_column_list_settings.py\n+++ b/seed/tests/test_column_list_settings.py\n@@ -14,6 +14,7 @@\n ColumnListSettingColumn,\n )\n from seed.utils.organizations import create_organization\n+from past.builtins import basestring\n \n \n class TestColumnListSettings(TestCase):\n@@ -27,14 +28,14 @@ def test_adding_columns(self):\n \"\"\"These are simple tests which really only test the m2m part. If these don't work, then django has\n some issues.\"\"\"\n col1 = Column.objects.create(\n- column_name=u'New Column',\n- table_name=u'PropertyState',\n+ column_name='New Column',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True,\n )\n col2 = Column.objects.create(\n- column_name=u'Second Column',\n- table_name=u'PropertyState',\n+ column_name='Second Column',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True,\n )\n@@ -57,19 +58,19 @@ def test_returning_columns_no_profile(self):\n \n # not the most robust tests, but they are least check for non-zero results\n self.assertIsInstance(ids[0], int)\n- self.assertIsInstance(name_mappings.keys()[0], unicode)\n- self.assertIsInstance(name_mappings.values()[0], unicode)\n+ self.assertIsInstance(list(name_mappings.keys())[0], basestring)\n+ self.assertIsInstance(list(name_mappings.values())[0], basestring)\n \n def test_returning_columns_with_profile(self):\n col1 = Column.objects.create(\n- column_name=u'New Column',\n- table_name=u'PropertyState',\n+ column_name='New Column',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True,\n )\n col2 = Column.objects.create(\n- column_name=u'Second Column',\n- table_name=u'PropertyState',\n+ column_name='Second Column',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True,\n )\n@@ -81,10 +82,7 @@ def test_returning_columns_with_profile(self):\n # do not set up a profile and return the columns, should be all columns\n ids, name_mappings, objs = ColumnListSetting.return_columns(self.fake_org, new_list_setting.id)\n \n- # print ids\n- # print name_mappings\n-\n # not the most robust tests, but they are least check for non-zero results\n self.assertIsInstance(ids[0], int)\n- self.assertIsInstance(name_mappings.keys()[0], unicode)\n- self.assertIsInstance(name_mappings.values()[0], unicode)\n+ self.assertIsInstance(list(name_mappings.keys())[0], basestring)\n+ self.assertIsInstance(list(name_mappings.values())[0], basestring)\ndiff --git a/seed/tests/test_column_views.py b/seed/tests/test_column_views.py\n--- a/seed/tests/test_column_views.py\n+++ b/seed/tests/test_column_views.py\n@@ -109,17 +109,17 @@ def test_get_all_columns(self):\n del result['organization_id'] # org changes based on test\n \n expected = {\n- u'table_name': u'PropertyState',\n- u'column_name': u'pm_property_id',\n- u'display_name': u'PM Property ID',\n- u'is_extra_data': False,\n- u'merge_protection': u'Favor New',\n- u'data_type': u'string',\n- u'related': False,\n- u'sharedFieldType': u'None',\n- u'pinnedLeft': True,\n- u'unit_name': None,\n- u'unit_type': None,\n+ 'table_name': 'PropertyState',\n+ 'column_name': 'pm_property_id',\n+ 'display_name': 'PM Property ID',\n+ 'is_extra_data': False,\n+ 'merge_protection': 'Favor New',\n+ 'data_type': 'string',\n+ 'related': False,\n+ 'sharedFieldType': 'None',\n+ 'pinnedLeft': True,\n+ 'unit_name': None,\n+ 'unit_type': None,\n }\n \n # randomly check a column\ndiff --git a/seed/tests/test_columns.py b/seed/tests/test_columns.py\n--- a/seed/tests/test_columns.py\n+++ b/seed/tests/test_columns.py\n@@ -38,12 +38,12 @@ def test_get_column_mapping(self):\n \n # Raw columns don't have a table name!\n raw_column = seed_models.Column.objects.create(\n- column_name=u'Some Weird City ID',\n+ column_name='Some Weird City ID',\n organization=org2\n )\n mapped_column = seed_models.Column.objects.create(\n- table_name=u'PropertyState',\n- column_name=u'custom_id_1',\n+ table_name='PropertyState',\n+ column_name='custom_id_1',\n organization=org2\n )\n column_mapping1 = seed_models.ColumnMapping.objects.create(\n@@ -67,7 +67,7 @@ def test_get_column_mapping(self):\n # Fully correct example\n self.assertEqual(\n seed_models.get_column_mapping(raw_column.column_name, org2, 'column_mapped'),\n- (u'PropertyState', u'custom_id_1', 100)\n+ ('PropertyState', 'custom_id_1', 100)\n )\n \n def test_get_column_mappings(self):\n@@ -91,9 +91,9 @@ def test_get_column_mappings(self):\n Column.create_mappings(raw_data, self.fake_org, self.fake_user)\n \n expected = {\n- u'raw_data_0': (u'PropertyState', u'destination_0', u'', True),\n- u'raw_data_1': (u'PropertyState', u'destination_1', u'', True),\n- u'raw_data_2': (u'TaxLotState', u'destination_0', u'', True),\n+ 'raw_data_0': ('PropertyState', 'destination_0', '', True),\n+ 'raw_data_1': ('PropertyState', 'destination_1', '', True),\n+ 'raw_data_2': ('TaxLotState', 'destination_0', '', True),\n }\n \n test_mapping, no_concat = ColumnMapping.get_column_mappings(self.fake_org)\n@@ -136,11 +136,11 @@ def test_save_mappings_dict(self):\n seed_models.Column.create_mappings(test_map, self.fake_org, self.fake_user)\n test_mapping, _ = ColumnMapping.get_column_mappings(self.fake_org)\n expected = {\n- u'Wookiee': (u'PropertyState', u'Dothraki', u'', True),\n- u'address': (u'TaxLotState', u'address', u'', True),\n- u'eui': (u'PropertyState', u'site_eui', u'Site EUI', False),\n- # u'Ewok': (u'TaxLotState', u'Merovingian'), # this does not show up because it was set before the last one\n- u'Ewok': (u'TaxLotState', u'Hattin', u'', True),\n+ 'Wookiee': ('PropertyState', 'Dothraki', '', True),\n+ 'address': ('TaxLotState', 'address', '', True),\n+ 'eui': ('PropertyState', 'site_eui', 'Site EUI', False),\n+ # 'Ewok': ('TaxLotState', 'Merovingian'), # this does not show up because it was set before the last one\n+ 'Ewok': ('TaxLotState', 'Hattin', '', True),\n }\n self.assertDictEqual(expected, test_mapping)\n self.assertTrue(test_mapping['Ewok'], 'Hattin')\n@@ -165,13 +165,13 @@ def test_save_mappings_dict(self):\n # test by table name sorting\n test_mapping = ColumnMapping.get_column_mappings_by_table_name(self.fake_org)\n expected = {\n- u'PropertyState': {\n- u'Wookiee': (u'PropertyState', u'Dothraki', u'', True),\n- u'eui': (u'PropertyState', u'site_eui', u'Site EUI', False),\n+ 'PropertyState': {\n+ 'Wookiee': ('PropertyState', 'Dothraki', '', True),\n+ 'eui': ('PropertyState', 'site_eui', 'Site EUI', False),\n },\n- u'TaxLotState': {\n- u'address': (u'TaxLotState', u'address', u'', True),\n- u'Ewok': (u'TaxLotState', u'Hattin', u'', True),\n+ 'TaxLotState': {\n+ 'address': ('TaxLotState', 'address', '', True),\n+ 'Ewok': ('TaxLotState', 'Hattin', '', True),\n }\n }\n self.assertDictEqual(test_mapping, expected)\n@@ -202,23 +202,23 @@ def test_save_column_mapping_by_file(self):\n Column.create_mappings_from_file(self.mapping_import_file, self.fake_org, self.fake_user)\n \n expected = {\n- u'City': (u'PropertyState', u'city'),\n- u'Custom ID': (u'PropertyState', u'custom_id_1'),\n- u'Zip': (u'PropertyState', u'postal_code'),\n- u'GBA': (u'PropertyState', u'gross_floor_area'),\n- u'PM Property ID': (u'PropertyState', u'pm_property_id'),\n- u'BLDGS': (u'PropertyState', u'building_count'),\n- u'AYB_YearBuilt': (u'PropertyState', u'year_build'),\n- u'State': (u'PropertyState', u'state'),\n- u'Address': (u'PropertyState', u'address_line_1'),\n- u'Owner': (u'PropertyState', u'owner'),\n- u'Raw Column': (u'Table Name', u'Field Name'),\n- u'Property Type': (u'PropertyState', u'property_type'),\n- u'UBI': (u'TaxLotState', u'jurisdiction_tax_lot_id')\n+ 'City': ('PropertyState', 'city'),\n+ 'Custom ID': ('PropertyState', 'custom_id_1'),\n+ 'Zip': ('PropertyState', 'postal_code'),\n+ 'GBA': ('PropertyState', 'gross_floor_area'),\n+ 'PM Property ID': ('PropertyState', 'pm_property_id'),\n+ 'BLDGS': ('PropertyState', 'building_count'),\n+ 'AYB_YearBuilt': ('PropertyState', 'year_build'),\n+ 'State': ('PropertyState', 'state'),\n+ 'Address': ('PropertyState', 'address_line_1'),\n+ 'Owner': ('PropertyState', 'owner'),\n+ 'Raw Column': ('Table Name', 'Field Name'),\n+ 'Property Type': ('PropertyState', 'property_type'),\n+ 'UBI': ('TaxLotState', 'jurisdiction_tax_lot_id')\n }\n \n test_mapping, _ = ColumnMapping.get_column_mappings(self.fake_org)\n- self.assertItemsEqual(expected, test_mapping)\n+ self.assertCountEqual(expected, test_mapping)\n \n \n class TestColumnMapping(TestCase):\n@@ -257,15 +257,15 @@ def setUp(self):\n self.fake_user, name='Existing Org'\n )\n column_a = seed_models.Column.objects.create(\n- column_name=u'Column A',\n- table_name=u'PropertyState',\n+ column_name='Column A',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True,\n shared_field_type=Column.SHARED_PUBLIC,\n )\n # field that is in the import, but not mapped to\n raw_column = seed_models.Column.objects.create(\n- column_name=u'not mapped data',\n+ column_name='not mapped data',\n organization=self.fake_org,\n )\n dm = seed_models.ColumnMapping.objects.create()\n@@ -273,26 +273,26 @@ def setUp(self):\n dm.column_mapped.add(column_a)\n dm.save()\n seed_models.Column.objects.create(\n- column_name=u\"Apostrophe's Field\",\n- table_name=u'PropertyState',\n+ column_name=\"Apostrophe's Field\",\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True\n )\n seed_models.Column.objects.create(\n- column_name=u'id',\n- table_name=u'PropertyState',\n+ column_name='id',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True\n )\n seed_models.Column.objects.create(\n- column_name=u'tax_lot_id_not_used',\n- table_name=u'TaxLotState',\n+ column_name='tax_lot_id_not_used',\n+ table_name='TaxLotState',\n organization=self.fake_org,\n is_extra_data=True\n )\n seed_models.Column.objects.create(\n- column_name=u'Gross Floor Area',\n- table_name=u'TaxLotState',\n+ column_name='Gross Floor Area',\n+ table_name='TaxLotState',\n organization=self.fake_org,\n is_extra_data=True\n )\n@@ -301,23 +301,23 @@ def test_is_extra_data_validation(self):\n # This is an invalid column. It is not a db field but is not marked as extra data\n with self.assertRaises(ValidationError):\n seed_models.Column.objects.create(\n- column_name=u'not extra data',\n- table_name=u'PropertyState',\n+ column_name='not extra data',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=False\n )\n \n # verify that creating columns from CSV's will not raise ValidationErrors\n column = seed_models.Column.objects.create(\n- column_name=u'column from csv file',\n- # table_name=u'PropertyState',\n+ column_name='column from csv file',\n+ # table_name='PropertyState',\n organization=self.fake_org,\n # is_extra_data=False\n )\n column.delete()\n \n column = seed_models.Column.objects.create(\n- column_name=u'column from csv file empty table',\n+ column_name='column from csv file empty table',\n table_name='',\n organization=self.fake_org,\n # is_extra_data=False\n@@ -325,7 +325,7 @@ def test_is_extra_data_validation(self):\n column.delete()\n \n column = seed_models.Column.objects.create(\n- column_name=u'column from csv file empty table false extra_data',\n+ column_name='column from csv file empty table false extra_data',\n table_name='',\n organization=self.fake_org,\n is_extra_data=False\n@@ -351,9 +351,9 @@ def test_column_retrieve_all(self):\n \n # Check for columns\n c = {\n- 'table_name': u'PropertyState',\n- 'column_name': u'Column A',\n- 'display_name': u'Column A',\n+ 'table_name': 'PropertyState',\n+ 'column_name': 'Column A',\n+ 'display_name': 'Column A',\n 'is_extra_data': True,\n 'merge_protection': 'Favor New',\n 'data_type': 'None',\n@@ -366,9 +366,9 @@ def test_column_retrieve_all(self):\n \n # Check that display_name doesn't capitalize after apostrophe\n c = {\n- 'table_name': u'PropertyState',\n- 'column_name': u\"Apostrophe's Field\",\n- 'display_name': u\"Apostrophe's Field\",\n+ 'table_name': 'PropertyState',\n+ 'column_name': \"Apostrophe's Field\",\n+ 'display_name': \"Apostrophe's Field\",\n 'is_extra_data': True,\n 'merge_protection': 'Favor New',\n 'data_type': 'None',\n@@ -473,8 +473,8 @@ def test_column_retrieve_only_used(self):\n \n def test_column_retrieve_all_duplicate_error(self):\n seed_models.Column.objects.create(\n- column_name=u'custom_id_1',\n- table_name=u'PropertyState',\n+ column_name='custom_id_1',\n+ table_name='PropertyState',\n organization=self.fake_org,\n is_extra_data=True\n )\n@@ -563,7 +563,7 @@ def test_column_retrieve_db_fields(self):\n 'source_eui', 'source_eui_modeled', 'source_eui_weather_normalized', 'space_alerts',\n 'state', 'ubid', 'updated', 'use_description', 'year_built', 'year_ending']\n \n- self.assertItemsEqual(c, data)\n+ self.assertCountEqual(c, data)\n \n def test_retrieve_db_field_name_from_db_tables(self):\n \"\"\"These values are the fields that can be used for hashing a property to check if it is the same record.\"\"\"\n@@ -593,11 +593,11 @@ def test_retrieve_db_field_table_and_names_from_db_tables(self):\n \n def test_retrieve_all_as_tuple(self):\n list_result = Column.retrieve_all_by_tuple(self.fake_org)\n- self.assertIn((u'PropertyState', u'site_eui_modeled'), list_result)\n- self.assertIn((u'TaxLotState', u'tax_lot_id_not_used'), list_result)\n- self.assertIn((u'PropertyState', u'gross_floor_area'),\n+ self.assertIn(('PropertyState', 'site_eui_modeled'), list_result)\n+ self.assertIn(('TaxLotState', 'tax_lot_id_not_used'), list_result)\n+ self.assertIn(('PropertyState', 'gross_floor_area'),\n list_result) # extra field in taxlot, but not in property\n- self.assertIn((u'TaxLotState', u'Gross Floor Area'),\n+ self.assertIn(('TaxLotState', 'Gross Floor Area'),\n list_result) # extra field in taxlot, but not in property\n \n def test_db_columns_in_default_columns(self):\n@@ -609,7 +609,6 @@ def test_db_columns_in_default_columns(self):\n \"\"\"\n \n all_columns = Column.retrieve_db_fields_from_db_tables()\n- # print json.dumps(all_columns, indent=2)\n \n # {\n # \"table_name\": \"PropertyState\",\ndiff --git a/seed/tests/test_data_lengths.py b/seed/tests/test_data_lengths.py\n--- a/seed/tests/test_data_lengths.py\n+++ b/seed/tests/test_data_lengths.py\n@@ -33,7 +33,7 @@ def test_tax_lot_id_int(self):\n \n # Check that the data is converted correctly\n bs2 = BuildingSnapshot.objects.get(pk=self.bs.pk)\n- self.assertEqual(bs2.tax_lot_id, u'123123123')\n+ self.assertEqual(bs2.tax_lot_id, '123123123')\n \n def test_pm_property_id(self):\n \"\"\"\ndiff --git a/seed/tests/test_data_quality_checks.py b/seed/tests/test_data_quality_checks.py\n--- a/seed/tests/test_data_quality_checks.py\n+++ b/seed/tests/test_data_quality_checks.py\n@@ -112,7 +112,7 @@ def test_check_property_state_example_data(self):\n # 'address_line_1': '742 Evergreen Terrace',\n # 'data_quality_results': [\n # {\n- # 'severity': u'error', 'value': '525600', 'field': u'site_eui', 'table_name': u'PropertyState', 'message': u'Site EUI out of range', 'detailed_message': u'Site EUI [525600] > 1000', 'formatted_field': u'Site EUI'\n+ # 'severity': 'error', 'value': '525600', 'field': 'site_eui', 'table_name': 'PropertyState', 'message': 'Site EUI out of range', 'detailed_message': 'Site EUI [525600] > 1000', 'formatted_field': 'Site EUI'\n # }\n # ]\n # }\n@@ -122,9 +122,9 @@ def test_check_property_state_example_data(self):\n self.assertEqual(row['pm_property_id'], 'PMID')\n self.assertEqual(row['address_line_1'], '742 Evergreen Terrace')\n for violation in row['data_quality_results']:\n- if violation['message'] == u'Site EUI out of range':\n+ if violation['message'] == 'Site EUI out of range':\n error_found = True\n- self.assertEqual(violation['detailed_message'], u'Site EUI [525600] > 1000')\n+ self.assertEqual(violation['detailed_message'], 'Site EUI [525600] > 1000')\n \n self.assertEqual(error_found, True)\n \ndiff --git a/seed/tests/test_decorators.py b/seed/tests/test_decorators.py\n--- a/seed/tests/test_decorators.py\n+++ b/seed/tests/test_decorators.py\n@@ -206,7 +206,7 @@ def func(mock_self, request):\n self.assertEqual(result.status_code, 400)\n self.assertEqual(\n result.content,\n- 'Valid organization_id is required in the query parameters.'\n+ b'Valid organization_id is required in the query parameters.'\n )\n \n def test_require_organization_id_class_org_id_not_int(self):\n@@ -221,7 +221,7 @@ def func(mock_self, request):\n self.assertEqual(result.status_code, 400)\n self.assertEqual(\n result.content,\n- 'Invalid organization_id in the query parameters, must be integer'\n+ b'Invalid organization_id in the query parameters, must be integer'\n )\n \n def test_ajax_request_class_format_type(self):\ndiff --git a/seed/tests/test_note_views.py b/seed/tests/test_note_views.py\n--- a/seed/tests/test_note_views.py\n+++ b/seed/tests/test_note_views.py\n@@ -64,11 +64,11 @@ def test_get_notes_property(self):\n \n # most recent log is displayed first\n expected_log_data = {\n- u'property_state': [\n+ 'property_state': [\n {\n- u'field': u'address_line_1',\n- u'previous_value': u'123 Main Street',\n- u'new_value': u'742 Evergreen Terrace'\n+ 'field': 'address_line_1',\n+ 'previous_value': '123 Main Street',\n+ 'new_value': '742 Evergreen Terrace'\n }\n ]\n }\ndiff --git a/seed/tests/test_permissions.py b/seed/tests/test_permissions.py\n--- a/seed/tests/test_permissions.py\n+++ b/seed/tests/test_permissions.py\n@@ -157,17 +157,6 @@ def test_has_permission(self, mock_is_authenticated, mock_has_perm):\n mock_request.user = self.user\n mock_view = mock.MagicMock()\n \n- # assert raises error if no queryset\n- mock_value_error = mock.PropertyMock(side_effect=ValueError)\n- type(mock_view).get_queryset = mock_value_error\n- mock_view.queryset = None\n- self.assertRaises(\n- AssertionError,\n- permissions.has_permission,\n- mock_request,\n- mock_view\n- )\n-\n # queryset its not used, but needs to be checked as work around\n mock_view.queryset = True\n \n@@ -193,11 +182,23 @@ def test_has_permission(self, mock_is_authenticated, mock_has_perm):\n \n # test get_queryset called\n # pylint: disable=redefined-variable-type\n+ mock_view.queryset = None\n mock_get_queryset = mock.MagicMock()\n type(mock_view).get_queryset = mock_get_queryset\n permissions.has_permission(mock_request, mock_view)\n self.assertTrue(mock_get_queryset.called)\n \n+ # assert raises error if no queryset\n+ mock_value_error = mock.PropertyMock(side_effect=ValueError)\n+ type(mock_view).get_queryset = mock_value_error\n+ mock_view.queryset = None\n+ self.assertRaises(\n+ AssertionError,\n+ permissions.has_permission,\n+ mock_request,\n+ mock_view\n+ )\n+\n \n class SEEDPublicPermissionsTests(TestCase):\n \"\"\"Tests for Custom DRF Permissions\"\"\"\ndiff --git a/seed/tests/test_portfoliomanager.py b/seed/tests/test_portfoliomanager.py\n--- a/seed/tests/test_portfoliomanager.py\n+++ b/seed/tests/test_portfoliomanager.py\n@@ -166,7 +166,7 @@ def test_template_views(self):\n # if it is a child (data request) row, the display name should be formatted\n # it is possible that a parent row could have the same \"indentation\", and that's fine, we don't assert there\n if row['z_seed_child_row']:\n- self.assertEquals(u' - ', row['display_name'][0:5])\n+ self.assertEquals(' - ', row['display_name'][0:5])\n \n \n class PortfolioManagerReportGenerationViewTestsFailure(TestCase):\n@@ -281,13 +281,13 @@ def setUp(self):\n def test_report_generation_parent_template(self):\n \n parent_template = {\n- u'display_name': u'SEED City Test Report',\n- u'name': u'SEED City Test Report',\n- u'id': 1103344,\n- u'z_seed_child_row': False,\n- u'type': 0,\n- u'children': [],\n- u'pending': 0\n+ 'display_name': 'SEED City Test Report',\n+ 'name': 'SEED City Test Report',\n+ 'id': 1103344,\n+ 'z_seed_child_row': False,\n+ 'type': 0,\n+ 'children': [],\n+ 'pending': 0\n }\n \n # so now we'll call out to PM to get a parent template report\n@@ -318,15 +318,15 @@ def test_report_generation_parent_template(self):\n def test_report_generation_empty_child_template(self):\n \n child_template = {\n- u'display_name': u' - Data Request:SEED City Test Report April 24 2018',\n- u'name': u'Data Request:SEED City Test Report April 24 2018',\n- u'id': 2097417,\n- u'subtype': 2,\n- u'z_seed_child_row': True,\n- u'hasChildrenRows': False,\n- u'type': 1,\n- u'children': [],\n- u'pending': 0\n+ 'display_name': ' - Data Request:SEED City Test Report April 24 2018',\n+ 'name': 'Data Request:SEED City Test Report April 24 2018',\n+ 'id': 2097417,\n+ 'subtype': 2,\n+ 'z_seed_child_row': True,\n+ 'hasChildrenRows': False,\n+ 'type': 1,\n+ 'children': [],\n+ 'pending': 0\n }\n \n # so now we'll call out to PM to get a child template report\ndiff --git a/seed/tests/test_project_views.py b/seed/tests/test_project_views.py\n--- a/seed/tests/test_project_views.py\n+++ b/seed/tests/test_project_views.py\n@@ -112,26 +112,26 @@ def _set_role_level(self, role_level, user=None, org=None):\n def _expected_project(self, modified, pk, has_views, name=DEFAULT_NAME,\n **kwargs):\n expected = {\n- u'compliance_type': None,\n- u'deadline_date': None,\n- u'description': u'',\n- u'end_date': None,\n- u'id': pk,\n- u'is_compliance': False,\n- u'modified': modified,\n- u'last_modified_by': {u'email': u'test_user@demo.com',\n- u'first_name': u'Johnny',\n- u'last_name': u'Energy'},\n- u'name': name,\n- u'property_count': 0,\n- u'slug': slugify(name),\n- u'taxlot_count': 0,\n- u'status': u'active',\n+ 'compliance_type': None,\n+ 'deadline_date': None,\n+ 'description': '',\n+ 'end_date': None,\n+ 'id': pk,\n+ 'is_compliance': False,\n+ 'modified': modified,\n+ 'last_modified_by': {'email': 'test_user@demo.com',\n+ 'first_name': 'Johnny',\n+ 'last_name': 'Energy'},\n+ 'name': name,\n+ 'property_count': 0,\n+ 'slug': slugify(name),\n+ 'taxlot_count': 0,\n+ 'status': 'active',\n }\n if has_views:\n expected.update({\n- u'property_views': [],\n- u'taxlot_views': [],\n+ 'property_views': [],\n+ 'taxlot_views': [],\n })\n expected.update(kwargs)\n return expected\n@@ -144,20 +144,20 @@ def test_create_project_perms(self):\n # standard case\n ou.role_level = ROLE_MEMBER\n ou.save()\n- resp = self._create_project(u'proj1', via_http=True)\n+ resp = self._create_project('proj1', via_http=True)\n result = json.loads(resp.content)\n expected = {\n- u'status': u'success',\n- u'project': self._expected_project(\n+ 'status': 'success',\n+ 'project': self._expected_project(\n result['project']['modified'],\n result['project']['id'],\n False\n )\n }\n expected['project']['last_modified_by'] = {\n- u'email': None,\n- u'first_name': None,\n- u'last_name': None\n+ 'email': None,\n+ 'first_name': None,\n+ 'last_name': None\n }\n self.assertDictEqual(expected, result)\n # test that owner is good too\n@@ -166,17 +166,17 @@ def test_create_project_perms(self):\n resp = self._create_project('Proj2', via_http=True)\n result = json.loads(resp.content)\n expected = {\n- u'status': u'success',\n- u'project': self._expected_project(\n+ 'status': 'success',\n+ 'project': self._expected_project(\n result['project']['modified'],\n result['project']['id'],\n- False, name=u'Proj2'\n+ False, name='Proj2'\n )\n }\n expected['project']['last_modified_by'] = {\n- u'email': None,\n- u'first_name': None,\n- u'last_name': None\n+ 'email': None,\n+ 'first_name': None,\n+ 'last_name': None\n }\n self.assertDictEqual(expected, result)\n # test that viewer cannot create a project\n@@ -204,12 +204,12 @@ def test_get_projects(self):\n )\n projects = json.loads(resp.content)['projects']\n std_output = {\n- u'projects': [\n+ 'projects': [\n self._expected_project(\n projects[0]['modified'], projects[0]['id'], False\n ),\n ],\n- u'status': u'success'\n+ 'status': 'success'\n }\n self.assertDictEqual(\n json.loads(resp.content),\n@@ -270,8 +270,8 @@ def test_get_project(self):\n )\n result = json.loads(resp.content)\n expected = {\n- u'status': u'success',\n- u'project': self._expected_project(\n+ 'status': 'success',\n+ 'project': self._expected_project(\n result['project']['modified'],\n result['project']['id'],\n True\n@@ -348,8 +348,8 @@ def test_delete_project(self):\n self.assertDictEqual(\n json.loads(resp.content),\n {\n- u'message': u'Could not find project with slug: proj2',\n- u'status': u'error'\n+ 'message': 'Could not find project with slug: proj2',\n+ 'status': 'error'\n }\n )\n \ndiff --git a/seed/tests/test_properties_serializers.py b/seed/tests/test_properties_serializers.py\n--- a/seed/tests/test_properties_serializers.py\n+++ b/seed/tests/test_properties_serializers.py\n@@ -292,7 +292,7 @@ def test_get_certifications(self):\n \n def test_get_changed_fields(self):\n \"\"\"Test get_changed_fields\"\"\"\n- expected = [u'a', u'b']\n+ expected = ['a', 'b']\n self.assertEqual(\n self.serializer.get_changed_fields(None), expected\n )\ndiff --git a/seed/tests/test_property_views.py b/seed/tests/test_property_views.py\n--- a/seed/tests/test_property_views.py\n+++ b/seed/tests/test_property_views.py\n@@ -140,7 +140,7 @@ def test_search_identifier(self):\n # print out the result of this when there are more than two in an attempt to catch the\n # non-deterministic part of this test\n if len(results) > 2:\n- print results\n+ print(results)\n \n self.assertEqual(len(results), 2)\n \ndiff --git a/seed/tests/test_scenarios.py b/seed/tests/test_scenarios.py\n--- a/seed/tests/test_scenarios.py\n+++ b/seed/tests/test_scenarios.py\n@@ -28,8 +28,8 @@ def test_scenario_meters(self):\n self.assertEqual(ps.propertymeasure_set.count(), 5)\n \n # for m in ps.propertymeasure_set.all():\n- # print m.measure\n- # print m.cost_mv\n+ # print(m.measure)\n+ # print(m.cost_mv)\n \n # s = Scenario.objects.create(\n # name='Test'\ndiff --git a/seed/tests/test_sharing.py b/seed/tests/test_sharing.py\n--- a/seed/tests/test_sharing.py\n+++ b/seed/tests/test_sharing.py\n@@ -10,7 +10,6 @@\n from django.core.urlresolvers import reverse_lazy\n from django.test import TestCase\n \n-from seed.factory import SEEDFactory\n from seed.landing.models import SEEDUser as User\n from seed.lib.superperms.orgs.models import (\n Organization,\n@@ -18,7 +17,6 @@\n ROLE_MEMBER\n )\n from seed.models import (\n- CanonicalBuilding,\n BuildingSnapshot\n )\n \n@@ -59,7 +57,7 @@ def setUp(self):\n name='Designers')\n self.des_org.add_member(self.des_user, ROLE_MEMBER)\n \n- self._create_buildings()\n+ # self._create_buildings()\n \n def _search_buildings(self, is_public=False):\n \"\"\"\n@@ -87,43 +85,6 @@ def _search_buildings(self, is_public=False):\n json_string = response.content\n return json.loads(json_string)\n \n- def _create_buildings(self):\n- \"\"\"\n- Create 10 buildings in each child org.\n-\n- Also set one shared and one unshared field to a known value.\n- \"\"\"\n- for _ in range(10):\n- cb = CanonicalBuilding(active=True)\n- cb.save()\n- b = SEEDFactory.building_snapshot(canonical_building=cb,\n- property_name='ADMIN BUILDING',\n- address_line_1='100 Admin St')\n- cb.canonical_snapshot = b\n- cb.save()\n- b.super_organization = self.parent_org\n- b.save()\n- for _ in range(10):\n- cb = CanonicalBuilding(active=True)\n- cb.save()\n- b = SEEDFactory.building_snapshot(canonical_building=cb,\n- property_name='ENG BUILDING',\n- address_line_1='100 Eng St')\n- cb.canonical_snapshot = b\n- cb.save()\n- b.super_organization = self.eng_org\n- b.save()\n- for _ in range(10):\n- cb = CanonicalBuilding(active=True)\n- cb.save()\n- b = SEEDFactory.building_snapshot(canonical_building=cb,\n- property_name='DES BUILDING',\n- address_line_1='100 Des St')\n- cb.canonical_snapshot = b\n- cb.save()\n- b.super_organization = self.des_org\n- b.save()\n-\n def test_scenario(self):\n \"\"\"\n Make sure setUp works.\n@@ -148,11 +109,11 @@ def test_scenario(self):\n # fields = []\n \n # for f in results['buildings']:\n- # fields.extend(f.keys())\n+ # fields.extend(list(f.keys()))\n \n # fields = list(set(fields))\n \n- # self.assertListEqual(fields, [u'postal_code'])\n+ # self.assertListEqual(fields, ['postal_code'])\n \n # @skip(\"Fix for new data model\")\n # def test_parent_viewer(self):\ndiff --git a/seed/tests/test_tasks.py b/seed/tests/test_tasks.py\n--- a/seed/tests/test_tasks.py\n+++ b/seed/tests/test_tasks.py\n@@ -42,43 +42,43 @@ def setUp(self):\n \n # Mimic the representation in the PM file. #ThanksAaron\n self.fake_extra_data = {\n- u'City': u'EnergyTown',\n- u'ENERGY STAR Score': u'',\n- u'State/Province': u'Illinois',\n- u'Site EUI (kBtu/ft2)': u'',\n- u'Year Ending': u'',\n- u'Weather Normalized Source EUI (kBtu/ft2)': u'',\n- u'Parking - Gross Floor Area (ft2)': u'',\n- u'Address 1': u'000015581 SW Sycamore Court',\n- u'Property Id': u'101125',\n- u'Address 2': u'Not Available',\n- u'Source EUI (kBtu/ft2)': u'',\n- u'Release Date': u'',\n- u'National Median Source EUI (kBtu/ft2)': u'',\n- u'Weather Normalized Site EUI (kBtu/ft2)': u'',\n- u'National Median Site EUI (kBtu/ft2)': u'',\n- u'Year Built': u'',\n- u'Postal Code': u'10108-9812',\n- u'Organization': u'Occidental Management',\n- u'Property Name': u'Not Available',\n- u'Property Floor Area (Buildings and Parking) (ft2)': u'',\n- u'Total GHG Emissions (MtCO2e)': u'',\n- u'Generation Date': u'',\n+ 'City': 'EnergyTown',\n+ 'ENERGY STAR Score': '',\n+ 'State/Province': 'Illinois',\n+ 'Site EUI (kBtu/ft2)': '',\n+ 'Year Ending': '',\n+ 'Weather Normalized Source EUI (kBtu/ft2)': '',\n+ 'Parking - Gross Floor Area (ft2)': '',\n+ 'Address 1': '000015581 SW Sycamore Court',\n+ 'Property Id': '101125',\n+ 'Address 2': 'Not Available',\n+ 'Source EUI (kBtu/ft2)': '',\n+ 'Release Date': '',\n+ 'National Median Source EUI (kBtu/ft2)': '',\n+ 'Weather Normalized Site EUI (kBtu/ft2)': '',\n+ 'National Median Site EUI (kBtu/ft2)': '',\n+ 'Year Built': '',\n+ 'Postal Code': '10108-9812',\n+ 'Organization': 'Occidental Management',\n+ 'Property Name': 'Not Available',\n+ 'Property Floor Area (Buildings and Parking) (ft2)': '',\n+ 'Total GHG Emissions (MtCO2e)': '',\n+ 'Generation Date': '',\n }\n self.fake_row = {\n- u'Name': u'The Whitehouse',\n- u'Address Line 1': u'1600 Pennsylvania Ave.',\n- u'Year Built': u'1803',\n- u'Double Tester': 'Just a note from bob'\n+ 'Name': 'The Whitehouse',\n+ 'Address Line 1': '1600 Pennsylvania Ave.',\n+ 'Year Built': '1803',\n+ 'Double Tester': 'Just a note from bob'\n }\n \n self.import_record.super_organization = self.fake_org\n self.import_record.save()\n \n self.fake_mappings = {\n- 'property_name': u'Name',\n- 'address_line_1': u'Address Line 1',\n- 'year_built': u'Year Built'\n+ 'property_name': 'Name',\n+ 'address_line_1': 'Address Line 1',\n+ 'year_built': 'Year Built'\n }\n \n def test_delete_organization(self):\ndiff --git a/seed/tests/test_tax_lot_property.py b/seed/tests/test_tax_lot_property.py\n--- a/seed/tests/test_tax_lot_property.py\n+++ b/seed/tests/test_tax_lot_property.py\n@@ -68,7 +68,7 @@ def test_tax_lot_property_get_related(self):\n 'address_line_1', 'generation_date', 'energy_alerts', 'space_alerts',\n 'building_count', 'owner', 'source_eui', 'jurisdiction_tax_lot_id',\n 'city', 'district', 'site_eui', 'building_certification', 'modified', 'match_type',\n- 'source_eui_weather_normalized', u'id', 'property_name', 'conditioned_floor_area',\n+ 'source_eui_weather_normalized', 'id', 'property_name', 'conditioned_floor_area',\n 'pm_property_id', 'use_description', 'source_type', 'year_built', 'release_date',\n 'gross_floor_area', 'owner_city_state', 'owner_telephone', 'recent_sale_date',\n ]\n@@ -101,7 +101,7 @@ def test_csv_export(self):\n )\n \n # parse the content as array\n- data = response.content.split('\\n')\n+ data = response.content.decode('utf-8').split('\\n')\n \n self.assertTrue('Address Line 1' in data[0].split(','))\n self.assertTrue('Property Labels\\r' in data[0].split(','))\ndiff --git a/seed/tests/test_views.py b/seed/tests/test_views.py\n--- a/seed/tests/test_views.py\n+++ b/seed/tests/test_views.py\n@@ -276,15 +276,15 @@ def test_get_matching_results(self):\n \n class TestMCMViews(TestCase):\n expected_mappings = {\n- u'address': [u'owner_address', 70],\n- u'building id': [u'Building air leakage', 64],\n- u'name': [u'Name of Audit Certification Holder', 47],\n- u'year built': [u'year_built', 50]\n+ 'address': ['owner_address', 70],\n+ 'building id': ['Building air leakage', 64],\n+ 'name': ['Name of Audit Certification Holder', 47],\n+ 'year built': ['year_built', 50]\n }\n \n raw_columns_expected = {\n- u'status': u'success',\n- u'raw_columns': [u'name', u'address', u'year built', u'building id']\n+ 'status': 'success',\n+ 'raw_columns': ['name', 'address', 'year built', 'building id']\n }\n \n def assert_expected_mappings(self, actual, expected):\n@@ -323,7 +323,7 @@ def setUp(self):\n self.import_file = ImportFile.objects.create(\n import_record=self.import_record,\n cached_first_row=ROW_DELIMITER.join(\n- [u'name', u'address', u'year built', u'building id']\n+ ['name', 'address', 'year built', 'building id']\n )\n )\n \n@@ -1394,7 +1394,7 @@ def test_get_property_columns(self):\n response = self.client.get('/api/v2/properties/columns/', params)\n results = json.loads(response.content)['columns']\n \n- self.assertTrue('id' in results[0].keys())\n+ self.assertTrue('id' in results[0])\n \n # go through and delete all the results.ids so that it is easy to do a compare\n for result in results:\n@@ -1464,7 +1464,7 @@ def test_get_taxlot_columns(self):\n response = self.client.get('/api/v2/taxlots/columns/', params)\n results = json.loads(response.content)['columns']\n \n- self.assertTrue('id' in results[0].keys())\n+ self.assertTrue('id' in results[0])\n \n # go through and delete all the results.ids so that it is easy to do a compare\n for result in results:\n@@ -1472,8 +1472,6 @@ def test_get_taxlot_columns(self):\n del result['name']\n del result['organization_id']\n \n- # print json.dumps(results, indent=2)\n-\n jurisdiction_tax_lot_id_col = {\n 'table_name': 'TaxLotState',\n 'column_name': 'jurisdiction_tax_lot_id',\n@@ -1492,7 +1490,7 @@ def test_get_taxlot_columns(self):\n expected_property_extra_data_column = {\n 'table_name': 'PropertyState',\n 'column_name': 'Property Extra Data Column',\n- 'display_name': u'Property Extra Data Column (Property)',\n+ 'display_name': 'Property Extra Data Column (Property)',\n 'is_extra_data': True,\n 'merge_protection': 'Favor New',\n 'data_type': 'None',\ndiff --git a/seed/tests/util.py b/seed/tests/util.py\n--- a/seed/tests/util.py\n+++ b/seed/tests/util.py\n@@ -96,7 +96,7 @@ def set_up(self, import_file_source_type):\n org, _, _ = create_organization(user, \"test-organization-a\")\n \n cycle, _ = Cycle.objects.get_or_create(\n- name=u'Test Hack Cycle 2015',\n+ name='Test Hack Cycle 2015',\n organization=org,\n start=datetime.datetime(2015, 1, 1, tzinfo=timezone.get_current_timezone()),\n end=datetime.datetime(2015, 12, 31, tzinfo=timezone.get_current_timezone()),\n", "problem_statement": "", "hints_text": "", "created_at": "2018-11-07T05:19:40Z"}