Commit 4c4655cf authored by Kennedy, Joseph H's avatar Kennedy, Joseph H
Browse files

LEX-0.1-rc1

A first release candidate of the LIVVkit Extensions repository to
demonstrate our extensions functionality. It lincludes the CESM Greenland analyses for
cloud cover, energy balance, and surface mass balance, as well the
CISM-Albany dynamics analyses, which will be documented in the Evans et
al. (2018) LIVVkit validation paper.

This relase candidate:
  Provides basic documentation
  All required data to run on any machine
parents b6958ea4 a692cf5d
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
......@@ -11,13 +11,12 @@ describe = """CISMA_js plot"""
# plots velnorm, zooms in on Jakobshavn 69.2N 51.1W
def make_plot(config=None, out_path='.',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
def make_plot(config, out_path='.'):
# ---------------- Read Data -----------------------------------
input_file1 = os.path.join(cism_path, 'Gris_init/greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(cism_path, 'CISM-grids/climo_greenland_1km_2017_05_06_notime.nc')
input_file1 = os.path.join(config['cism_data'], 'greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(config['cism_data'], 'climo_greenland_1km_2017_05_06_notime.nc')
# --------------------------------------------------------------
img_list = []
......@@ -165,12 +164,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('CISMA_js',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
......@@ -11,14 +11,12 @@ describe = """CISMA_pm plot"""
# Plots velnorm, zooms in on Petermann glacier, 80.5N -59.5
def make_plot(config=None, out_path='.',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
def make_plot(config, out_path='.'):
# ---------------- Read Data -----------------------------------
input_file1 = os.path.join(cism_path, 'Gris_init/greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(cism_path, 'CISM-grids/climo_greenland_1km_2017_05_06_notime.nc')
# input_file7 = '/lustre/atlas1/cli115/world-shared/4ue/CISM-grids/zurich_mask.nc' # x1 y1 mask for simulated CISMA
input_file1 = os.path.join(config['cism_data'], 'greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(config['cism_data'], 'climo_greenland_1km_2017_05_06_notime.nc')
# --------------------------------------------------------------
img_list = []
......@@ -166,12 +164,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('CISMA_pm',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
......@@ -11,21 +11,19 @@ from livvkit.util import elements as el
describe = """scatter_CISMA_RACMO23 plot."""
def make_plot(config=None, out_path='.',
racmo_path='/lustre/atlas1/cli115/world-shared/4ue/racmo23_GRN_monthly/',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
img_list = []
def make_plot(config, out_path='.'):
# --------------------------------------------------------------
# first use Remap_CISM2RACMO.sh to get remapped file and source data file
# which were saved in my local directory NCLplot
# ---------------- Read Data -----------------------------------
input_file1 = os.path.join(racmo_path, 'racmo23.ANN_with_latlon_smb.nc')
input_file2 = os.path.join(cism_path, 'CISM-Albany/postproc/remapped_cism/CISM-Albany.acab.remap2racmo.ANN.nc')
input_file3 = os.path.join(racmo_path, 'RACMO23_masks_ZGRN11.nc')
input_file2 = os.path.join(config['cism_data'], 'CISM-Albany.acab.remap2racmo.ANN.nc')
input_file1 = os.path.join(config['racmo_data'], 'racmo23.ANN_with_latlon_smb.nc')
input_file3 = os.path.join(config['racmo_data'], 'RACMO23_masks_ZGRN11.nc')
# --------------------------------------------------------------
img_list = []
# input_file1 get the following, lat(rlat,rlon),lat=312,lon=306
# smb(0,:,:), smb(time, lat, lon) with unit"mmWE", have some values= 0.005072316
# input_file2 get y1(y1,x1), y1=312,x1=306, here lat_name is y1
......@@ -88,12 +86,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('scatter_CISMA_RACMO23',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
......@@ -10,21 +10,19 @@ from livvkit.util import elements as el
describe = """CISMA_RACMO23 plot"""
def make_plot(config=None, out_path='.',
racmo_path='/lustre/atlas1/cli115/world-shared/4ue/racmo23_GRN_monthly/',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
def make_plot(config, out_path='.'):
# --------------------------------------------------------------
# first use remap_CISMA_to_RACMO.sh to get remapped file and source data file
# which were saved in my local directory NCLplot
# ---------------- Read Data -----------------------------------
input_file1 = os.path.join(racmo_path, 'racmo23.ANN_with_latlon_smb.nc')
input_file2 = os.path.join(cism_path, 'CISM-Albany/postproc/remapped_cism/CISM-Albany.acab.remap2racmo.ANN.nc')
input_file3 = os.path.join(racmo_path, 'RACMO23_masks_ZGRN11.nc')
input_file4 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_acab.nc')
input_file5 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(cism_path, 'CISM-grids/climo_greenland_1km_2017_05_06_notime.nc')
input_file2 = os.path.join(config['cism_data'], 'CISM-Albany.acab.remap2racmo.ANN.nc')
input_file4 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_acab.nc')
input_file5 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(config['cism_data'], 'climo_greenland_1km_2017_05_06_notime.nc')
input_file1 = os.path.join(config['racmo_data'], 'racmo23.ANN_with_latlon_smb.nc')
input_file3 = os.path.join(config['racmo_data'], 'RACMO23_masks_ZGRN11.nc')
# --------------------------------------------------------------
img_list = []
......@@ -195,12 +193,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('CISMA_RACMO23',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
......@@ -10,13 +10,10 @@ from livvkit.util import elements as el
describe = """CISMA_temp plot"""
def make_plot(config=None, out_path='.',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
def make_plot(config, out_path='.'):
# ---------------- Read Data -----------------------------------
input_file4 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_tempstag.nc')
# input_file5 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(cism_path, 'CISM-grids/climo_greenland_1km_2017_05_06_notime.nc')
# input_file7 = '/lustre/atlas1/cli115/world-shared/4ue/CISM-grids/zurich_mask.nc' # x1 y1 mask for simulated CISMA
input_file4 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_tempstag.nc')
input_file6 = os.path.join(config['cism_data'], 'climo_greenland_1km_2017_05_06_notime.nc')
# --------------------------------------------------------------
img_list = []
......@@ -156,12 +153,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('CISMA_temp',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
......@@ -11,14 +11,12 @@ from livvkit.util import elements as el
describe = """CISMA_velnorm plot"""
def make_plot(config=None, out_path='.',
cism_path='/lustre/atlas1/cli115/world-shared/4ue/'):
def make_plot(config, out_path='.'):
# ---------------- Read Data -----------------------------------
input_file1 = os.path.join(cism_path, 'Gris_init/greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(cism_path, 'CISM-Albany/postproc/albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(cism_path, 'CISM-grids/climo_greenland_1km_2017_05_06_notime.nc')
# input_file7 = '/lustre/atlas1/cli115/world-shared/4ue/CISM-grids/zurich_mask.nc' # x1 y1 mask for simulated CISMA
input_file1 = os.path.join(config['cism_data'], 'greenland_1km_2016_12_01.mcb_velnorm.nc')
input_file4 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_velnorm.nc')
input_file5 = os.path.join(config['cism_data'], 'albany.out.tstep.ANN_thk.nc')
input_file6 = os.path.join(config['cism_data'], 'climo_greenland_1km_2017_05_06_notime.nc')
# --------------------------------------------------------------
img_list = []
......@@ -166,12 +164,7 @@ def make_plot(config=None, out_path='.',
img_elem = el.image('CISMA_velnorm',
' '.join(describe.split()),
img_link)
if config:
img_elem['Height'] = config['image_height']
img_elem['Height'] = config['image_height']
img_list.append(img_elem)
return img_list
if __name__ == '__main__':
make_plot()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment