Learning about "gie", a CLI tool for Geographic information Framework (PROJ) validation

 I recently happened across "gie" (a.k.a. "Geospatial Integrity Investigation Environment").

See below for a AI-generated sample use-case. This example was generated using the mods CLI tool from Charm. The LLM backend used in this example is gpt-4o.

 mods -f 'show an example of using the CLI "gie" tool for proj validation

 The "gie" command-line tool is used to validate transformations and commands 
 defined in the Geographic Information Framework (PROJ). Here's an example of  
 how to use the "gie" tool for proj validation:                               
                                                                              
 ### Step-by-Step Example                                                     
                                                                              
 1. Create a GIE File:                                                        
   • Write a GIE script that specifies the transformation you want to          
   validate. Save it as  example.gie .                                        
                                                                              
   <gie>                                                                      
   operation +proj=merc +lat_ts=56.5                                          
   coordinate 12dE 56dN                                                       
   expect    1335833.89       7514065.63                                      
                                                                              
   operation +proj=utm +zone=33 +ellps=WGS84                                  
   coordinate 12dE 56dN                                                       
   expect    500000           6219671.61                                      

                                                                              
 2. Run the GIE Command:                                                      
   • Open your terminal.                                                      
   • Navigate to the directory where the  example.gie  file is located.        
   • Run the validation using the  gie  tool.                                 
                                                                              
   gie example.gie                                                            
                                                                              
 3. Interpret the Output:                                                     
   • The  gie  tool will read the script and execute the transformations.     
   • It will compare the actual output with the expected output mentioned in  
   the  expect  lines.                                                        
   • If the actual results match the expectations, the tool will confirm the   
   validation.                                                                
   • Any discrepancies will be shown in the output for further investigation. 
                                                                              
                                                                              
 This example uses two different operations to transform geographical          
 coordinates and verify that the results are as expected. Adjust the          
 operation ,  coordinate , and  expect  lines according to your specific       
 validation needs.         
                                                   


Conversation saved:  9dc63cb  show an example of using the CLI "gie" tool for proj validation

PFun Fiona, AI-MD

 A sneak peek of PFun Fiona, AI-MD-- the one-and-only Physiofunctional Digital Health Assistant.



 

 

 

 

 

 

 

 

 

 

 

Click to learn more about PFun Digital Health.

For fun!

 


Messing around with music & stuff

(Updated: 2023-05-16)

I've been messing around with the read/write methods in scipy.io.wavfile to make some "music" using the output of some of my biophysical models.

Example 1

So for example, here's some simulation output with an audio track (caution, may be loud):


So another interesting point... these sounds can be parametrized...

Example 2

Here's another example with different parameters (again, caution of loudness):


So as you can see, there's a wide range of different sound patterns that can be produced, even with just this one model.

Next Steps...

I'm thinking I'll make a public API at some point in the near future so you can make your own physiological music... 😉


Update!

Some new examples... with rhythm!

Thanks to my friend's sage advice, here are a few examples with a subset of parameters mapped to band pass filters.

Example 2-0

We can get some rhythm by utilizing a binary column as a low-pass filter...

Example 2-1

Example 2-2

Here's another with a few different band-pass filters that produces an interesting pattern...





Featured

Physiofunctional circadian metabolism...

PFun Glucose Demo Interactive simulation of circadian-ultradian glucose dynamics (over a 24-hour period) A ...