Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Jan 9, 2024
1 parent e37ddfa commit 610c2d0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions examples/constthermo2d/constthermo2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@
rgrid.print_domain_info(constsfile, gridfile)

### ----- write thermodynamics binaries ----- ###
thermodyngen = thermogen.ConstHydrostaticAdiabat(configfile, constsfile, PRESS0,
THETA, qvapmethod, sratios, Zbase,
qcond, WMAX, Zlength, Xlength,
VVEL, moistlayer)
thermodyngen = thermogen.ConstDryHydrostaticAdiabat(configfile, constsfile, PRESS0,
THETA, qvapmethod, sratios, Zbase,
qcond, WMAX, Zlength, Xlength,
VVEL, moistlayer)
cthermo.write_thermodynamics_binary(thermofile, thermodyngen, configfile,
constsfile, gridfile)

Expand Down
4 changes: 2 additions & 2 deletions examples/rainshaft1d/rainshaft1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
### --- plotting initialisation figures --- ###
isfigures = [True, True] # booleans for [making, saving] initialisation figures
savefigpath = path2build+"/bin/" # directory for saving figures
SDgbxs2plt = [0] # gbxindex of SDs to plot (nb. "all" can be very slow)
SDgbxs2plt = [74] # gbxindex of SDs to plot (nb. "all" can be very slow)

### --- settings for 1-D gridbox boundaries --- ###
zgrid = [0, 1500, 20] # evenly spaced zhalf coords [zmin, zmax, zdelta] [m]
Expand Down Expand Up @@ -129,7 +129,7 @@
rgrid.print_domain_info(constsfile, gridfile)

### ----- write thermodynamics binaries ----- ###
thermodyngen = thermogen.ConstHydrostaticAdiabat(configfile, constsfile, PRESS0,
thermodyngen = thermogen.ConstDryHydrostaticAdiabat(configfile, constsfile, PRESS0,
THETA, qvapmethod, sratios, Zbase,
qcond, WMAX, Zlength, Xlength,
VVEL, moistlayer)
Expand Down
2 changes: 1 addition & 1 deletion pySD/thermobinary_src/thermogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def generate_thermo(self, gbxbounds, ndims, ntime):

return THERMODATA

class ConstHydrostaticAdiabat:
class ConstDryHydrostaticAdiabat:
''' create thermodynamics that's constant in time
and in hydrostatic equillibrium with a dry adiabat
accounting for the mass of water vapour in the air.
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_thermobinaries_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
# "x2": 750,
# "mlsratio": 1.005
# }
# thermodyngen = thermogen.ConstHydrostaticAdiabat(configfile, constsfile, PRESS0,
# thermodyngen = thermogen.ConstDryHydrostaticAdiabat(configfile, constsfile, PRESS0,
# THETA, qvapmethod, sratios, Zbase,
# qcond, WMAX, Zlength, Xlength,
# VVEL, moistlayer)
Expand Down

0 comments on commit 610c2d0

Please sign in to comment.