Commit baee7878 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Update full names; sort indexes according to full names

parent a887b5e8
......@@ -606,6 +606,7 @@ def build_rst_from_plugins(app):
# Loop over modules in the sub-type
package_subindex = []
package_subtitles = []
for mod in pkgutil.walk_packages(import_subpackage.__path__,
prefix=import_subpackage.__name__ + "."):
if not mod.ispkg:
......@@ -644,9 +645,11 @@ def build_rst_from_plugins(app):
# Append name for plugin type index
package_subindex.append(loc_mod.__name__.split(".")[-1])
package_subtitles.append(getattr(loc_mod, "_fullname", loc_mod._name))
# Sort names
package_subindex.sort()
package_subindex = [
x for _,x in sorted(zip(package_subtitles, package_subindex))]
# Write the plugin type index
if subtype == "":
......
......@@ -26,6 +26,7 @@ machine accuracy.
from .execute import execute
_name = "adj-tl_test"
_fullname = "Test of the adjoint"
requirements = {
"obsvect": {
......
......@@ -21,6 +21,7 @@ from .execute import execute
from ....utils import path
_name = "analytic"
_fullname = "Analytical inversions"
requirements = {
"obsvect": {
......
......@@ -11,6 +11,8 @@ from .execute import execute
from ....utils import path
_name = "EnSRF"
_fullname = "Ensemble Square-Root Filter"
requirements = {
"obsvect": {
......
......@@ -9,6 +9,8 @@ equivalent and/or save all the 4d concentration fields.
from .execute import execute
_name = "forward"
_fullname = "Forward run"
requirements = {
"controlvect": {
......
......@@ -9,6 +9,7 @@ it is mostly used to compute the minimum of the Bayesian Gaussian cost function.
from .execute import execute
_name = "4dvar"
_fullname = "4DVAR variational inversions"
requirements = {
"obsvect": {
......
"""
This plugin deals with specific environment characteristics of the
cluster at the Très Grand Centre de calcul (France), more specifically the Rome/AMD
partition of the Centre de Calcul Recherche et Technologie.
"""
import subprocess
import os
_name = "TGCC-CCRT"
_version = "AMD"
_fullname = "Centre de Calcul Recherche et Technologie (AMD/rome)"
# It is necessary to have some measurements and some info about the meteo
# to initialize the observation vector
......
"""
This plugin deals with specific environment characteristics of the
Docker image designed specifically to run pycif.
Further information on this image can be found :doc:`here </docker/index>`.
"""
import subprocess
import os
......@@ -5,6 +13,7 @@ from .jobs import check_jobs, submit_job
_name = "docker"
_version = "cif"
_fullname = "Docker container for pycif"
# It is necessary to have some measurements and some info about the meteo
# to initialize the observation vector
......
"""
This plugin deals with specific environment characteristics of the
cluster at LSCE.
"""
import os
import subprocess
from .jobs import init_job, submit_job, check_jobs
_name = "LSCE"
_version = "obelix"
_fullname = "LSCE's cluster"
# It is necessary to have some measurements and some info about the meteo
# to initialize the observation vector
......
"""
This plugin deals with specific environment characteristics of the
cluster at the Très Grand Centre de calcul (France), more specifically the Skylake
partition of the Centre de Calcul Recherche et Technologie.
"""
import os
import subprocess
from .jobs import init_job, submit_job, check_jobs
_name = "TGCC-CCRT"
_version = "std"
_fullname = "Centre de Calcul Recherche et Technologie (skylake)"
# It is necessary to have some measurements and some info about the meteo
# to initialize the observation vector
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment