Hi Developers,
Another update on the GeoGateway project. This last week I've been working on
the UAVSAR and Disloc tools. Disloc requires the user to upload an input file
for the disloc.c program, which then outputs another file for further
post-processing. This requires two API endpoints, one for the upload process
and one for running the C code. I used the python module Subprocess to run
disloc.c in the Django backend.
The main things I've completed in the last 2 weeks:
- Added file upload backend
- Fixed KML plugin issues (by switching to GeoJSON for GNSS and GDACS)
- I've found the GeoJSON format to be much easier to work with as
leaflet supports it by default
- conditional feature rendering and filtering on Seismicity tab
- Added backend for disloc upload and C program input
- General styling updates and logic refinements
One thing I've found is that while the tools are modular, the main map Vue
component has quickly become unwieldy and could benefit from further
modularization. I will dedicate some time to splitting its methods into
categories and putting them in an external JS file.
This week I will be reviewing the UAVSAR code from the original GeoGateway and
re-implementing it in the new software stack. This is the largest tool and will
likely require the most time.
You can find my latest commits here:
https://github.com/GeoGateway/geogateway-django-app
Any recommendations are welcome. Thank you for reading.
-Nick
Nicholas Mowery
Student of Computer Science and Philosophy
Undergraduate Research Assistant:
physicell.org<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fphysicell.org%2F&data=02%7C01%7Clgallos%40dimacs.rutgers.edu%7C6bfeedfeb50b4c49b7ea08d7bc5e7282%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C637184986139849090&sdata=oqpo%2B0e20w0STmSKJ3uQgHwF3x9PWfY4jN40xC4Q5%2Fo%3D&reserved=0>
Instructional Technology Consultant | IUB CITL
Indiana University Bloomington