earthaccess.results.DataCollection has abstract, concept_id, and attribute-type information as methods. I suggest that it is more intuitive that this information is stored as attributes.
In [31]: result = earthaccess.search_datasets(keyword="sea ice")
In [32]: len(result)
Out[32]: 780
cloud_hosted is an attribute, which seems intuitive.
In [33]: result[0].cloud_hosted
Out[33]: False
But concept_id, abstract, and summary are all methods are not. Trying to access them as an attribute dumps the entire DataCollection object because of missing the ().
In [34]: result[0].concept_id()
Out[34]: 'C2564625052-NSIDC_ECS'
I suggest, the intuitive access is
In[]: result[0].concept_id
Out[]: 'C2564625052-NSIDC_ECS'
earthaccess.results.DataCollectionhasabstract,concept_id, and attribute-type information as methods. I suggest that it is more intuitive that this information is stored as attributes.cloud_hostedis an attribute, which seems intuitive.But
concept_id,abstract, andsummaryare all methods are not. Trying to access them as an attribute dumps the entire DataCollection object because of missing the ().I suggest, the intuitive access is