PORT

Overview

PORT is a Parallel Offline Radiative Transfer software tool.  

It is distributed as part of CESM.  It diagnoses radiative forcing as described in a GMD paper, PORT, a CESM tool for diagnosing radiative forcing.  

It is available as part of cesm1_2.  The discussion below is in the context of this release.

PORT is not supported in cesm version 1.2.2  due to some complications related to MAM (aerosol) optics.

It has worked in CESM release versions 1.0, 1.1, and 1.2

It currently works with the CAMRT (cam4) (and has been updated to work with the RRTMG (cam5)) radiation packages.  

If you have a version of CESM1_2 or later, you can run PORT.  Verification that everything is working is listed below.

This wiki is not necessarily up to date with CESM code standards.  Suggestions for improvement are welcome.

We look forward to hearing how this works or does not.  There are no guarantees or waranties.

Configuration options

Namelist options

Diagnostic outputs

Example of computing forcing due to doubling CO2

  1. Sample the base state of a validated model for more than 16 months
    1. Configure with -rad camrt -phys cam4
    2. Add to the name list:
      1. iradsw = 1
      2. iradlw = 1
      3. iradae = 1
      4. ndens=1,1
      5. nhtfrq = 0,73
      6. mfilt = 1,1
      7. avgflag_pertape = 'A','I'
      8. rad_data_output = .true.
    3. Run for more than 16 months
    4. Create a file (/path/samples.inputs, as an example) that contains a list of the "h1" files (original.h1.file[n].nc) produced by this run.
  2. Validate PORT
    1. Configure CESM/CAM to compile the offline driver
      1. Configure with -offline_drv rad -rad camrt -phys cam4
    2. Add to the name list:
      1. iradsw = 1
      2. iradlw = 1
      3. iradae = 1
      4. ndens=1,1
      5. nhtfrq = 0,73
      6. mfilt = 1,1
      7. avgflag_pertape = 'A','I'
      8. rad_data_output = .true.
      9. offline_driver_fileslist = '/path/samples.inputs'
      10. offline_driver_do_fdh = .true.
    3. Validate
      1. The difference between the fluxes, FLNT,FLNR,FLNS,FSNT,FSNR,FSNS from the sampling step (1) and the validation step (2) should be the zero, however under some conditions there can be roundoff-level errors.
  3. Compute forcing due to a change in composition (CO2, as an example)
    1. Modify the composition specified by the sample files:
      1. (In this example) for each file listed in /path/samples.inputs, ncap -s"rad_CO2=2*rad_CO2" original.h1.file[n].nc 2xCO2.file[n].nc
      2. create a new file (/path/2xCO2samples.inputs) that lists each of the modified files (2xCO2.file[n].nc)
    2. Configure CESM/CAM to compile the offline driver
      1. Configure with -offline_drv rad -rad camrt -phys cam4
    3. Add to the name list:
      1. iradsw = 1
      2. iradlw = 1
      3. iradae = 1
      4. ndens=1,1
      5. nhtfrq = 0,73
      6. mfilt = 1,1
      7. avgflag_pertape = 'A','I'
      8. rad_data_output = .true.
      9. offline_driver_fileslist = '/path/2xCO2samples.inputs'
      10. offline_driver_do_fdh = .true.
    4. Forcing is the difference between 
      1. the net flux at the tropopause (FLNR-FSNR) from the last 12 months of the sample files  AND
      2. the net flux at the tropopause (FLNR-FSNR) from the last 12 months of the 2xCO2sample files

FAQ's: