Opened 3 years ago

Closed 3 years ago

#100 closed defect (fixed)

Setting up nuice_ref once

Reported by: abierjon Owned by:
Priority: major Milestone:
Component: MARS GCM Version:
Keywords: Cc:

Description

The water ice effective variance used for radiative transfer nuice_ref seems to be set up in two different places :

  • once in initracer.F (l.523 at revision r2644)
      nuice_ref=0.1   ! Effective variance nueff of the
                      ! water-ice size distribution
  • once in conf_phys.F (l.709 at r2644, with the last line being a wrong comment by the way)
        write(*,*) "REF effective variance for water clouds ?"
        nuice_ref=0.45 
        call getin_p("nuice_ref",nuice_ref)
        write(*,*) "CO2 nueff Sedimentation:", nuice_ref

One of these value assignments should be discarded, as only one value is used in the simulation (but I don't know which one, it depends on the calling order for initracer and conf_phys)

Change History (7)

comment:1 Changed 3 years ago by abierjon

Some info from a svn blame on

  • initracer
    38   emillour       nuice_ref=0.1   ! Effective variance nueff of the
   358      aslmd                       ! water-ice size distribution

  • conf_phys
  1617  jaudouard         write(*,*) "REF effective variance for water clouds ?"
  1617  jaudouard         nuice_ref=0.45 
  2304   emillour         call getin_p("nuice_ref",nuice_ref)
  1617  jaudouard         write(*,*) "CO2 nueff Sedimentation:", nuice_ref

comment:2 Changed 3 years ago by abierjon

After a quick test, the value that is kept for the run is the one from initracer (nuice_ref=0.1)

Last edited 3 years ago by abierjon (previous) (diff)

comment:3 Changed 3 years ago by cmathe

Resolution: fixed
Status: newclosed

comment:4 Changed 3 years ago by cmathe

Resolution: fixed
Status: closedreopened

comment:5 Changed 3 years ago by cmathe

Resolution: fixed
Status: reopenedclosed

resolved with commit r2659

comment:6 Changed 3 years ago by abierjon

Resolution: fixed
Status: closedreopened

Must be reopened because r2659 only removed the 0.1 value in initracer without copying its value to nuice_ref default value in conf_phys.
If one run the GCM just after r2659, nuice_ref takes the value 0.45, while it should be 0.1 like before.

comment:7 Changed 3 years ago by emillour

Resolution: fixed
Status: reopenedclosed

Indeed. Done in r2661; nuice_ref back to default value of 0.1 in conf_phys

Note: See TracTickets for help on using tickets.