IPB

Welcome Guest ( Log In | Register )

What to do after the closure of Midnight Mars Browser?
paraisosdelsiste...
post Nov 30 2019, 04:59 PM
Post #1


Member
***

Group: Members
Posts: 112
Joined: 20-August 12
From: Spain
Member No.: 6597



I've been a heavy user of Midnight Mars Browser for several years and I'm incredibly grateful for the work that Michael has done.

Now I ask myself, should we create again an alternative way to look and search for images coming from Mars? In the last several months I developed a way to ingest InSight images in order to have a small database and a telegram bot that tells me when a new image is uploaded to the InSight web site and I can try to do the same with the MSL imagery.

But, I have several questions: What is the better way to show the data in the web page? Which is the best way to order the images?

I'd love to hear some suggestions for that.

Greetings.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
nogal
post Oct 31 2020, 12:54 AM
Post #2


Member
***

Group: Members
Posts: 897
Joined: 15-June 09
From: Lisbon, Portugal
Member No.: 4824



Here is an improved (I hope!) version of my MSL Image Viewer. Still work in progress so, for the time being, I'll continue to distribute it here. Having been on vacation last week I only had time to implement part of your suggestions - thank you all for those.

To install, download the zip file to your favourite location and unzip it. You should see the following 5 files:
  • MSLImageViewer.html - the main page and the only one you should call;
  • MSLImageDisplay.html - called from the main page to display a single image in large format, with associated information ;
  • MSLImageUrlList.html - called from the main page to display a list of URLs of the currently selected (visible) images ;
  • MSLImageViewer.css - Cascading Style Sheets for the project ;
  • MSLImageViewer.js - JavaScript code for the project.
I made a general review of the code to make it more robust and changed the layout a bit (it is stable now).

Opening the MSLImageDisplay.html page automatically loads the images (in small format) of the most recent sol. Below the header, on the left, there is a bar with several sections: a sol navigator, sol statistics, image filters, and option selectors. To its right lies the images area.

The sol navigator has:
  • two buttons to move to the previous or the next sol that has images - sols with zero images are skipped over. "First sol" and "Last sol" stoppers are dynamically generated. Buttons are accordingly disabled.
  • an input field to directly go to any sol - if the sol does not exist or has no images a message is issued and the sol does not change.
Below the navigator there is a panel with a few statistics for the sol.

Next comes the image filters panel. Those are grouped into two categories: cameras (mastcam, chemcam, hazard, etc.) and image types (full, subframe, etc.). Only the entries that exist on the sol are shown. It is now possible to select one or more entries in each category. Entries in the same category are ORed and the two categories and ANDed. For instance, select all Front Haz Right and Left cams but only for full frame images. "Show all" and "Hide all" buttons per category provide shortcuts.

These filters are "sticky". When you move from sol to sol only the categories that were previously selected will be shown - until you change them. But note that all the images for the sol will still be loaded. Having selected (or deselected) a category that does exist on the new sol does not cause an error.

Entries are selected by toggle buttons. A green or red rim indicates whether the filter is active or not.
The option selectors panel currently contains just one button. The "List URLs (of visible images)" button opens a new page with the list of full URLs of the images that are currently visible. The page has a "Copy to the clipboard" button.
The page's right side contains the sol's images. Place the mouse over an image to reveal the image's full URL.

Clicking on an image opens it in a new page and shows the associated information. Images are shown at their natural size, if they fit the screen, otherwise they will be reduced to fit. From this page you can load the previous or the next image. Any number of such pages can be simultaneously open, allowing, for instance, to compare the images.

In addition to the suggestions I did not have the time to implement I have other ideas. For instance, highlighting the recent images.
But what is recent? 24h? 48h? 1 week? Please tell me your opinion. It is very easy to highlight recently added images for a specific sol. But finding all recently added images implies going through the json files for all sols. This takes time and uses network and should perhaps be implemented as an on-demand process (this is the drawback of a client-side, versus server-side, implementation).

Your feedback is requested and most welcome. Sorry for the long post.
Fernando
EDIT: the attachment has been removed. A new version, supporting more functions, is available. See post #56
Go to the top of the page
 
+Quote Post

Posts in this topic
- paraisosdelsistemasolar   What to do after the closure of Midnight Mars Browser?   Nov 30 2019, 04:59 PM
- - Phil Stooke   I would suggest something that resembles the struc...   Dec 5 2019, 05:20 AM
|- - PaulH51   QUOTE (Phil Stooke @ Dec 5 2019, 01:20 PM...   Dec 6 2019, 12:59 AM
- - fredk   In addition to ordering by sols, ideally a page wo...   Dec 7 2019, 03:46 PM
- - charborob   Would it be very complicated to implement a functi...   Dec 7 2019, 10:07 PM
- - fredk   That would be a great feature to have. It would b...   Dec 7 2019, 10:52 PM
- - paraisosdelsistemasolar   Thanks for all the suggestions!, I'm thin...   Dec 8 2019, 08:28 AM
- - charborob   To reduce the need for server space, I was thinkin...   Dec 8 2019, 11:37 PM
- - fredk   It would still be nice to have at least deBayered ...   Dec 9 2019, 05:25 AM
- - paraisosdelsistemasolar   At this point I don't have any limitations reg...   Dec 9 2019, 07:23 AM
- - atomoid   I was hoping Midnight Planets / MMB could be branc...   Dec 24 2019, 01:47 AM
- - paraisosdelsistemasolar   Sorry for the delay, We have had some rough weeks...   Dec 24 2019, 06:04 PM
- - Sean   Looking forward to this! Thanks for putting ti...   Dec 28 2019, 04:01 PM
- - paraisosdelsistemasolar   Hi to everybody, Sorry again for the delay, but I...   Dec 29 2019, 09:37 PM
- - phase4   Hey all, I wrote a basic Navcam viewer that reads...   Jan 7 2020, 12:16 AM
|- - paraisosdelsistemasolar   Wow Rob, I really liked your panorama viewer! ...   Jan 7 2020, 03:26 PM
|- - nogal   QUOTE (phase4 @ Jan 7 2020, 12:16 AM) Hey...   Jan 8 2020, 10:20 PM
- - atomoid   Yes, many thanks for this, its very nice! and ...   Jan 8 2020, 01:21 AM
- - Sean   Rob! This. Is. Awesome!!! Than...   Jan 8 2020, 12:12 PM
- - atomoid   So I went sol-searching for the intent of coding s...   Jan 8 2020, 10:41 PM
- - charborob   Paraisos, if I may formulate another request for y...   Jan 9 2020, 11:18 AM
- - phase4   Hey everyone, you are welcome to visit the latest ...   Jun 9 2020, 11:51 AM
|- - nogal   Rob, This is excellent! I haven't yet tri...   Jun 9 2020, 12:20 PM
|- - phase4   QUOTE (nogal @ Jun 9 2020, 02:20 PM) but ...   Jun 9 2020, 01:57 PM
- - atomoid   Very nice work! your project is really coming ...   Jun 9 2020, 11:59 PM
- - Sean   Fantastic work Rob, this is a super useful resourc...   Jun 10 2020, 09:16 AM
- - phase4   Thank you all! @atomoid, There’s no alg...   Jun 12 2020, 10:31 AM
- - atomoid   oh boy somebody's got their work cut out for t...   Jun 15 2020, 11:32 PM
- - phase4   Hey all, two extra features are added to Marslife....   Jul 13 2020, 12:25 PM
|- - PaulH51   QUOTE (phase4 @ Jul 13 2020, 08:25 PM) - ...   Jul 13 2020, 02:42 PM
- - phase4   Apologies, I'm fairly new to Twitter. This is ...   Jul 13 2020, 02:51 PM
- - htspace   Thank you!   Aug 8 2020, 02:16 AM
- - Ant103   This is a great way to view pictures from MSL ...   Oct 10 2020, 08:45 AM
- - Phil Stooke   Agreed. Something with the look and feel of Midni...   Oct 11 2020, 08:08 AM
- - PaulH51   Like Phil I'm slowly getting used to the new p...   Oct 11 2020, 08:42 AM
- - Ant103   QUOTE (Phil Stooke @ Oct 11 2020, 10:08 A...   Oct 12 2020, 09:43 AM
- - nogal   Hi everyone! Here is a prototype for a Curiosi...   Oct 14 2020, 04:55 PM
|- - djellison   QUOTE (nogal @ Oct 14 2020, 08:55 AM) Hi ...   Oct 14 2020, 08:27 PM
|- - nogal   Many thanks Doug, for your comments and encouragem...   Oct 14 2020, 09:06 PM
|- - fredk   QUOTE (djellison @ Oct 14 2020, 09:27 PM)...   Oct 14 2020, 09:16 PM
||- - djellison   QUOTE (fredk @ Oct 14 2020, 01:16 PM) , I...   Oct 15 2020, 03:36 PM
|||- - nogal   QUOTE (djellison @ Oct 15 2020, 04:36 PM)...   Oct 15 2020, 03:54 PM
||- - nogal   QUOTE (fredk @ Oct 14 2020, 09:16 PM) On ...   Nov 11 2020, 06:02 PM
||- - fredk   QUOTE (nogal @ Nov 11 2020, 07:02 PM) I f...   Nov 11 2020, 06:53 PM
|- - nogal   QUOTE (djellison @ Oct 14 2020, 08:27 PM)...   Nov 11 2020, 05:49 PM
|- - fredk   QUOTE (nogal @ Nov 11 2020, 06:49 PM) Whe...   Nov 11 2020, 06:37 PM
|- - nogal   QUOTE (fredk @ Nov 11 2020, 06:37 PM) I t...   Nov 13 2020, 12:36 AM
- - fredk   Nice, Fernando! I'm not sure what you mea...   Oct 14 2020, 07:39 PM
|- - nogal   Thank you so much fredk ! I like the suggesti...   Oct 14 2020, 08:02 PM
- - Ant103   That IS really nice ! Already handier than the...   Oct 15 2020, 10:33 AM
|- - nogal   Merci beaucoup Damia! For your encouragement ...   Oct 15 2020, 01:54 PM
- - fredk   I've been parsing the MSL json files into html...   Oct 28 2020, 11:47 PM
|- - nogal   QUOTE (fredk @ Oct 29 2020, 12:47 AM) ......   Oct 30 2020, 12:42 AM
- - PaulH51   Viewed on my Mobile phone and impressed Looking f...   Oct 29 2020, 02:37 AM
- - fredk   Thanks, Paul. Sorry my site's not small-scree...   Oct 29 2020, 02:33 PM
- - Ant103   This. Is. AWESOME ! It's fast, it's...   Oct 30 2020, 09:49 AM
- - Phil Stooke   Yes, I really like this. Phil   Oct 30 2020, 07:01 PM
- - fredk   Thanks, guys. I hope to improve the deBayering st...   Oct 30 2020, 11:35 PM
- - nogal   Here is an improved (I hope!) version of my MS...   Oct 31 2020, 12:54 AM
- - fredk   I've improved the deBayering on my site http:/...   Nov 10 2020, 08:13 PM
- - nogal   I am releasing a few additional functions for the ...   Nov 11 2020, 05:37 PM
- - phase4   Small update to Marslife.org. The sun, earth and ...   Nov 24 2020, 10:31 PM
- - djellison   Just a thought - Are you using just the left-eye i...   Dec 11 2020, 12:07 AM
|- - phase4   Thank you Doug! You are right, the website us...   Dec 11 2020, 12:19 PM
- - djellison   So - here's the trick. We will never take a l...   Dec 11 2020, 08:19 PM
- - fredk   There's another good reason to use the right n...   Dec 11 2020, 10:24 PM
- - phase4   A new option has been added to the Marslife websit...   Dec 13 2020, 05:12 PM
- - phase4   Not sure where this will lead to but I've had ...   Feb 2 2021, 11:47 AM
|- - mcaplinger   QUOTE (phase4 @ Feb 2 2021, 03:47 AM) To ...   Feb 2 2021, 05:19 PM
|- - fredk   QUOTE (mcaplinger @ Feb 2 2021, 06:19 PM)...   Feb 2 2021, 10:14 PM
|- - phase4   QUOTE (mcaplinger @ Feb 2 2021, 06:19 PM)...   Feb 3 2021, 03:14 PM
- - phase4   Hey all, I've build a first preview of the Ma...   Feb 4 2021, 04:41 PM
- - charborob   It doesn't seem to work in Firefox 78.7.0esr (...   Feb 4 2021, 06:19 PM
|- - phase4   QUOTE (charborob @ Feb 4 2021, 07:19 PM) ...   Feb 4 2021, 07:13 PM
- - charborob   Fredk, when I click on the sol 3027 link in your M...   Feb 10 2021, 03:13 PM
- - phase4   Big mastcam update! Still a work in progress, ...   Feb 10 2021, 05:00 PM
|- - Sean   I will be running out of superlatives soon! E...   Feb 11 2021, 11:33 PM
- - djellison   This new preview build is epic - I dropped a quick...   Feb 12 2021, 03:00 AM
|- - phase4   Thank you both! Much obliged Doug for showing...   Feb 12 2021, 08:12 PM
- - phase4   While the new rover is drawing all the attention I...   Feb 16 2021, 09:01 PM
- - fredk   This is really nice. Just a couple of comments: ...   Feb 17 2021, 11:18 PM
|- - phase4   QUOTE (fredk @ Feb 18 2021, 12:18 AM) Is ...   Feb 18 2021, 09:37 AM
|- - nogal   QUOTE (fredk @ Feb 17 2021, 11:18 PM) Of ...   Feb 18 2021, 01:24 PM
- - Phil Stooke   I had noted images on the raw image page being ass...   Feb 24 2021, 02:56 AM
|- - PaulH51   QUOTE (Phil Stooke @ Feb 24 2021, 10:56 A...   Feb 25 2021, 07:32 AM
- - nprev   Several posts moved to the new Perseverance Imager...   Feb 25 2021, 03:59 AM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 10th May 2024 - 09:29 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.