Extend the libs/file/netcdf.py library to clone files and variables. Use the new functions inside the cut_projected function of libs/file/toolbox.py library.