From 3e19a696107c0e348a2b4dc60a1e5076b868991b Mon Sep 17 00:00:00 2001 From: Charles Morton Date: Tue, 12 May 2020 10:15:35 -0700 Subject: [PATCH] Removed exception for missing crop type 228 --- openet/sims/tests/test_b_data.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openet/sims/tests/test_b_data.py b/openet/sims/tests/test_b_data.py index dc2f2a1..f127fe6 100644 --- a/openet/sims/tests/test_b_data.py +++ b/openet/sims/tests/test_b_data.py @@ -23,10 +23,6 @@ def test_cdl_crop_types(year): output = list(map(round, utils.getinfo( ee.Image('USDA/NASS/CDL/{}'.format(year)).get('cropland_class_values')))) for crop_type, crop_data in data.cdl.items(): - # CGM - Code 228 is currently not set in the image properties - # Adding this if statement until the asset is updated - if crop_type == 228: - continue assert crop_type in output # assert all(crop_type in output for crop_type, crop_data in data.cdl.items())