Now script knows where it can find mask_regions.nc, and I changed sie=grep ${d}Extend ice.txt|awk '{print $4}' to sie=grep ${d}Exnsidc ice.txt|awk '{print $4}' based on Francois update.
Now script knows where it can find mask_regions.nc, and I changed sie=`grep ${d}Extend ice.txt|awk '{print $4}'` to sie=`grep ${d}Exnsidc ice.txt|awk '{print $4}'` based on Francois update.