Skip to content

Commit

Permalink
map to plot
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshempelmann committed Jan 10, 2019
1 parent fd31b00 commit 85da992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions eggshell/nc/ocg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def call(resource=[], variable=None, dimension_map=None, agg_selection=True,
LOGGER.info('Execute ocgis module call function')

try:
LOGGER.debug('call module curdir = %s ' % abspath(curdir))
LOGGER.debug('call module dir_output = %s ' % abspath(dir_output))
rd = RequestDataset(resource,
variable=variable,
level_range=level_range,
Expand Down Expand Up @@ -168,7 +168,6 @@ def call(resource=[], variable=None, dimension_map=None, agg_selection=True,
return None

# TODO include comaprison dataload to available memory

dataload = 1
available_memory = 2

Expand Down
2 changes: 1 addition & 1 deletion eggshell/plot/plt_ncdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def uncertainty(resouces, variable=None, ylim=None, title=None, file_extension='
return output_png


def map_spatial_analog(ncfile, variable='dissimilarity', cmap='viridis', title='Spatial analog'):
def plot_spatial_analog(ncfile, variable='dissimilarity', cmap='viridis', title='Spatial analog'):
"""Return a matplotlib Figure instance showing a map of the dissimilarity measure.
"""
import netCDF4 as nc
Expand Down

0 comments on commit 85da992

Please sign in to comment.