Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadData.java @ 8293:301a32bd7045 3.1.6
Though not yet part of the calculation, suspended load has to be optionally loadable through datacage.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Wed, 17 Sep 2014 19:28:39 +0200 |
parents | 5ffbf97766f7 |
children | 69b0a71b4845 |
comparison
equal
deleted
inserted
replaced
8292:86e532106abb | 8293:301a32bd7045 |
---|---|
33 public static final int GF_SUSP_SAND_BED = 4; | 33 public static final int GF_SUSP_SAND_BED = 4; |
34 public static final int GF_SUSP_SEDIMENT = 5; | 34 public static final int GF_SUSP_SEDIMENT = 5; |
35 public static final int GF_TOTAL = 6; | 35 public static final int GF_TOTAL = 6; |
36 public static final int GF_BED_LOAD = 7; | 36 public static final int GF_BED_LOAD = 7; |
37 public static final int GF_BED_LOAD_SUSP_SAND = 8; | 37 public static final int GF_BED_LOAD_SUSP_SAND = 8; |
38 public static final int GF_MAX = 8; | 38 public static final int GF_SUSP_LOAD = 9; |
39 public static final int GF_MAX = 9; | |
39 | 40 |
40 public static final String [] GF_NAMES = { | 41 public static final String [] GF_NAMES = { |
41 "coarse", | 42 "coarse", |
42 "fine_middle", | 43 "fine_middle", |
43 "sand", | 44 "sand", |
44 "susp_sand", | 45 "susp_sand", |
45 "susp_sand_bed", | 46 "susp_sand_bed", |
46 "suspended_sediment", | 47 "suspended_sediment", |
47 "total", | 48 "total", |
48 "bed_load", | 49 "bed_load", |
49 "bed_load_susp_sand" | 50 "bed_load_susp_sand", |
51 "suspended_load" | |
50 }; | 52 }; |
51 | 53 |
52 public static final int [] MEASUREMENT_STATION_GF = { | 54 public static final int [] MEASUREMENT_STATION_GF = { |
53 /* GF_COARSE */ Station.BED_LOAD, | 55 /* GF_COARSE */ Station.BED_LOAD, |
54 /* GF_FINE_MIDDLE */ Station.BED_LOAD, | 56 /* GF_FINE_MIDDLE */ Station.BED_LOAD, |
56 /* GF_SUSP_SAND */ Station.BED_LOAD, | 58 /* GF_SUSP_SAND */ Station.BED_LOAD, |
57 /* GF_SUSP_SAND_BED */ Station.BED_LOAD, | 59 /* GF_SUSP_SAND_BED */ Station.BED_LOAD, |
58 /* GF_SUSP_SEDIMENT */ Station.SUSPENDED, | 60 /* GF_SUSP_SEDIMENT */ Station.SUSPENDED, |
59 /* GF_TOTAL */ Station.BED_LOAD|Station.SUSPENDED, | 61 /* GF_TOTAL */ Station.BED_LOAD|Station.SUSPENDED, |
60 /* GF_BED_LOAD */ Station.BED_LOAD, | 62 /* GF_BED_LOAD */ Station.BED_LOAD, |
61 /* GF_BED_LOAD_SUSP_SAND */ Station.BED_LOAD | 63 /* GF_BED_LOAD_SUSP_SAND */ Station.BED_LOAD, |
64 /* GF_SUSP_LOAD */ Station.SUSPENDED | |
62 }; | 65 }; |
63 | 66 |
64 public static final int measurementStationType(int grainFraction) { | 67 public static final int measurementStationType(int grainFraction) { |
65 return grainFraction < 0 || grainFraction >= MEASUREMENT_STATION_GF.length | 68 return grainFraction < 0 || grainFraction >= MEASUREMENT_STATION_GF.length |
66 ? Station.UNKNOWN | 69 ? Station.UNKNOWN |