As an update, I tried running the script interactively as the log file gives me nothing when I fail, this is what the interactive output looks like:
Spatial Allocator Version 3.6, 03/10/2009
WARNING: Environment variable: MAX_INPUT_FILE_SHAPES, not set
EV: MIMS_PROCESSING=ALLOCATE
EV: ALLOCATE_ATTRS=TYPE
EV: OUTPUT_FILE_NAME=/projects/b1045/montgomery/ocean_file_CONUS4K_d02_try3.ncf
Using ALLOCATE mode
EV: OUTPUT_FILE_TYPE=IoapiFile
EV: OUTPUT_FILE_TYPE=IoapiFile
WARNING: Environment variable: OVERLAY_TYPE, not set
EV: OUTPUT_FILE_TYPE=IoapiFile
Reading Regular Grid
EV: OUTPUT_GRID_NAME=CONUS4K_d02
WARNING: Environment variable: MAX_LINE_SEG, not set
MAX_LINE_SEG not set, discretization intervals disabled
griddesc file name = /projects/b1045/wrf-cmaq/input/land/CONUS4K_d02/GRIDDESC
Ellipsoid var = OUTPUT_FILE_ELLIPSOID
EV: OUTPUT_FILE_ELLIPSOID=+a=6370000.0,+b=6370000.0
Ellipsoid=+a=6370000.0,+b=6370000.0
EV: OUTPUT_GRID_NAME=CONUS4K_d02
Not using BB optimization
Finished reading the output file…
EV: INPUT_FILE_TYPE=ShapeFile
EV: INPUT_FILE_ELLIPSOID=+a=6370000.0,+b=6370000.0
Ellipsoid=+a=6370000.0,+b=6370000.0
EV: INPUT_FILE_MAP_PRJN=+proj=lcc,+lat_1=33,+lat_2=45,+lat_0=40,+lon_0=-97
EV: INPUT_FILE_TYPE=ShapeFile
EV: INPUT_FILE_NAME=/projects/b1045/cmaq/Spatial-Allocator/data/Spatial-Allocator/data/surfzone/surfzone_poly_st.shp
WARNING: Environment variable: MAX_LINE_SEG, not set
MAX_LINE_SEG not set, discretization intervals disabled
max_line_seg=
Reading Shapefile /projects/b1045/cmaq/Spatial-Allocator/data/Spatial-Allocator/data/surfzone/surfzone_poly_st.shp
Shapefile Type: 5 Polygon # of Shapes: 20183
Input projection:
args[1]=+a=6370000.0
args[2]=+b=6370000.0
param 0 = +proj=lcc,
param 3 = +lat_1=33,
param 4 = +lat_2=45,
param 5 = +lat_0=40,
param 6 = +lon_0=-97,
PROJ args=+proj=lcc+a=6370000.0+b=6370000.0+lat_1=33+lat_2=45+lat_0=40+lon_0=-97
Output projection:
args[1]=+a=6370000.0
args[2]=+b=6370000.0
setting Lambert Conic Conformal – 2SP parameters
PROJ args=+proj=lcc+a=6370000.0+b=6370000.0+lat_1=33.000000+lat_2=45.000000+lon_0=-97.000000+lat_0=40.000000+units=m
Total area = 1.6543e+13
Skipped 0 polygons and 0 vertices
File bounding box:
xmin = -2423753.500 xmax = 3235765.000 ymin = -2882042.250 ymax = 2841043.750
Finished reading the input shape file…
EV: ALLOCATE_ATTRS=TYPE
EV: ALLOCATE_ATTRS=TYPE
Not using function for weights
Using attribute TYPE
Finished reading the input attribute file…
xmin = -2423753.500 xmax = 3235765.000 ymin = -2882042.250 ymax = 2841043.750
xmin = -2292000.000 xmax = 2328000.000 ymin = -1584000.000 ymax = 1320000.000
numpoly1=20183, numpoly2 = 838530
xmin = -2423753.500 xmax = 3235765.000 ymin = -2882042.250 ymax = 2841043.750
(and then it hangs)
Is there some indication that I’ve got some mistake I’ve overlooked? Are the domains the wrong size?
Thanks,
Anastasia