diff --git a/tools/netcdf2zarr/xarray_netcdf2zarr.py b/tools/netcdf2zarr/xarray_netcdf2zarr.py index 7f399e4..66b6737 100755 --- a/tools/netcdf2zarr/xarray_netcdf2zarr.py +++ b/tools/netcdf2zarr/xarray_netcdf2zarr.py @@ -1,12 +1,9 @@ import argparse -import ast -import warnings import cftime # noqa: F401 import xarray as xr # noqa: I202,E402 -import zarr # noqa: I202,E402 parser = argparse.ArgumentParser() parser.add_argument("-i", "--input", type=str, help="input file in netCDF format") diff --git a/tools/netcdf2zarr/xarray_netcdf2zarr.xml b/tools/netcdf2zarr/xarray_netcdf2zarr.xml index 1eca25d..5d4bb28 100644 --- a/tools/netcdf2zarr/xarray_netcdf2zarr.xml +++ b/tools/netcdf2zarr/xarray_netcdf2zarr.xml @@ -1,5 +1,11 @@ Rewrite a netCDF to Zarr + + topic_3318 + + + operation_0335 + python zarr @@ -39,11 +45,19 @@ This tool is a wrapper to convert a netCDF data to Zarr using xarray. ]]> + + + @article{hoyer2017xarray, + title = {xarray: {N-D} labeled arrays and datasets in {Python}}, + author = {Hoyer, S. and J. Hamman}, + journal = {Journal of Open Research Software}, + volume = {5}, + number = {1}, + year = {2017}, + publisher = {Ubiquity Press}, + doi = {10.5334/jors.148}, + url = {http://doi.org/10.5334/jors.148} + } + - - topic_3318 - - - operation_0335 -