Fix notebook example mask/ValidDataMask
"layer = 'BANDS-S2-L1C'\n",
"\n",
"input_task = S2L1CWCSInput(layer=layer, \n",
- " feature_name='BANDS-S2-L1C', \n",
" resx='20m', resy='20m', \n",
" maxcc=1, time_difference=datetime.timedelta(hours=2))\n",
"\n",
{
"data": {
"text/plain": [
- "defaultdict(dict,\n",
- " {<FeatureType.DATA: 'data'>: {'BANDS-S2-L1C': (12, 278, 506, 13),\n",
- " 'CLP': (12, 278, 506, 1)},\n",
- " <FeatureType.MASK: 'mask'>: {'CLM': (12, 278, 506, 1),\n",
- " 'IS_DATA': (12, 278, 506, 1),\n",
- " 'VALID_DATA': (12, 278, 506, 1)}})"
+ "{<FeatureType.DATA: 'data'>: {'BANDS-S2-L1C', 'CLP'},\n",
+ " <FeatureType.MASK: 'mask'>: {'CLM', 'IS_DATA', 'VALID_DATA'},\n",
+ " <FeatureType.META_INFO: 'meta_info'>: {'maxcc',\n",
+ " 'service_type',\n",
+ " 'size_x',\n",
+ " 'size_y',\n",
+ " 'time_difference',\n",
+ " 'time_interval'},\n",
+ " <FeatureType.BBOX: 'bbox'>: True,\n",
+ " <FeatureType.TIMESTAMP: 'timestamp'>: True}"
]
},
"execution_count": 9,
],
"source": [
"eopatch = [result[key] for key in result.keys()][0]\n",
- "eopatch.features"
+ "eopatch.get_features()"
]
},
{
