mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-10-31 01:57:54 +00:00 
			
		
		
		
	add location metadata
This commit is contained in:
		| @@ -4,8 +4,12 @@ | |||||||
|             "uid": "Site A", |             "uid": "Site A", | ||||||
|             "type": "Transceiver", |             "type": "Transceiver", | ||||||
|             "metadata": { |             "metadata": { | ||||||
|                 "latitude": 0, |                 "location": { | ||||||
|                 "longitude": 0 |                     "city": "Site A", | ||||||
|  |                     "region": "", | ||||||
|  |                     "latitude": 0, | ||||||
|  |                     "longitude": 0 | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
| @@ -19,8 +23,11 @@ | |||||||
| 		"gamma": 1.27E-3 | 		"gamma": 1.27E-3 | ||||||
|             }, |             }, | ||||||
|             "metadata": { |             "metadata": { | ||||||
|                 "latitude": 1, |                 "location": { | ||||||
|                 "longitude": 0 |                     "region": "", | ||||||
|  |                     "latitude": 1, | ||||||
|  |                     "longitude": 0 | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
| @@ -32,16 +39,23 @@ | |||||||
|             }, |             }, | ||||||
|             "config_from_json": "edfa_config.json", |             "config_from_json": "edfa_config.json", | ||||||
|             "metadata": { |             "metadata": { | ||||||
|                 "latitude": 2, |                 "location": { | ||||||
|                 "longitude": 0 |                     "region": "", | ||||||
|  |                     "latitude": 2, | ||||||
|  |                     "longitude": 0 | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "uid": "Site B", |             "uid": "Site B", | ||||||
|             "type": "Transceiver", |             "type": "Transceiver", | ||||||
|             "metadata": { |             "metadata": { | ||||||
|                 "latitude": 3, |                 "location": { | ||||||
|                 "longitude": 0 |                     "city": "Site B", | ||||||
|  |                     "region": "", | ||||||
|  |                     "latitude": 3, | ||||||
|  |                     "longitude": 0 | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 James Powell
					James Powell