Hello!
I have been trying to make an ocean file form mi domain (north of South America), but it always fails whit the same error message. This is the outpt that shows the terminal:
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=/hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/surf_zone/SA_output/ocean_file.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=2018_NSthAm_CROS
WARNING: Environment variable: MAX_LINE_SEG, not set
MAX_LINE_SEG not set, discretization intervals disabled
griddesc file name = /hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/Feb_2018/mcip/2018_NSthAm/GRIDDESC
Ellipsoid var = OUTPUT_FILE_ELLIPSOID
EV: OUTPUT_FILE_ELLIPSOID=+a=6378137.0,+rf=298.257223563
Ellipsoid=+a=6378137.0,+rf=298.257223563
EV: OUTPUT_GRID_NAME=2018_NSthAm_CROS
Illegal instruction
0.000u 0.004s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
The run script used is showed bellow:
#! /bin/csh -f
#******************* Allocate Shapefiles Run Script **************************
Allocates a polygon shapefile’s data to an I/O API gridded file
Oct. 2006, LR
Dec. 2007, LR – projection specification changes
#*****************************************************************************
setenv DEBUG_OUTPUT Y
setenv SA_HOME “/hpcfs/home/ca.moreno12/Spatial-Allocator”
Set executable
setenv EXE “$SA_HOME/bin/64bits/allocator.exe”
Set Input Directory
setenv DATADIR /hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/surf_zone
setenv OUTPUT /hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/surf_zone/SA_output
#setenv DATADIR $SA_HOME/data
#setenv OUTPUT $SA_HOME/output
Select method of spatial analysis
setenv MIMS_PROCESSING ALLOCATE
setenv TIME time
#set “data” shapefile parameters
setenv GRIDDESC “/hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/Feb_2018/mcip/2018_NSthAm/GRIDDESC”
#set parameters for file being allocated
setenv INPUT_FILE_NAME /hpcfs/home/ca.moreno12/CMAQ_v5.3.1/cmaq_adj/data/surf_zone/shapefiles/latam
setenv INPUT_FILE_TYPE ShapeFile
setenv INPUT_FILE_MAP_PRJN “+proj=lcc,+lat_1=-5,+lat_2=-42,+lat_0=-32,+lon_0=-60”
setenv INPUT_FILE_ELLIPSOID “+a=6378160.0,+b=6356774.719195305”
setenv ALLOCATE_ATTRS TYPE
setenv ALLOC_MODE_FILE ALL_AREAPERCENT
#Set this to SURF_ZONE to create the variables needed for CMAQ OCEANfile
setenv ALLOC_ATTR_TYPE SURF_ZONE
Set name and path of resulting shapefile
setenv OUTPUT_FILE_TYPE IoapiFile
setenv OUTPUT_GRID_NAME “2018_NSthAm_CROS”
setenv OUTPUT_FILE_MAP_PRJN “+proj=lcc,+lat_1=-9.267,+lat_2=19.65,+lat_0=5.19,+lon_0=-72.63”
setenv OUTPUT_FILE_ELLIPSOID “+a=6378137.0,+rf=298.257223563”
setenv OUTPUT_FILE_NAME $OUTPUT/ocean_file.ncf
$TIME $EXE
Thanks for your help!