CSTARS / spatial-cimis

New repository for the DWR Spatial CIMIS program
MIT License
0 stars 1 forks source link

[UCD] g.cimis not executing on incron #84

Closed gjscheer-ucd closed 5 years ago

gjscheer-ucd commented 5 years ago

DWR GOES-S data is now getting pushed to cimis-goes-s.cstars.ucdavis.edu.

Incron is setup for user cimis: /home/cimis/CA IN_MOVED_TO grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=$@/$#" >> ~/logs/g.cimis-goes-solar.log 2>&1

Incron is executing the g.cimis import command but not actually performing the action. None of the command below imported data.

Aug 02 11:54:20 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0346PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 11:59:26 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0351PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 12:04:35 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0356PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 12:09:42 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0401PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 12:14:22 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0406PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 12:19:30 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0411PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)
Aug 02 12:24:11 cimis-goes-s incrond[9786]: (cimis) CMD (grass /home/cimis/gdb/goes17/cimis --exec g.cimis sec=goes cmd=import,solar arg="files=/home/cimis/CA/20190802T0416PST-B2.pgm"  >> ~/logs/g.cimis-goes-solar.log 2>&1)

Manually importing pgm files seems to work.

gjscheer-ucd commented 5 years ago

Incron working now. Resolved.