Yes, it works :) Thank you so much, Charlie ! This was very very helpful!
Dear all, I am trying to change the value of a variable in a netcdf file using nco. The variable has a single value and it is the ensemble_member_id which is a string with length 27 characters. I am using the following command (1): ncap2 -O -s 'ensemble_member_id="HadREM3-RA11M-r001i1p01113"' INFILE OUTFILE This works very well. However, since I have 12 different IDs I would like to somehow automate this and wanted to add the RIP number which varies in the ID above as a variable, so I started testing...