Closed micaeljtoliveira closed 1 year ago
It would also be good to know if some of the listed files are not needed anymore.
Similarly, we should store the scripts used to generate the topographies in a central location, but probably not ik11.
Thanks @micaeljtoliveira - re. scripts, we normally keep the canonical versions on github, and note in the metadata of each file what commit was used to generate it.
I don't think the sponges are needed any more, and I guess it would probably be good to clarify the forcing: we should only need a single boundary forcing file, a single initial condition, and possibly an initial eta? So:
eta_init.nc
forcing_obc.nc
temp_salt_init_z.nc
@angus-g Thanks for the explanation.
So the question now is what files should I keep for the 0.1deg configuration:
forcing/eta_init.nc
or forcing/eta_init_panan.nc
?forcing/forcing_obc.nc
or forcing/forcing_obc_shifted.nc
?forcing/temp_salt_init_z.nc
or temp_salt_init_z_0025.nc
?EDIT: looks like only forcing/forcing_obc.nc
and forcing/temp_salt_init_z.nc
are mentioned in the MOM_input
file, for both the panan-01-hycom1-run
and panan-01-zstar-run
branches.
EDIT2: hycom1_75_800m.nc
is never mentioned in MOM_input
, while hycom1_panant.nc
is only mentioned in the panan-01-hycom1-run
branch.
I am about to gather all files needed for the 005deg in the folder and was wondering how to go about it.
The two options I am thinking of
I think option 1 is best. To keep track of how files got there, you can for example add a README file. If some of the files required a more complex workflow (e.g., the topography and related files), we should probably follow @aekiss suggestion and put the the script that was used to generated them on github.
I've now gathered all the necessary files for the 0.1deg configuration in a new directory: /g/data/ik11/inputs/mom6/panan/01deg/20230404/
I've tested that it works correctly with both the panan-01-hycom1-run
and panan-01-zstar-run
branches. Unless someone spots some problem with it, tomorrow I'll update the payu config to use the new directory.
@willaguiar You should now have write permissions on /g/data/ik11/inputs/mom6/panan
, so feel free to copy the missing files for the 1/40th configuration whenever you have the opportunity.
@willaguiar You should now have write permissions on
/g/data/ik11/inputs/mom6/panan
, so feel free to copy the missing files for the 1/40th configuration whenever you have the opportunity.
Thanks! I have now copied the initial conditions, and runoff to the 0025 dir. The boundary forcing still has some problem to be fixed, so I will wait to have the final one before moving to the dir.
I've gathered most of the necessary files for the 0.05deg configuration in the directory: /g/data/ik11/inputs/mom6/panan/005deg/20230404/
But I am still testing and it's not running correctly yet. Will let you know when it works.
I have copied all files and the 1/20th model has been running for the first 3 days.
I still have one problem:
The filename for the supergrid is hardcoded somewhere and I can't find where. It was named ocean_hgrid_0025.nc, but I now renamed it to ocean_hgrid.nc to be consistent across resolutions. I updated MOM_input and SIS_input.
I get the following error:
`Starting to initialize atmospheric model at 20230405 135938.546
FATAL from PE 536: fms_io_mod(dimesion_size): failed at inquiring size of dimesion nx from file INPUT/ocean_hgrid_0025.nc `
Can someone point me to the file that gets called here? @angus-g @aekiss
For now I am cheating and used ln -s ocean_hgrid.nc ocean_hgrid_0025.nc
so that it is running
It's defined in ocean_mosaic.nc
, so you could either change the gridfiles
variable in that, or just regenerate the mosaic.
@schmidt-christina The grid filename is hard-coded in ocean_mosaic.nc
.
Thanks, I am using the scripts you provided here (/g/data/x77/ahg157/software
), Angus.
I have now changed the gridfiles variable in ocean_mosiac.nc using ncap2 and it's running without problems now.
@micaeljtoliveira I am doing some tests runs in the new dir. But the model seem to be unable to read /g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/*.
Could you open reading access to the files in this dir?
@willaguiar The files seem to be readable by everyone:
$ ls -al /g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks
total 76
drwxrwsr-x+ 2 mo1833 ik11 4096 Mar 30 20:56 .
drwxrwsr-x+ 7 mo1833 ik11 4096 Apr 6 12:09 ..
-rw-rw-r--+ 1 mo1833 ik11 6548 Mar 20 10:27 mask_table.1198.141x35
-rw-rw-r--+ 1 mo1833 ik11 14161 Mar 30 20:56 mask_table.2431.204x48
-rw-rw-r--+ 1 mo1833 ik11 14826 Mar 30 15:50 mask_table.2537.202x50
-rw-rw-r--+ 1 mo1833 ik11 18339 Mar 30 20:21 mask_table.3093.220x56
-rw-rw-r--+ 1 mo1833 ik11 2848 Mar 20 10:27 mask_table.580.100x25
-rw-rw-r--+ 1 mo1833 ik11 2946 Mar 20 10:27 mask_table.596.102x25
Same for ACL's, so I'm not sure what else I could do...
Might be useful to see the actual error message too, @willaguiar?
Hi Micael!
When I ls /g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks
I get that error back:
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.3093.220x56': Permission denied
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.2431.204x48': Permission denied
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.2537.202x50': Permission denied
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.1198.141x35': Permission denied
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.596.102x25': Permission denied
ls: cannot access '/g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks/mask_table.580.100x25': Permission denied
mask_table.1198.141x35 mask_table.2431.204x48 mask_table.2537.202x50 mask_table.3093.220x56 mask_table.580.100x25 mask_table.596.102x25
When I run the model setting .../masks/mask_table.3093.220x56
as the dir for the masks I get the following error:
FATAL from PE 0: MPP_DEFINE_DOMAINS(mpp_compute_extent): domain extents must be positive definite.
But if set ../masks_open/ mask_table.3093.220x56
then no error occurs with the masks.
(I copied the masks I had on /home/156/wf4500/mom6-panan/input_1_40th/masks2/
to /g/data/ik11/inputs/mom6/panan/0025deg/20230320/masks_open/
)
@willaguiar Could you try it now?
@willaguiar Could you try it now?
ls
now get the correct listing without the permission denied error now. Waiting for the run to start to see if the error goes away
Okay, so the issue was the ACL's on the masks
directory, not the files. You only had read and write permissions for the directory. I now added the execute permission.
Thanks! Model error FATAL from PE 0: MPP_DEFINE_DOMAINS(mpp_compute_extent): domain extents must be positive definite.
disappeared now with the new permission.
All files for panan0025 are now in /g/data/ik11/inputs/mom6/panan/0025deg/20230320
with their respective names. Panan0025 is running without any errors with these files. There are two folders with the old forcing (OM2 year 156, not working) and old topography before the edits in the Ross Sea. I'll delete them later today if there are no objections.
@willaguiar Awesome! Thanks
I think we can now close this issue :)
We should try to have all the inputs in a single location, so they are easy to find and update. This should be in
/g/data/ik11/inputs/
, just like for the other models/configuratons. Once in a while this directory is copied to tape, so we would also have a backup, which is always a good thing.I've already created the following directories on ik11:
Currently 0025deg is empty, but the other two have each a directory named after the date it was created. For the moment, as things are changing quite fast, we can keep updating and adding the files in the existing directories, but later on the idea would be to follow a similar naming and updating scheme as is used for ACCESS-OM2. For ACCESS-OM2, every time a file gets updated, a new directory is created, with links to the unmodified files from the previous directory and with the new files added, replacing the old ones.
Next is a list of all the needed files. Let me know if I missed something. I'm also not sure about the
temp_salt_init_z_0025.nc
andhycom1_*.nc
files. Which ones are needed for each configuration?01deg -
/g/data/ik11/inputs/mom6/panan/01deg/20230404
:eta_init.nceta_init_panan.ncforcing_obc_shifted.ncocean_daily.nchycom1_75_800m.ncspongesidamp_1deg_10d_linear.ncsponge_uvts.nc005deg -
/g/data/ik11/inputs/mom6/panan/005deg/20230404
:eta_init.ncocean_daily.nc0025deg -
/g/data/ik11/inputs/mom6/panan/0025deg/20230320
:eta_init.ncocean_daily.nc