Opened 8 months ago

Last modified 8 months ago

#3482 new help

Adding a new JULES Ancilliary dataset

Reported by: NoelClancy Owned by: jules_support
Component: JULES Keywords:
Cc: Platform:
UM Version:

Description

Dear CMS,

I'm working with suite u-cc736 (COPY of u-bx723: GL7 suite for SLURM batch processing)

I need to add the new dataset (o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc) to one of the following two locations

/gws/nopw/j04/jules/data/Ancillary/n96e/GL7/time_varying
/gws/nopw/j04/jules/data/Ancillary/n96e/GL7/fixed

However, I do not have permission to do so. How can I get permission to add a new dataset to these locations?

Thanks,

Noel

Error Message:
(base) [nmc@cylc1 o3_datasets]$ cp o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc /gws/nopw/j04/jules/data/Ancillary/n96e/GL7/time_varying
cp: cannot create regular file ‘/gws/nopw/j04/jules/data/Ancillary/n96e/GL7/time_varying/o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc’: Permission denied
(base) [nmc@cylc1 o3_datasets]$

Change History (9)

comment:1 Changed 8 months ago by NoelClancy

  • Component changed from UM Model to JULES
  • Owner changed from um_support to jules_support

comment:2 Changed 8 months ago by pmcguire

Hi Noel:
You probably don't have permission to put things there.
You can either ask the owner of that directory to copy it there for you, or you can put it someplace else and change the path in your suite to point to that someplace else.
Patrick

comment:3 Changed 8 months ago by NoelClancy

Thanks for response. How can I find out who is the owner of that directory?
Also, I do have it in a different location but it was not read in from that other location even though I changed the path in the fourth prescribed_datasets

[namelist:jules_prescribed_dataset(4)]
data_end='2015-01-01 00:00:00'
data_period=-1
data_start='1860-01-01 00:00:00'
file='/gws/nopw/j04/ncas_generic/OzDamDriverData/o3_datasets/o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc'
#file='$ANCIL_TIME_DIREC/o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc'
interp='nf'
is_climatology=.true.
!!nfiles=0
nvars=1
!!prescribed_levels=1,2,3,4
read_list=.false.
tpl_name='O3'
var='ozone'
var_name='sfco3'

so I though there may be somewhere else that has file='$ANCIL_TIME_DIREC and conflicts with it

comment:4 Changed 8 months ago by NoelClancy

How can I find out who is the owner of that directory? ls -l

comment:5 Changed 8 months ago by pmcguire

Hi Noel:
Yes indeed! You can indeed use ls -l to see who is the owner of a file or of a directory.

What error did you get when you set your suite to load the file from another directory?
Patrick

comment:6 Changed 8 months ago by NoelClancy

I copied the entire GL7 folder to a landsurf_rdg/nmc
Then I changed the $ANCIL_DIRECT and $ANCIL_TIME_DIREC in the suite.rc file of the new suite (u-cc736).

The suite passed the fcm_make but failed at the RECON stage.

I need to check the exact error message again as soon as JASMIN is back online, but from recollection the error message was something like "failed to open file" which I believe may be the
file='$ANCIL_TIME_DIREC=o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc'
$ANCIL_TIME_DIREC=='/gws/nopw/j04/landsurf_rdg/GL7/time_varying/o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc'

comment:7 Changed 8 months ago by pmcguire

Hi Noel:
$ANCIL_TIME_DIREC is a directory name, not a file name.

Just set it to be the directory where your file is located.
This directory does not contain the filename itself.

But maybe there are other dependencies for other files that are in your $ANCIL_TIME_DIREC directory. You can find out what the other dependencies are if there are any, by doing:

cd ~nmc/roses/u-cc736

grep -r ANCIL_TIME_DIREC

This will show you which files and which lines in those files contain that string. Then you can open those files to figure out the context for those strings.

Patrick

comment:8 Changed 8 months ago by NoelClancy

Hi,

I corrected the above error. However, when I run it now I get the following error message.

{MPI Task 3} [WARNING] file_ts_open: When using a climatology, a data period of a year is equivalent to having fixed data
{MPI Task 3} [FATAL ERROR] init_prescribed_data: When ozone damage is on, ozone must be prescribed

But I have added the ozone dataset to the list of prescriped datasets as follows:

[namelist:jules_prescribed]
n_datasets=4

[namelist:jules_prescribed_dataset(4)]
data_end='2015-01-01 00:00:00'
data_period=-1
data_start='1860-01-01 00:00:00'
file='$ANCIL_DIREC/o3_myavg_mm_vmr_ppbv_1850-1859_jan-dec.nc'
interp='nf'
is_climatology=.false.
!!nfiles=0
nvars=1
!!prescribed_levels=1,2,3,4
read_list=.false.
tpl_name='O3'
var='ozone'
var_name='sfco3'

However, it fails at the SPINUP phase of the run before the MAIN_RUN.
This confuses me because the suite uses a pre-existing spinup dump file.
However, this spinup dunp file does not have ozone damage.
app/jules/opt/rose-app-recon.conf:file='$ANCIL_DIREC/JULES-GL7.0.vn5.2.CRUNCEPv7.spinup_10.dump.18800101.0.nc'

Do I need to generate a spinup dump file which includes ozone damage?

comment:9 Changed 8 months ago by pmcguire

Hi Noel:
Yes, I think you are right, that you need to generate an initial dump file which includes ozone damage.
I can't say that with 100% certainty, though.
Patrick

Note: See TracTickets for help on using tickets.