Main menu

Navigation

How set multiyear input data in docn

1 post / 0 new
link@...
How set multiyear input data in docn

How to set option for multiyear input data in docn ? The case is fc5, and the file 'docn.buildnml.csh' is changed as:

#! /bin/csh -f

set exedir = $RUNDIR; cd $exedir

set mod_dompath = $DIN_LOC_ROOT/ocn/docn7
set mod_domfile = domain.ocn.tx0.1v2_090218.nc
set dat_dompath = /scratch/link/cesm/fc5/SourceMods/src.docn
set dat_domfile = docn.2000_2012.nc
set dat_datpath = /scratch/link/cesm/fc5/SourceMods/src.docn
set dat_datfile = docn.2000_2012.nc

set DOMAINFILE = ${mod_dompath}/${mod_domfile}
set DATAMODE = SSTDATA
set year_align = 1
set year_start = 1
set year_end = 1
set STREAM = HURRELL
set STREAM1TXT = docn.stream.txt

#--- create namelist files ---
cat >! docn_in << EOF1
&docn_nml
ocn_in = 'docn_ocn_in'
decomp = '1d'
/
EOF1

cat >! $STREAM1TXT << EOF
<streamstemplate>
<general_comment>
streams template for docn in CCSM4
</general_comment>
<stream>
<comment>
Stream description file for Hurrell SST/ifrac data
</comment>
<dataSource>
Hurrell
</dataSource>
<domainInfo>
<variableNames>
time time
lon lon
lat lat
area area
mask mask
</variableNames>
<filePath>
$dat_dompath
</filePath>

<fileNames>
$dat_domfile
</fileNames>
</domainInfo>
<fieldInfo>
<variableNames>
sst t
</variableNames>
<filePath>
$dat_datpath
</filePath>
<fileNames>
$dat_datfile
</fileNames>
</fieldInfo>
<!-- Information on the program that created this file -->
<build_streams_documentation>
This CCSM stream text file was created by build_streams using the command line:
/g/software/cesm/1.0.4/scripts/ccsm_utils/Tools/build_streams -t /scratch/link/cesm/fc5/Tools/Templates/docn.template.streams.xml -s HURRELL -dp $dat_dompath -do $dat_domfile -p $dat_datpath -filename $dat_datfile
For more information on build_streams:
/g/software/cesm/1.0.4/scripts/ccsm_utils/Tools/build_streams -help
</build_streams_documentation>

</stream>
</streamstemplate>

EOF

echo DOMAINFILE = ${DOMAINFILE} >! $CASEBUILD/docn.input_data_list
$UTILROOT/Tools/listfilesin_streams -input_data_list -t $STREAM1TXT >> $CASEBUILD/docn.input_data_list

The error is 

(shr_sys_abort) ERROR: (shr_stream_getCalendar) ERROR: nf90_inq_varid
(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping

It seems the model was reading  climat data not multiyear data. How to set multiyear option for docn ?

Thanks,

Link

 

Link Ji

Who's new

  • xjliu@...
  • raytl@...
  • zhoujian-315@...
  • jonny.williams@...
  • climlee77@...