forked from NOAA-GFDL/CatalogBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
926f62c
commit 1badb2c
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
#!/usr/bin/env python | ||
|
||
#TODO test after conda pkg is published and make changes as needed | ||
#from catalogbuilder.scripts import gen_intake_gfdl | ||
from . import gen_intake_gfdl | ||
from catalogbuilder.scripts import gen_intake_gfdl | ||
#from . import gen_intake_gfdl | ||
import sys | ||
|
||
input_path = "/archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp/" | ||
output_path = "test" | ||
sys.argv = ['INPUT_PATH', input_path, output_path] | ||
print(sys.argv) | ||
gen_intake_gfdl.main() | ||
try: | ||
gen_intake_gfdl.create_catalog(input_path,output_path) | ||
except: | ||
sys.exit("Exception occured calling gen_intake_gfdl.create_catalog") | ||
|