Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--enable-mbtrn broken #365

Open
schwehr opened this issue Sep 5, 2019 · 4 comments
Open

--enable-mbtrn broken #365

schwehr opened this issue Sep 5, 2019 · 4 comments

Comments

@schwehr
Copy link
Collaborator

schwehr commented Sep 5, 2019

Sorry for the breakage. I didn't realize that mbtrn is embedded in mb_io.h and used in src/utilities/mbtrnpreprocess.c. I thought src/mbtrn was totally standalone. I'm working on getting it back into shape.

Along with that, there is something wrong with MBF_ELMK2UNB

@schwehr
Copy link
Collaborator Author

schwehr commented Sep 5, 2019

// test/utilities/testdata/mb92/TN136HS.309.snipped.mb92.json2
{
  "file_info": {
    "swath_data_file": "TN136HS.309.snipped.mb92",
    "mbio_data_format_id": "92",
    "format_name": "MBF_ELMK2UNB",
    "informal_description": "Elac BottomChart MkII shallow water multibeam",
    "attributes": "126 beam bathymetry and amplitude,;                      binary, University of New Brunswick."
  },
  "data_totals": {
    "number_of_records": "2"
  },
  "bathymetry_data": {
    "max_beams_per_ping": "0",
    "number_beams": "0",
    "number_good_beams": "0",
    "percent_good_beams": " 0.00",
    "number_zero_beams": "0",
    "percent_zero_beams": " 0.00",
    "number_flagged_beams": "0",
    "percent_flagged_beams": " 0.00"
  },
  "amplitude_data": {
    "max_beams_per_ping": "0",
    "number_beams": "0",
    "number_good_beams": "0",
    "percent_good_beams": "  0.00",
    "number_zero_beams": "0",
    "percent_zero_beams": " 0.00",
    "number_flagged_beams": "0",
    "percent_flagged_beams": " 0.00"
  },
  "sidescan_data": {
    "max_pixels_per_ping": "0",
    "number_of_pixels": "0",
    "number_good_pixels": "0",
    "percent_good_pixels": " 0.00",
    "number_zero_pixels": "0",
    "percent_zero_pixels": " 0.00",
    "number_flagged_pixels": "0",
    "percent_flagged_pixels": " 0.00"
  },
  "navigation_totals": {
    "total_time_hours": "0.0014",
    "total_track_length_km": "73.1796",
    "average_speed_km_per_hr": "52689.2824",
    "average_speed_knots": "28480.6932"
  },
  "start_of_data": {
    "time": "11 05 2001 00:01:44.000000  JD309",
    "time_iso": "2001-11-05T00:01:44.000000",
    "longitude": "0.000000000",
    "latitude": "0.000000000",
    "depth_meters": "0.0000",
    "speed_km_per_hour": "0.0000",
    "speed_knots": "0.0000",
    "heading_degrees": "324.5000",
    "sonar_depth_meters": "0.0000",
    "sonar_altitude_meters": "0.0000"
  },
  "end_of_data": {
    "time": "11 05 2001 00:01:49.000000  JD309",
    "time_iso": "2001-11-05T00:01:49.000000",
    "longitude": "0.000000000",
    "latitude": "0.661812699",
    "depth_meters": "0.0000",
    "speed_km_per_hour": "52689.2403",
    "speed_knots": "28480.6704",
    "heading_degrees": "324.8900",
    "sonar_depth_meters": "0.0000",
    "sonar_altitude_meters": "0.0000"
  },
  "limits": {
    "minimum_longitude": "0.000000000",
    "maximum_longitude": "0.000000000",
    "minimum_latitude": "0.000000000",
    "maximum_latitude": "0.661812699",
    "minimum_sonar_depth": "0.0000",
    "maximum_sonar_depth": "0.0000",
    "minimum_altitude": "0.0000",
    "maximum_altitude": "0.0000"
  }}

schwehr added a commit to schwehr/MB-System that referenced this issue Sep 5, 2019
Something wrong with MBF_ELMK2UNB, so remove the json file.

See dwcaress#365
schwehr added a commit that referenced this issue Sep 5, 2019
Something wrong with MBF_ELMK2UNB, so remove the json file.

See #365
@schwehr
Copy link
Collaborator Author

schwehr commented Jan 5, 2020

Currently, --enable-mbtrn cannot build without --enable-mbtnav. It would be good to have more test configs!

@dwcaress
Copy link
Owner

dwcaress commented Jan 6, 2020 via email

@dwcaress
Copy link
Owner

dwcaress commented Jan 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants