|
|
@@ -35,7 +35,7 @@ class FieldClimateFetcherTest {
|
|
|
|
|
|
private static FieldClimateConfig config;
|
|
|
private static AuthenticationService authService;
|
|
|
- private static LocalDateTime startDate = LocalDateTime.of(2019, 9, 22, 0, 0,0);
|
|
|
+ private static LocalDateTime startDate = LocalDateTime.of(2019, 10, 1, 0, 0,0);
|
|
|
|
|
|
@BeforeAll
|
|
|
static void init() {
|
|
|
@@ -372,7 +372,7 @@ class FieldClimateFetcherTest {
|
|
|
|
|
|
|
|
|
|
|
|
-/*
|
|
|
+ /*
|
|
|
@Test
|
|
|
void fetch() throws Exception {
|
|
|
|
|
|
@@ -380,11 +380,13 @@ class FieldClimateFetcherTest {
|
|
|
|
|
|
fetcher.init();
|
|
|
|
|
|
- fetcher.fetch();
|
|
|
- fetcher.fetch();
|
|
|
+// fetcher.fetch();
|
|
|
+// fetcher.fetch();
|
|
|
|
|
|
+ SenslogV1Model model = new FieldClimateModelSenslogV1ModelConverter().convert(fetcher.fetch());
|
|
|
+ Observation obs = (Observation)model.getObservations().get(0);
|
|
|
|
|
|
- System.out.println(new FieldClimateModelSenslogV1ModelConverter().convert(fetcher.fetch()).getObservations());
|
|
|
+ System.out.println(obs);
|
|
|
}
|
|
|
*/
|
|
|
/*
|