add netcdf_storage_options to tutorial
"## Define the Recipe\n",
"\n",
"Once we have our `FilePattern` defined, defining our Recipe is straightforward.\n",
- "The only custom option we need is to use `decode_coords='all'` when opening the files."
+ "The only custom options we need are to specify that we'll be accessing the source files anonymously and to use `decode_coords='all'` when opening them."
]
},
{
{
"data": {
"text/plain": [
- "HDFReferenceRecipe(file_pattern=<FilePattern {'time': 15}>, output_json_fname='reference.json', output_intake_yaml_fname='reference.yaml', target=None, metadata_cache=None, netcdf_storage_options={}, inline_threshold=500, output_storage_options={}, template_count=20, xarray_open_kwargs={'decode_coords': 'all'}, xarray_concat_args={})"
+ "HDFReferenceRecipe(file_pattern=<FilePattern {'time': 15}>, output_json_fname='reference.json', output_intake_yaml_fname='reference.yaml', target=None, metadata_cache=None, netcdf_storage_options={'anon': True}, inline_threshold=500, output_storage_options={}, template_count=20, xarray_open_kwargs={'decode_coords': 'all'}, xarray_concat_args={})"
]
},
"execution_count": 5,
"rec = HDFReferenceRecipe(\n",
" pattern,\n",
" xarray_open_kwargs={\"decode_coords\": \"all\"}\n",
+ " netcdf_storage_options={\"anon\": True}\n",
")\n",
"rec"
]
