-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·27 lines (22 loc) · 1 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# Example of Kriging L2 data onto a grid
#
# Data from https://aura.gesdisc.eosdis.nasa.gov/data/Aura_OMI_Level2/OMO3PR.003/2021/
#
# Note we interact with files as HDF5 not HDF5-EOS. This just means we interact with the
# data structures at a lower level.
#
#
export PYTHONPATH=/Users/mrilee/git/NOGGIN-PyKrige:/Users/mrilee/git/NOGGIN
export NOGGIN_DATA_SRC_DIRECTORY=/Users/mrilee/Remote/Dropbox/data/NOGGIN/tmp/
# Execute the calculation. Krige to a default 1-degree lon-lat grid.
#
# CLI Options
# -d <source data directory>
# -n <variable to extract> # Note the low-level style of access via HDF-5
# -m <variogram functional model>
# -v # Verbose output
#
python ~/git/NOGGIN/Krige/noggin_krige.py -d ${NOGGIN_DATA_SRC_DIRECTORY}/ -n HDFEOS/SWATHS/O3Profile/Data\ Fields/O3 -m gamma_rayleigh_nuggetless_variogram_model -v
# Gapfill on a grid
# python ~/git/NOGGIN/Krige/noggin_krige.py -d ${NOGGIN_DATA_SRC_DIRECTORY}/ -n Atmospheric_Water_Vapor_Mean -m gamma_rayleigh_nuggetless_variogram_model -v -G