Thanks Badunit for the close read. I will respond briefly, but there is good news. I think I “fixed” the problem, basically by duplicating the oddly behaving template file.
First about your point #6: it was in the process of preparing (with the read-only “git status” command) to commit my project (to a repository on GitHub) that I noticed the template file had a new modified date. But this could also be seen in a Finder window. This is before git changes anything.
I wanted to make a minimal failing case, so I took these steps:
- make new folder on Desktop
- option-drag in a duplicate of the template, rename it template.numbers
- option-drag in a duplicate of a typical .cvs data file from my simulation, rename it new.cvs
- ⌘ D duplicate template.numbers rename it new.numbers
- ⌘ O those two files (with Numbers)
- copy the data from new.csv then paste it into new.numbers
- save new.numbers
- quit Numbers
After step 4, the folder contained:
> ls -l
-rw-r--r--@ 1 cwr staff 7157 Jun 16 16:15 new.csv
-rw-r--r--@ 1 cwr staff 246999 Jun 20 10:08 new.numbers
-rw-r--r--@ 1 cwr staff 246999 Jun 20 10:08 template.numbers
After step 8:
> ls -l
-rw-r--r--@ 1 cwr staff 7157 Jun 16 16:15 new.csv
-rw-r--r--@ 1 cwr staff 245977 Jun 21 13:42 new.numbers
-rw-r--r--@ 1 cwr staff 246999 Jun 20 10:08 template.numbers
This is what I want!! The template.numbers file is unchanged (time 10:08) and new.numbers is updated (time 13:42) with the desired contents.
As unlikely as it sounds, perhaps this was some sort of transient corruption of that template file. Making a duplicate of the file might have fixed the issue.
The odd behavior was as if the files were aliased to each other. But I looked at the “bad template” with Finder's ⌘ I and it described it as a Numbers file not an alias.
So I think my problem is solved. And after helpful hints from SGIII, I better understand how to use the built-in templating in Numbers.
Thanks to you both.