Skip to content
Snippets Groups Projects
Select Git revision
  • 1c0f73591d4b64e8aace14518b38d326fe02312d
  • master default protected
  • replication_test
  • 559-i18n-labels-for-pids
  • 556-usage-statistics
  • 553-semantic-recommendation-2
  • release-1.10 protected
  • dev protected
  • 553-semantic-recommendation
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • v1.10.3 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
  • v1.9.2 protected
41 results

debughelpers.py

Blame
  • cfg.py 1.10 KiB
    
    from . import clusters
    cluster = clusters.vsc  # change cluster configuration here
    
    
    class ExperimentConfiguration(object):
        def __init__(self):
            pass
    
    
    exp = ExperimentConfiguration()
    exp.expname = "exp_v1.12_conv1"
    exp.model_dx = 2000
    exp.timestep = 10
    exp.n_ens = 40
    exp.n_nodes = 10
    
    n_obs = 64  # radar: n_obs for each observation height level
    
    vis = dict(sat_channel=1, n_obs=n_obs, err_std=0.03,
               cov_loc_radius_km=10)
    wv = dict(sat_channel=6, n_obs=n_obs, err_std=5.,
               cov_loc_radius_km=10)
    ir108 = dict(sat_channel=9, n_obs=n_obs, err_std=5.,
                 cov_loc_radius_km=10)
    
    radar = dict(kind='RADAR', n_obs=n_obs, err_std=5.,
                 heights=np.arange(1000, 15001, 1000),
                 cov_loc_radius_km=10, cov_loc_vert_km=2)
    
    t2m = dict(kind='SYNOP_TEMPERATURE', n_obs=n_obs, err_std=1.0, 
               cov_loc_radius_km=32, cov_loc_vert_km=1)
    psfc = dict(kind='SYNOP_SURFACE_PRESSURE', n_obs=n_obs, err_std=50.,
               cov_loc_radius_km=32)
               
    
    exp.observations = [t2m, psfc, ]
    
    # directory paths depend on the name of the experiment
    cluster.expname = exp.expname