I am trying to append the same attribute ("standard_name") to the variable latitude in multiple netcdf files.
ncatted -h -a standard_name,latitude,o,c,latitude agu028.nc
I want to make a loop in bash to filter through these files and make the necessary changes. I am using ncatted from NCO, but am new to bash scripts.