Comments (8)
Great point. The first thing that comes to mind is optionally writing a separate JSON file for every image file that contains all the LRIT headers verbatim. EXIF is not an option because OpenCV doesn't support it. Also EXIF would only apply to JPEG files and not PNGs, PGMs, etc.
from goestools.
a JSON file per image sounds perfect, too!
from goestools.
@eminence Check out the linked commit. Make sure to set json = true
for every handler where you want a header written as JSON file. This is still a bit clunky in my opinion, but it does the job, and done is better than perfect. Let me know what you think. And if we come up with a better solution we can always change of course.
from goestools.
Example JSON: https://gist.github.com/pietern/842202a5464cb4523e94b253dfa0415f
from goestools.
Following up on this after a long winter hiatus. This new feature is working great, thank you! Using the ImageNavagation
header I can run my own projections to figure out what cities and states are included in an image (and thank you for the well-written comment about the projection in map_drawer.cc).
I'm curious about the Table
structure. Can you point me in the direction of some documentation that might describe what this table is used for?
from goestools.
Thanks for the feedback. Glad to hear it's working for you.
Can you share a demo of where/how you're using it?
The Table
in the ImageDataFunction
is a mapping of the 8 bit integer pixel values to the values in the underlying measurement system. It depends on the channel what you're looking at. These values are what's used for the gradient mapping, so you can express the colors gradient in Kelvin, and not worry how they are mapped to the pixel values.
from goestools.
You can search for "image data function" in the LRIT specs (for example here) for more info.
from goestools.
Thanks for the tips about the image data function info, I'll take a look
Can you share a demo of where/how you're using it?
Sure! It's being used for a personal dashboard I wrote to give me a quick interface to the images produced by goesproc. https://goes.em32.net/ In the "Latest GOES-16 section" you can see that some images are labeled with some of the cites in view, and this was calculated using the ImageNavigation data from the json files
from goestools.
Related Issues (20)
- Error: no configuration file specified HOT 1
- Cannot start goesrecv (std::runtime_error)
- Unstable frequency HOT 1
- Raspberry pi3 install not working HOT 1
- Can not build on Ubuntu 22 HOT 2
- fatal error: proj_api.h: No such file or directory HOT 3
- Himawari 9 Product ID has been agreed to remain as 43 HOT 1
- Illegal instruction HOT 6
- goestools configuration utility
- Reading packets from a publisher (how to) HOT 1
- Linux Raspbian os for x86 epoch time is off for emwin
- EMWIN date always 12 -31 -1969 HOT 7
- fatal error: proj_api.h: No such file or directory Ubuntu server 22.04 LTS HOT 3
- Interest in a DAMSNT service being added to the project? HOT 1
- Receiving Images from GOES-16 while pointed at GOES-18
- Receiving Images from GOES-16 while pointed at GOES-18 HOT 2
- Cannot build with PROJ 8 HOT 1
- Goestools / Raspbian memory usage HOT 1
- Not receiving Dsi in non-cmip
- High Vit after RPI rebuild. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goestools.