IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2018, 11:39:29 AM (8 years ago)
Author:
eugene
Message:

add option to accept motions from incoming dvo database; respect -region in avextract, mextract, avperiodogram

Location:
trunk/Ohana/src/opihi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/write_vectors.c

    r40291 r40574  
    271271    gprint (GP_ERR, "      J : 4 byte int\n");   
    272272    gprint (GP_ERR, "      K : 8 byte int\n");   
    273     gprint (GP_ERR, "      D : 4 byte float\n");   
    274     gprint (GP_ERR, "      E : 8 byte float\n");   
     273    gprint (GP_ERR, "      E : 4 byte float\n");   
     274    gprint (GP_ERR, "      D : 8 byte float\n");   
    275275    gprint (GP_ERR, "   -h : this help listing\n");
    276276    gprint (GP_ERR, "   --h : this help listing\n");
  • trunk/Ohana/src/opihi/dvo/avextract.c

    r39574 r40574  
    137137  // this does all the work of re-packaging the command, calling it on the remote machines, then loading in the results
    138138  if (PARALLEL && !HOST_ID) {
     139
     140    if (!SetSkyRegions (selection)) {
     141      FreeSkyRegionSelection (selection);
     142      dbFreeFields (fields, Nfields);
     143      dvo_catalog_free (&catalog);
     144      goto help;
     145    }
     146
    139147    int status = HostTableParallelOps (skylist, argc, argv, RESULT_FILE, TRUE, 0, VERBOSE);
    140148
  • trunk/Ohana/src/opihi/dvo/avperiodogram.c

    r40408 r40574  
    5151  // the result files are left behind for the user to access (no automatic re-merge)
    5252  if (PARALLEL && !HOST_ID) {
     53
     54    // check for -region and apply to current sky region
     55    if (!SetSkyRegions (selection)) {
     56      FreeSkyRegionSelection (selection);
     57      dbFreeFields (fields, Nfields);
     58      goto help;
     59    }
     60
    5361    int status = HostTableParallelOps (skylist, argc, argv, NULL, FALSE, 0, VERBOSE);
    5462    SkyListFree (skylist);
  • trunk/Ohana/src/opihi/dvo/mextract.c

    r39569 r40574  
    143143  // this does all the work of re-packaging the command, calling it on the remote machines, then loading in the results
    144144  if (PARALLEL && !HOST_ID) {
     145
     146    // check for -region and apply to current sky region
     147    if (!SetSkyRegions (selection)) {
     148      FreeSkyRegionSelection (selection);
     149      dbFreeFields (fields, Nfields);
     150      dvo_catalog_free (&catalog);
     151      goto help;
     152    }
    145153
    146154    // Image Metadata for remote queries:
  • trunk/Ohana/src/opihi/lib.shell/parse.c

    r40330 r40574  
    291291    val = dvomath (1, &L, &size, -1);
    292292    if (val == NULL) {
     293      gprint (GP_ERR, "cannot evaluate expression in brackets: %s\n", L);
    293294      print_error ();
    294295      goto error;
Note: See TracChangeset for help on using the changeset viewer.