Ignore:
Timestamp:
Sep 29, 2011, 3:59:01 PM (13 years ago)
Author:
aslmd
Message:

MESOSCALE:
-- Code in storm scenario corresponds to 'OMEGA' reference case [Julien Faure]
-- Easier settings for dust lifting without the need to recompile [see below]
-- A few modifications to plot and dust-devil detection PYTHON routines

29/09/11 == AS

--> To easily explore sensitivity to lifting thresholds: in dustlift.F, ustar_seuil=sqrt(stress/rho)

and alpha_lift[dust_mass] can be prescribed through an external stress.def parameter file.
--- alpha_lift[dust_number] is computed from alpha_lift[dust_mass] as in initracer.F
--- ustar_seuil is more user-friendly than stress because direct comparison with ustar from model

--> For the moment this is MESOSCALE only, but potentially useful to everyone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/PYTHON/2dplot.py

    r296 r310  
    2626#title = "Atmospheric temperature"
    2727
     28name = "wrfout_d01_2024-03-22_01:00:00_z"
     29itime = 12
     30ndiv = 10
     31zey = 120
     32var = "VMR_ICE"
     33title = "Volume mixing ratio of water ice [ppm]"
     34vmin = -0.5
     35vmax = 400.
     36
    2837nc = Dataset(name)
    2938
    3039what_I_plot, error = reducefield( getfield(nc,var), d4=itime, d2=zey )
     40
    3141
    3242y = nc.variables["vert"][:]
     
    3444horinp = len(what_I_plot[0,:])
    3545x = np.linspace(0.,horinp*500.,horinp) / 1000.
     46xlabel("Horizontal coordinate (km)")
     47
     48horinp = len(what_I_plot[0,:])
     49x = np.linspace(0.,horinp,horinp)
     50xlabel("x grid points")
     51
    3652
    3753zevmin, zevmax = calculate_bounds(what_I_plot,vmin=vmin,vmax=vmax)
     
    4662                       extend='neither',spacing='proportional')
    4763ptitle(title)
    48 xlabel("Horizontal coordinate (km)")
    4964ylabel("Altitude (m)")
    5065makeplotres(var+str(itime),res=200.,disp=False)
Note: See TracChangeset for help on using the changeset viewer.