Land
get_land_coords(namelist_file=None, land_file=None)
Returns the latitude and longitude coordinates that correspond to land for a particular experiment.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
namelist_file
|
Optional[str]
|
File path to namelist |
None
|
land_file
|
Optional[str]
|
File path to the land |
None
|
Returns:
Type | Description |
---|---|
[ndarray, ndarray]
|
|
[ndarray, ndarray]
|
|
Source code in isca_tools/utils/land.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|
get_ocean_coords(namelist_file=None, land_file=None)
Returns the latitude and longitude coordinates that correspond to ocean for a particular experiment.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
namelist_file
|
Optional[str]
|
File path to namelist |
None
|
land_file
|
Optional[str]
|
File path to the land |
None
|
Returns:
Type | Description |
---|---|
[ndarray, ndarray]
|
|
[ndarray, ndarray]
|
|
Source code in isca_tools/utils/land.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
|
load_land_file(namelist_file=None, land_file=None)
Loads in the land data file for a given experiment.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
namelist_file
|
Optional[str]
|
File path to namelist |
None
|
land_file
|
Optional[str]
|
File path to the land |
None
|
Returns:
Type | Description |
---|---|
Dataset
|
land dataset containing the variables |
Source code in isca_tools/utils/land.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|