File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed 
docs/sphinx/source/whatsnew Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Bug fixes
7575  floats and NumPy arrays. (:issue: `508 `)
7676* Make GitHub recognize the license, add AUTHORS.md, clarify shared copyright.
7777  (:issue: `503 `)
78+ * Fix argument order of longitude and latitude when querying weather forecasts by lonlat bounding box (:issue: `521 `)
7879
7980
8081Documentation
Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ def set_query_latlon(self):
174174                isinstance (self .latitude , list )):
175175            self .lbox  =  True 
176176            # west, east, south, north 
177-             self .query .lonlat_box (self .latitude [0 ], self .latitude [1 ],
178-                                   self .longitude [0 ], self .longitude [1 ])
177+             self .query .lonlat_box (self .longitude [0 ], self .longitude [1 ],
178+                                   self .latitude [0 ], self .latitude [1 ])
179179        else :
180180            self .lbox  =  False 
181181            self .query .lonlat_point (self .longitude , self .latitude )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments