Completed
Push — master ( b471d7...919dfb )
by Stefan
04:36
created

test_level1c.test_solarmodule_method_structure()   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
# vim:fileencoding=utf-8
3
#
4
# Copyright (c) 2018 Stefan Bender
5
#
6
# This module is part of sciapy.
7
# sciapy is free software: you can redistribute it or modify
8
# it under the terms of the GNU General Public License as published
9
# by the Free Software Foundation, version 2.
10
# See accompanying LICENSE file or http://www.gnu.org/licenses/gpl-2.0.html.
11
"""SCIAMACHY level 1c tests
12
"""
13
14
import sciapy.level1c
15
16
17
def test_module_object_structure():
18
	assert sciapy.level1c
19
	assert sciapy.level1c.scia_limb
20
	assert sciapy.level1c.scia_limb.scia_limb_point
21
	assert sciapy.level1c.scia_limb.scia_limb_scan
22
	assert sciapy.level1c.scia_limb_point
23
	assert sciapy.level1c.scia_limb_scan
24
	assert sciapy.level1c.scia_solar
25
26
27
def test_limbmodule_method_structure():
28
	assert sciapy.level1c.scia_limb.scia_limb_point.from_limb_scan
29
	assert sciapy.level1c.scia_limb_point.from_limb_scan
30
	assert sciapy.level1c.scia_limb.scia_limb_scan.assemble_textheader
31
	assert sciapy.level1c.scia_limb.scia_limb_scan.parse_textheader
32
	assert sciapy.level1c.scia_limb.scia_limb_scan.read_from_file
33
	assert sciapy.level1c.scia_limb.scia_limb_scan.local_solar_time
34
	assert sciapy.level1c.scia_limb_scan.assemble_textheader
35
	assert sciapy.level1c.scia_limb_scan.parse_textheader
36
	assert sciapy.level1c.scia_limb_scan.read_from_file
37
	assert sciapy.level1c.scia_limb_scan.local_solar_time
38
39
40
def test_solarmodule_method_structure():
41
	assert sciapy.level1c.scia_solar.read_from_hdf5
42
	assert sciapy.level1c.scia_solar.read_from_netcdf
43
	assert sciapy.level1c.scia_solar.read_from_textfile
44
	assert sciapy.level1c.scia_solar.read_from_file
45
	assert sciapy.level1c.scia_solar.write_to_netcdf
46
	assert sciapy.level1c.scia_solar.write_to_textfile
47