podaacpy utilities API

class podaac_utils.PodaacUtils
list_all_available_extract_granule_dataset_ids()

Convenience function which returns an up-to-date list of all available granule dataset id’s which can be used in the granule extraction service.

Returns:a comma-seperated list of granule dataset id’s.
list_all_available_extract_granule_dataset_short_names()

Convenience function which returns an up-to-date list of all available granule dataset short names which can be used in the granule extraction service.

Returns:a comma-seperated list of granule dataset short names.
list_all_available_granule_search_dataset_ids()

Convenience function which returns an up-to-date list of available all granule dataset id’s.

Returns:a comma-seperated list of granule dataset id’s
list_all_available_granule_search_dataset_short_names()

Convenience function which returns an up-to-date list of available granule dataset short names.

Returns:a comma-seperated list of granule dataset short names.
list_available_granule_search_level2_dataset_ids()

Convenience function which returns an up-to-date list of available level2 granule dataset id’s.

Returns:a comma-seperated list of granule dataset id’s
list_available_granule_search_level2_dataset_short_names()

Convenience function which returns an up-to-date list of available level2 granule dataset short names.

Returns:a comma-seperated list of granule dataset short names.
list_level4_dataset_ids()

Convenience function which returns an up-to-date list of level4 dataset id’s.

Returns:a comma-seperated list of level4 dataset id’s
list_level4_dataset_short_names()

Convenience function which returns an up-to-date list of level4 dataset short names.

Returns:a comma-seperated list of level4 dataset short names.

Convenience function which extracts the granule names for a given granule search obtained using podaac.granule_search(). The response of this function is an array of strings denoting the granule names for the granule search.

Parameters:granule_search_response – the output response of a podaac.granule_search()
Returns:prints an array of granule names.
Convenience function which extracts the PO.DAAC OPeNDAP URLs from
a given granule search obtained using podaac.granule_search(). The response of this function is an array of strings denoting the PO.DAAC OPeNDAP URLs to the granules.
Parameters:granule_search_response – the output response of a podaac.granule_search()
Returns:prints an array of PO.DAAC OPeNDAP URLs.