Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suivi cordulegaster #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions suivi_cordulegaster/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"tree": {
"module": {
"sites_group": {
"site": {
"visit": {
"observation": null
}
}
},
"site": {
"visit": {
"observation": null
}
}
}
}
}
80 changes: 80 additions & 0 deletions suivi_cordulegaster/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Documentation du Module

Ce module est conçu pour gérer le suivi de la flore patrimoniale.

### Aire d'études

- ``sites_group_name`` - **Nom de l'aire d'études**
- ``sites_group_description`` - **Remarque/description**
- ``sites_group_code`` - **Type d'aire d'études :** (Espace Naturel Sensible, Natura 2000, Réserve Naturelle, Site sous convention, Autres)

### Sites

- ``id_sites_group`` - **Air d'études**
- ``base_site_name`` - **Nom du site**
- ``base_site_description`` - **Description du site**
- ``type_milieu`` - **Type de milieu**
- ``tuf`` - **Habitat tufeux ? :** (Oui, Non)
- ``altitude_min`` - **Altitude**
- ``couv_arboree`` - **Couverture d'arborée :** (0-25%, 25-50%, 50-75%, 75-100%)
- ``couv_herbacee`` - **Couverture d'herbacée :** (0-25%, 25-50%, 50-75%, 75-100%)
- ``especes_dominantes`` - **Espèces dominantes présentes**
- ``type_boisement`` - **Type de boisement :** (Feuillus, Résineux, Mixtes, Non boisé)
- ``last_visit`` - **Dernier passage**
- ``nb_visits`` - **Nb. de passages**
- ``id_inventor`` - **Inventeur**
- ``first_use_date`` - **Date de création du site**

### Visites

- `id_base_site` - **Site visité**
- `visit_date_min` - **Date de la visite**
- `observers` - **Observateurs**
- `time_start` - **Heure de début du relevé**
- `time_end` - **Heure de fin du relevé**
- `quadrat` - **Quadrat** : ("1a" ,"1b" ,"2a" ,"2b" ,"3a" ,"3b" ,"4a" ,"4b" ,"5a" ,"5b" ,"6a" ,"6b" ,"8a" ,"8b" ,"HQ")
- `temperature` - **Température au début du relevé**
- `cloudiness` - **Couverture nuageuse** : ("0 à 10%","10 à 25%", "25 à 50%", "Plus de 50%")
- `rain` - **Pluie** : ("Pas de précipitations","Averses", "Pluie continue", "Orage")
- `wind` - **Vent** : ("Nul","Faible", "Moyen", "Soutenu", "Rafales")
- `data_abiotique` - **Transmission de données abiotiques**
- `physicochimie_temp` - **Physico-chimie - Température**
- `physicochimie_ph` - **Physico-chimie - Ph**
- `physicochimie_conductivite` - **Physico-chimie - Conductivité**
- `physicochimie_O2_dissous_mg_l` - **Physico-chimie - O2 dissous (mg/l)**
- `physicochimie_tx_O2` - **Physico-chimie - Taux O2 (%)**
- `habitat_hauteur_lame_eau_classe` - **Habitat - Classe de hauteur de la lame d'eau**
- `habitat_hauteur_lame_eau_cm` - **Habitat - Hauteur de la lame d'eau (cm)** : ("0","0,5 à 4", "4 à 8", "8 à 15", "15 à 20", "plus de 20")
- `habitat_hauteur_sediments_cm` - **Habitat - Hauteur des sédiments (cm)**
- `habitat_substrat_organique` - **Habitat - Substrat organique** : ("Absence","Traces/présence", "Majoritaire")
- `habitat_granulo_sediments_majoritaire` - **Habitat - Granulo sediments majoritaire** : (<2mm, 2<X<5mm, >5mm)
- `habitat_commentaires` - **Habitat - Commentaires**
- `data_labo_DBO5` - **Laboratoire - DBO5 (mg/l)**
- `data_labo_COD` - **Laboratoire - COD (mg/l)**
- `data_labo_PO4` - **Laboratoire - PO4 (mg/l)**
- `data_labo_Ptotal` - **Laboratoire - Ptotal (mg/l)**
- `data_labo_NH4` - **Laboratoire - NH4 (mg/l)**
- `data_labo_NO2` - **Laboratoire - NO2 (mg/l)**
- `data_labo_NO3` - **Laboratoire - NO3 (mg/l)**
- `data_labo_chlorures` - **Laboratoire - Chlorures (mg/l)**
- `data_labo_sulfates` - **Laboratoire - Sulfates (mg/l)**
- `data_labo_cuivre` - **Laboratoire - Cuivre (µg/l)**
- `data_labo_micropolluants` - **Laboratoire - Micropolluants**
- `comments` - **Commentaires**

### Observations

- `id_nomenclature_observation_status` - **Statut d'observation**
- `id_nomenclature_obs_technique` - **Techniques d'observation**
- `cd_nom` - **Espèces observées**
- `id_nomenclature_stade` - **Stade Biologique**
- `id_nomenclature_sex` - **Sexe**
- `num_cp_tamis` - **Nombre de coup de tamis**
- `larve_stade` - **Stade de la larve**
- `larve_long_cm` - **Longueur de la larve (cm)**
- `larve_large_tete_cm` - **Largeur de la tête (cm)**
- `exuvie_support` - **Support de l'exuvie**
- `exuvie_haut_cm` - **Haut de l'exuvie (cm)**
- `exuvie_dist_eau_cm` - **Distance eau de l'exuvie (cm)**
- `id_nomenclature_behaviour` - **Comportement des imago observées**
- `comments` - **Commentaire**
Binary file added suivi_cordulegaster/img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions suivi_cordulegaster/module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"module_label": "Suivi Cordulegaster",
"module_desc": "Suivie sur les Cordulegaster, quadrat 50x50 cm, coup de tamis, ...",
"b_draw_sites_group": true,
"genre":"F"
}
181 changes: 181 additions & 0 deletions suivi_cordulegaster/observation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"description_field_name":"cd_nom",
"label": "observation",
"label_list": "observations",
"genre":"F",
"display_properties": [
"id_nomenclature_observation_status",
"id_nomenclature_obs_technique",
"cd_nom",
"id_nomenclature_stade",
"id_nomenclature_sex",
"num_cp_tamis",
"larve_stade",
"larve_long_cm",
"larve_large_tete_cm",
"exuvie_support",
"exuvie_haut_cm",
"exuvie_dist_eau_cm",
"id_nomenclature_behaviour",
"comments"
],
"display_list": [
"id_nomenclature_observation_status",
"id_nomenclature_obs_technique",
"id_nomenclature_stade"
],
"specific": {
"cd_nom": {
"type_widget": "taxonomy",
"attribut_label": "Espèces observées",
"keyValue": "cd_nom",
"keyLabel": "__MODULE.TAXONOMY_DISPLAY_FIELD_NAME",
"multiple": false,
"api": "taxref/allnamebylist/__MODULE.ID_LIST_TAXONOMY",
"application": "TaxHub",
"required": false,
"type_util": "taxonomy"
},
"id_nomenclature_stade": {
"type_widget": "datalist",
"attribut_label": "Stade Biologique",
"api": "nomenclatures/nomenclature/STADE_VIE",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"label_default": ["Larve","Mue","Imago","Exuvie","Inconnu"]},
"required": true,
"default": {
"label_default": "Inconnu"
}
},
"id_nomenclature_eta_bio": {
"type_widget": "datalist",
"attribut_label": "Stade Biologique",
"api": "nomenclatures/nomenclature/ETA_BIO",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"label_default": ["Observé vivant", "Trouvé mort"]},
"required": true,
"default": {
"label_default": "Observé vivant"
}
},
"id_nomenclature_observation_status": {
"type_widget": "datalist",
"attribut_label": "Statut d'observation",
"api": "nomenclatures/nomenclature/STATUT_OBS",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"cd_nomenclature": ["No","NSP","Pr"]},
"required": true,
"default": {
"cd_nomenclature": "No"
}
},
"id_nomenclature_sex": {
"type_widget": "datalist",
"attribut_label": "Sexe",
"api": "nomenclatures/nomenclature/SEXE",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"label_default": ["Indéterminé","Femelle","Mâle"]},
"required": true,
"default": {
"label_default": "Indéterminé"
}
},
"id_nomenclature_obs_technique": {
"type_widget": "datalist",
"attribut_label": "Techniques d'observation",
"api": "nomenclatures/nomenclature/TECHNIQUE_OBS",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"cd_nomenclature": ["10","52","59","60"]},
"required": true,
"default": {
"cd_nomenclature": "52"
}
},
"num_cp_tamis": {
"type_widget": "number",
"attribut_label": "Nombre de coup de tamis",
"hidden": false,
"required": false,
"min": 1,
"max": 10
},
"larve_stade": {
"type_widget": "number",
"attribut_label": "Stade de la larve",
"hidden": "({value}) => value.id_nomenclature_stade != 7 ",
"required": false,
"min": 1,
"max": 6
},
"larve_long_cm": {
"type_widget": "number",
"attribut_label": "Longeur de la larve",
"hidden": "({value}) => value.id_nomenclature_stade != 7",
"required": false
},
"larve_large_tete_cm": {
"type_widget": "number",
"attribut_label": "Largeur de la tête",
"hidden": "({value}) => value.id_nomenclature_stade != 7",
"required": false
},
"exuvie_support": {
"type_widget": "textarea",
"attribut_label": "Support de l'exuvie",
"hidden": "({value}) => value.id_nomenclature_stade != 12",
"required": false
},
"exuvie_haut_cm": {
"type_widget": "number",
"attribut_label": "Haut de l'exuvie (cm)",
"hidden": "({value}) => value.id_nomenclature_stade != 12",
"required": false
},
"exuvie_dist_eau_cm": {
"type_widget": "number",
"attribut_label": "Distance eau de l'exuvie (cm)",
"hidden": "({value}) => value.id_nomenclature_stade != 12",
"required": false
},
"id_nomenclature_behaviour": {
"type_widget": "datalist",
"attribut_label": "Comportement des imago observées",
"api": "nomenclatures/nomenclature/OCC_COMPORTEMENT",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"filters": {"label_default": ["Passage en vol","Pond","Posé","Accouplement","Non renseigné","Erratique"]},
"hidden": "({value}) => value.id_nomenclature_stade != 16",
"required": false,
"default": {
"label_default": "Non renseigné"
}
},
"comments": {
"type_widget": "textarea",
"attribut_label": "Commentaire"
}
}
}
Loading