catalogs = get_item_catalogs()CPU times: user 20.4 ms, sys: 6.03 ms, total: 26.4 ms
Wall time: 1.59 s
CPU times: user 20.4 ms, sys: 6.03 ms, total: 26.4 ms
Wall time: 1.59 s
'https://globalnightlight.s3.amazonaws.com/npp_201805/npp_201805_catalog.json'
get_item_href (href, folder, baseurl)
assert get_item_href('./SVDNB_npp_d20180501_t0004098_e0009502_b33718_c20180501060951522600_noac_ops.rade9.co.json',
'201805',
'https://globalnightlight.s3.amazonaws.com') == 'https://globalnightlight.s3.amazonaws.com/201805/SVDNB_npp_d20180501_t0004098_e0009502_b33718_c20180501060951522600_noac_ops.rade9.co.json'split_href_type (href, first=True)
transform_items_df (items_df, folder, baseurl)
find_stem_components (stem)
make_vflag_file (o)
make_vflag_href (o)
split_stem_components (df)
get_monthly_items (href, folder, baseurl)
CPU times: user 177 ms, sys: 7.41 ms, total: 184 ms
Wall time: 2.59 s