Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to make a new SST input data for CAM4

Hi,I am a beginner to model, now I want to make some new input data to do some experiments with CAM4 on CCSM4_0.According to the icssst tool-060418( http://www.cesm.ucar.edu/models/atm-cam/download/ ), I download SST and sea ice data from NOAA (sst.mnmean.nc &icec.mnmean.nc, 1x1, Monthly means from 1981/12 to 2013/02http://www.esrl.noaa.gov/psd/data/gridded/data.noaa.oisst.v2.html), which I want to make a sst bc file from 1982 to 2012 (31 years).Then I input commands below based on the readme file of the tool,./regrid -i ~/Desktop/icec.mnmean.nc -s ~/Desktop/sst.mnmean.nc -g ~/Desktop/fv_1.9x2.5.nc -o sstice.nc
the answer is:  NetCDF: Variable not found. So whether the tool works in cam4 or did I do something wrong that I didn't realize?  In the readme file, MODEL.had+oiv2.ice.mnly.49-01.ubf.nccan't be available in the internet, so I can not judge whether the sst.mnmean.nc's formats and varibles is right.Thanks for your reading, and I am hopefully for your response, thanks in advance!Zhou
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Your datasets icec.mnmean.nc and sst.mnmean.nc should contain variables compatible with the regrid. Below I am providing the b=netcdf header so you can modify your input files to have the right names.--- For the SST file netcdf MODEL.SST.HAD187001-198110.OI198111-201303
Code:
{ dimensions: time = UNLIMITED ; // (1719 currently)
  lon = 360 ;
  lat = 180 ;
  variables: double time(time) ;
  time:information = "middle of month" ;
  time:calendar = "gregorian" ;
  time:units = "days since 1800-01-01 00:00:00" ;
  float lon(lon) ; lon:units = "degrees_east" ;
  lon:long_name = "longitude" ;
  float lat(lat) ;
  lat:long_name = "latitude" ;
  lat:units = "degrees_north" ;
  int date(time) ; date:units = "yyyymmdd" ;
  int datesec(time) ;
  datesec:units = "current seconds of current date" ;
  double date_frac(time) ;
  date_frac:units = "yyyymmdd.fraction_of_day" ;
  float SST(time, lat, lon) ;
  SST:_FillValue = 1.e+20f ;
  SST:info = "sst-ice consistency enforced" ;
  SST:long_name = "Sea Surface Temperature" ;
  SST:units = "degC" ;
  SST:ice = -1.8f ;
  SST:missing_value = 1.e+20f ;
--- For the sea-ice file netcdf MODEL.ICE.HAD187001-198110.OI198111-201303
Code:
{ dimensions: time = UNLIMITED ; // (1719 currently)
  lon = 360 ;
  lat = 180 ;
  variables: double time(time) ;
  time:units = "days since 1800-01-01 00:00:00" ;
  time:calendar = "gregorian" ;
  time:information = "middle of month" ;
  float lon(lon) ;
  lon:units = "degrees_east" ;
  lon:long_name = "longitude" ;
  float lat(lat) ;
  lat:units = "degrees_north" ;
  lat:long_name = "latitude" ;
  int date(time) ;
  date:units = "yyyymmdd" ;
  int datesec(time) ;
  datesec:units = "current seconds of current date" ;
  double date_frac(time) ;
  date_frac:units = "yyyymmdd.fraction_of_day" ;
  float SEAICE(time, lat, lon) ;
  SEAICE:_FillValue = 1.e+20f ;
  SEAICE:info = "sst-ice consistency enforced" ;
  SEAICE:missing_value = 1.e+20f ;
  SEAICE:units = "%" ;
  SEAICE:long_name = "Sea Ice Concentration" ;
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Your datasets icec.mnmean.nc and sst.mnmean.nc should contain variables compatible with the regrid. Below I am providing the b=netcdf header so you can modify your input files to have the right names.--- For the SST file netcdf MODEL.SST.HAD187001-198110.OI198111-201303
Code:
{ dimensions: time = UNLIMITED ; // (1719 currently)
  lon = 360 ;
  lat = 180 ;
  variables: double time(time) ;
  time:information = "middle of month" ;
  time:calendar = "gregorian" ;
  time:units = "days since 1800-01-01 00:00:00" ;
  float lon(lon) ; lon:units = "degrees_east" ;
  lon:long_name = "longitude" ;
  float lat(lat) ;
  lat:long_name = "latitude" ;
  lat:units = "degrees_north" ;
  int date(time) ; date:units = "yyyymmdd" ;
  int datesec(time) ;
  datesec:units = "current seconds of current date" ;
  double date_frac(time) ;
  date_frac:units = "yyyymmdd.fraction_of_day" ;
  float SST(time, lat, lon) ;
  SST:_FillValue = 1.e+20f ;
  SST:info = "sst-ice consistency enforced" ;
  SST:long_name = "Sea Surface Temperature" ;
  SST:units = "degC" ;
  SST:ice = -1.8f ;
  SST:missing_value = 1.e+20f ;
--- For the sea-ice file netcdf MODEL.ICE.HAD187001-198110.OI198111-201303
Code:
{ dimensions: time = UNLIMITED ; // (1719 currently)
  lon = 360 ;
  lat = 180 ;
  variables: double time(time) ;
  time:units = "days since 1800-01-01 00:00:00" ;
  time:calendar = "gregorian" ;
  time:information = "middle of month" ;
  float lon(lon) ;
  lon:units = "degrees_east" ;
  lon:long_name = "longitude" ;
  float lat(lat) ;
  lat:units = "degrees_north" ;
  lat:long_name = "latitude" ;
  int date(time) ;
  date:units = "yyyymmdd" ;
  int datesec(time) ;
  datesec:units = "current seconds of current date" ;
  double date_frac(time) ;
  date_frac:units = "yyyymmdd.fraction_of_day" ;
  float SEAICE(time, lat, lon) ;
  SEAICE:_FillValue = 1.e+20f ;
  SEAICE:info = "sst-ice consistency enforced" ;
  SEAICE:missing_value = 1.e+20f ;
  SEAICE:units = "%" ;
  SEAICE:long_name = "Sea Ice Concentration" ;
 
Hannay,
Thanks for your reply. I have modified my input files following your suggestion to have the names: time, lat, lon, date, datesec, date_frac, SST/SEAICE, but it didn't work, so can you give me the two nc files you mentioned above: netcdf MODEL.SST.HAD187001-198110.OI198111-201303 & netcdf MODEL.ICE.HAD187001-198110.OI198111-201303 or the website where I can download them? Thanks.
Zhou
 
Hannay,
Thanks for your reply. I have modified my input files following your suggestion to have the names: time, lat, lon, date, datesec, date_frac, SST/SEAICE, but it didn't work, so can you give me the two nc files you mentioned above: netcdf MODEL.SST.HAD187001-198110.OI198111-201303 & netcdf MODEL.ICE.HAD187001-198110.OI198111-201303 or the website where I can download them? Thanks.
Zhou
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Check the Climate Data guide:
https://climatedataguide.ucar.edu/guidance/merged-hadley-noaaoi-sea-surface-temperature-sea-ice-concentration-hurrell-et-al-2008
You will find a description of teh dataset, its strengths, weaknesses and where to find it.
Cecile
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Check the Climate Data guide:
https://climatedataguide.ucar.edu/guidance/merged-hadley-noaaoi-sea-surface-temperature-sea-ice-concentration-hurrell-et-al-2008
You will find a description of teh dataset, its strengths, weaknesses and where to find it.
Cecile
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
I am told there might be problem with accessing the SSTs from the cliamte guide.
The files are also on the CGD ftp area

ftp ftp.cgd.ucar.edu
anonymous
email
cd archive/SSTICE
ls
prompt
mget MODEL*nc
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
I am told there might be problem with accessing the SSTs from the cliamte guide.
The files are also on the CGD ftp area

ftp ftp.cgd.ucar.edu
anonymous
email
cd archive/SSTICE
ls
prompt
mget MODEL*nc
 
Top