<jupyter_start><jupyter_text>Example 1: Small source file, range requested over HTTP<jupyter_code>from recipes.noaa_oisst import recipe
rec = setup_targets(recipe, name="noaa_oisst")
for input_name in rec.iter_inputs():
    rec.cache_input(input_name)
    break<jupyter_output>pangeo_forge_recipes.recipes.xarray_zarr - INFO - Caching input 'time-0'
pangeo_forge_recipes.storage - INFO - Caching file 'https://www.ncei.noaa.gov/data/sea-surface-temperature-optimum-interpolation/v2.1/access/avhrr/198109/oisst-avhrr-v02r01.19810901.nc'
pangeo_forge_recipes.storage - INFO - Coping remote file 'https://www.ncei.noaa.gov/data/sea-surface-temperature-optimum-interpolation/v2.1/access/avhrr/198109/oisst-avhrr-v02r01.19810901.nc' to cache
pangeo_forge_recipes.storage - DEBUG - entering fs.open context manager for input_cache/noaa_oisst/fe866b608e5c7eafba93f06954124ba1-https_www.ncei.noaa.gov_data_sea-surface-temperature-optimum-interpolation_v2.1_access_avhrr_198109_oisst-avhrr-v02r01.19810901.nc
pangeo_forge_recipes.storage - DEBUG - FSSpecTarget.open yielding <_io.BufferedWriter name='/Users/charlesstern1/Dropbox/pangeo/timed-logging-example/input_cache/noaa_oisst/fe866b608e5c7eafba93f06954124ba1-https_www.ncei.noaa.gov_data_sea-surface-temperature-optimum-interpolat[...]<jupyter_text>Example 2:  Larger source file, range requested over FTP<jupyter_code>from recipes.hycom import recipes

key = "HYCOM50/Region01_GS/int/fma"
rec = setup_targets(recipes[key], name=key)
# Large inputs; consider `KeyboardInterrupt`ing
# after you've seen some of the logs

for input_name in rec.iter_inputs():
    rec.cache_input(input_name)
    break<jupyter_output>pangeo_forge_recipes.recipes.xarray_zarr - INFO - Caching input 'time-0'
pangeo_forge_recipes.storage - INFO - Caching file 'ftp://ftp.hycom.org/pub/xbxu/ATLc0.02/SWOT_ADAC/HYCOM50_E043_Feb_GS_daily.nc'
pangeo_forge_recipes.storage - INFO - Coping remote file 'ftp://ftp.hycom.org/pub/xbxu/ATLc0.02/SWOT_ADAC/HYCOM50_E043_Feb_GS_daily.nc' to cache
pangeo_forge_recipes.storage - DEBUG - entering fs.open context manager for input_cache/HYCOM50-Region01_GS-int-fma/3fcae1d70dba164317d164c5d7fdccea-ftp_ftp.hycom.org_pub_xbxu_atlc0.02_swot_adac_hycom50_e043_feb_gs_daily.nc
pangeo_forge_recipes.storage - DEBUG - FSSpecTarget.open yielding <_io.BufferedWriter name='/Users/charlesstern1/Dropbox/pangeo/timed-logging-example/input_cache/HYCOM50-Region01_GS-int-fma/3fcae1d70dba164317d164c5d7fdccea-ftp_ftp.hycom.org_pub_xbxu_atlc0.02_swot_adac_hycom50_e043_feb_gs_daily.nc'>
pangeo_forge_recipes.storage - DEBUG - _copy_btw_filesystems total bytes copied: 10000000
pangeo_forge_recipes.storage - DEBUG -[...]<jupyter_text>Example 3: Smallish source file, streamed over HTTP<jupyter_code>from recipes.nasa_smap_sss import recipes

key = "NASA-SMAP-SSS/JPL/8day"
rec = setup_targets(recipes[key], name=key)
rec.fsspec_open_kwargs = {"block_size": 0}

for input_name in rec.iter_inputs():
    rec.cache_input(input_name)
    break<jupyter_output>pangeo_forge_recipes.recipes.xarray_zarr - INFO - Caching input 'time-0'
pangeo_forge_recipes.storage - INFO - Caching file 'https://podaac-opendap.jpl.nasa.gov/opendap/allData/smap/L3/JPL/V5.0/8day_running/2015/120/SMAP_L3_SSS_20150504_8DAYS_V5.0.nc'
pangeo_forge_recipes.storage - INFO - Coping remote file 'https://podaac-opendap.jpl.nasa.gov/opendap/allData/smap/L3/JPL/V5.0/8day_running/2015/120/SMAP_L3_SSS_20150504_8DAYS_V5.0.nc' to cache
pangeo_forge_recipes.storage - DEBUG - entering fs.open context manager for input_cache/NASA-SMAP-SSS-JPL-8day/2c9511f0319cc49038047b83b6ea3c77-https_podaac-opendap.jpl.nasa.gov_opendap_alldata_smap_l3_jpl_v5.0_8day_running_2015_120_smap_l3_sss_20150504_8days_v5.0.nc
pangeo_forge_recipes.storage - DEBUG - FSSpecTarget.open yielding <_io.BufferedWriter name='/Users/charlesstern1/Dropbox/pangeo/timed-logging-example/input_cache/NASA-SMAP-SSS-JPL-8day/2c9511f0319cc49038047b83b6ea3c77-https_podaac-opendap.jpl.nasa.gov_opendap_alldata_smap_l3_jpl_v5.0_8[...]
{'fraction_non_alphanumeric': 0.10259610584123814, 'fraction_numerical': 0.07788317523714429, 'mean_word_length': 6.42037037037037, 'pattern_counts': {'":': 1, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '589304', 'license': 'Apache-2.0', 'n_tokens_mistral': 1876, 'n_tokens_neox': 1669, 'n_words': 181, 'path': 'timed_logging.ipynb', 'repo_name': 'cisaacstern/timed-logging-example', 'size': '4006'}