XANCIL stashmaster

I have generated all forcing files I need for the simulations. I now trying to use Xancil to convert my netcdf files into a proper ancillary file, for both sst and sea ice. I am asked to provide a stash master that will contain information about the data. I was wondering if you know where to get this, please?

Paul-Arthur

Hi

Can post the exact message you are getting and also the location of the files being used. Thanks.

Jeff.

Hi Jeff
I want to use Xancil to convert a netcdf file into a proper ancillary file. I am running xancil on archer2. In xancil I have to provide a .nc file and a stash master, but I do not know what the stash file should looks like.
Cheers
Paul-Arthur
ps: sorry for my late reply

HI Paul-Arthur

You shouldn’t need to provide a STASHmaster file to create sst and sea-ice file, have you tried to run it without doing this?

Jeff.

Hi Jeff
I am trying to run Xancil without using a stashmaster. For now I am having errors when trying to create the ancillary files. Xancil seems to be enable to read the ocean vertical levels of my netcdf file. This could come from the fact that there is only one level (this is SSTs) or because the dimension name is set as ‘unspecified’ but I do not see an option do not specify the vertical levels for the ocean.
Cheers,
Paul-Arthur

Can post the exact message you are getting and also the location of the files being used. Thanks.

Jeff.

The file is “sst.nc” on archer2 (/work/n02/n02/pmonerie/data_esiwace/clim)

I am getting this message if I let Xancil finds the vertical level information (using 'use input NetCDF variables to specify the ocean vertical levels)

Running mkancil executable /mnt/lustre/a2fs-work1/work/y07/shared/umshared/bin/mkancil0.58
Output from /mnt/lustre/a2fs-work1/work/y07/shared/umshared/bin/mkancil0.58 executable:

Writing Sea Surface Temperature ancillary file
/mnt/lustre/a2fs-work2/work/n02/n02/pmonerie/data_esiwace/clim/sst
ERROR: in procedure get_ncdiminfo 1 : NetCDF error number -49 :
NetCDF: Variable not found :

If I use the other option (enter NetCDF dimension to specify ocean vertical levels) I am then getting this error message:

Running mkancil executable /mnt/lustre/a2fs-work1/work/y07/shared/umshared/bin/mkancil0.58
Output from /mnt/lustre/a2fs-work1/work/y07/shared/umshared/bin/mkancil0.58 executable:

Getting ocean depth levels from netcdf file
/mnt/lustre/a2fs-work2/work/n02/n02/pmonerie/data_esiwace/clim/sst.nc
using varname unspecified
Writing Sea Surface Temperature ancillary file
/mnt/lustre/a2fs-work2/work/n02/n02/pmonerie/data_esiwace/clim/sst
ERROR: in procedure get_ncdiminfo 1 : NetCDF error number -49 :
NetCDF: Variable not found :

Paul-Arthur

I’m not sure what you have put in the xancil entry panels so it’s hard to tell what is going wrong. If you “Save Job” then it will produce a .job file, which is a copy of the current state of xancil, which I can use to see what is wrong. You can use this file to reload your xancil job, xancil -j jobfile. Looking at the xancil.namelist file it has

  SST_NCNAME = "",

which should have the sst netcdf variable name in it but because it’s blank you get the error message.

Jeff.

Hi Jeff,
Thank you for your command line, that is quite useful.
I have edited the netCDF file I was using, to update variable names and I have had another go at using Xancil. Not sure of what I have changed since my last attempt but it is now working.
I have now generated an ancillary file for the SSTs, (/work/n02/n02/pmonerie/data_esiwace/clim/sst_r/qrclim.sst) using the job I have saved this time (/work/n02/n02/pmonerie/data_esiwace/clim/sst_r/sst_xancil.job). I have generated my ancillary files for the sea-ice as well.
I will have a go at running the model to see if it is working or not.
Paul-Arthur