metno / esd

An R-package designed for climate and weather data analysis, empirical-statistical downscaling, and visualisation.
87 stars 30 forks source link

map.station - add.text #156

Closed brasmus closed 8 years ago

brasmus commented 8 years ago

The text seems to

screenshot from 2016-01-29 13 29 49

Exampls: sea level from GLOSS:

> Y <- station.gloss()
> map(Y,FUN='trend',colbar=list(breaks=seq(-50,50,by=5)),add.text=TRUE)
> loc(Y)
  [1] "ABIDJA"                       "ABURATSU"                    
  [3] "ACAJUTLA"                     "ACAPULCO"                    
  [5] "ADAK/SWEEPER COV"             "ADEN"                        
  [7] "AKYA"                         "ALER"                        
  [9] "ANTOFAGAST"                   "ARGENTINE ISLAND"            
 [11] "ATLANTIC CIT"                 "AUCKLAND I"                  
 [13] "AUCKLAND-WAITEMATA HARBOUR"   "BALBOA"                      
 [15] "BALTRA-B"                     "BARENTSBUR"                  
 [17] "BLUFF (SOUTHLAND HARBOUR"     "BRES"                        
 [19] "BRISBANE (WEST INNER BAR"     "BUENAVENTURA"                
 [21] "BUNDABER"                     "CABO SAN LUCAS"              
 [23] "CANANEIA"                     "CANTON ISLAN"                
 [25] "CARTAGEN"                     "CASCAI"                      
 [27] "CENDERIN"                     "CEUT"                        
 [29] "CHRISTMAS ISLAND"             "CHRISTMAS ISLAND I"          
 [31] "COCHIN (WILLINGDON IS."       "COCO SOL"                    
 [33] "DAKA"                         "DALIAN"                      
 [35] "DAVAO, DAVAO GUL"             "DUCK PIER OUTSID"            
 [37] "DURBAN"                       "EASTER ISLAND-"              
 [39] "ENIWETOK"                     "ESPERANZ"                    
 [41] "FANNING-"                     "FORT PULASKI"                
 [43] "FRENCH FRIGATE SHOAL"         "FUNAFUTI"                    
 [45] "FUNCHA"                       "GALVESTON "                  
 [47] "GALVESTON II"                 "GIBRALTA"                    
 [49] "GOTEBORG - TORSHAMNE"         "GUADALUPE ISLAND I"          
 [51] "GUAM"                         "HAKODATE I"                  
 [53] "HAKODATE I"                   "HALIFA"                      
 [55] "HAULOVER PIE"                 "HILO, HAWAII ISLAN"          
 [57] "HONIARA II"                   "HONNINGSVA"                  
 [59] "HONOLULU"                     "JOHNSTON ISLAN"              
 [61] "JOLO, SULU"                   "KALININGRA"                  
 [63] "KANMEN"                       "KANTON ISLAND-"              
 [65] "KAPINGAMARANGI"               "KARACHI, MANORA ISLAND"      
 [67] "KEPPEL HARBOUR"               "KEY WEST"                    
 [69] "KO LAK"                       "KO TAPHAO NO"                
 [71] "KUSHIMOT"                     "KUSHIR"                      
 [73] "KWAJALEI"                     "LA CORUNA "                  
 [75] "LA CORUNA II"                 "LA JOLLA (SCRIPPS PIER"      
 [77] "LA LIBERTA"                   "LA LIBERTAD II"              
 [79] "LAS PALMAS, PUERTO DE LA LUZ" "LEGASPI, ALBAY"              
 [81] "LERWIC"                       "LORD HOWE ISLAND"            
 [83] "LUMU"                         "LUSI"                        
 [85] "MADRAS"                       "MAJURO-B"                    
 [87] "MALAKA"                       "MALIN HEAD"                  
 [89] "MALO"                         "MANILA, S. HARBO"            
 [91] "MANZANILLO"                   "MAR DEL PLATA (CLUB)"        
 [93] "MAR DEL PLATA (PUERTO)"       "MARMAGAO"                    
 [95] "MARSEILL"                     "MASSACRE BAY"                
 [97] "MERA"                         "MIDWAY ISLAN"                
 [99] "MONTEVIDEO (PUNTA LOBOS)"     "MOULMEIN"                    
[101] "MURMANSK"                     "NAGAEV"                      
[103] "NAGASAKI"                     "NAHA"                        
[105] "NAIN"                         "NAUR"                        
[107] "NEWLYN"                       "NEWPOR"                      
[109] "NORTH POIN"                   "NOSY-B"                      
[111] "NOUMEA"                       "NOUMEA I"                    
[113] "NUKU HIV"                     "OFUNATO "                    
[115] "OFUNATO II"                   "PAGO PAG"                    
[117] "PAPEETE-"                     "PENRHY"                      
[119] "PENSACOL"                     "PETROPAVLOVSK-KAMCHATSKY"    
[121] "POHNPEI-"                     "POINTE DES GALET"            
[123] "POINTE NOIRE"                 "PORT AU PRINCE"              
[125] "PORT BLAIR"                   "PORT ELIZABETH"              
[127] "PORT HEDLAND"                 "PORT LOUIS"                  
[129] "PORT LOUIS I"                 "PORT OF SPAI"                
[131] "PORT ROYAL"                   "PRINCE RUPER"                
[133] "PROGRESO"                     "PUERTO ANGEL"                
[135] "PUERTO DESEADO"               "PUERTO MADRY"                
[137] "PUERTO MONTT"                 "PUSA"                        
[139] "QUEPOS"                       "QUI-NHON"                    
[141] "RABAUL"                       "RAROTONG"                    
[143] "REYKJAVI"                     "RIKITE"                      
[145] "RORVIK"                       "RUSSKAYA GAVAN"              
[147] "SAIPAN"                       "SAND POINT"                  
[149] "SAN FRANCISC"                 "SAN JUAN"                    
[151] "SANTAN"                       "SETTLEMENT POINT"            
[153] "SEWARD"                       "SIMONS BAY"                  
[155] "SITK"                         "SOUTH BEAC"                  
[157] "ST. GEORGE"                   "ST. JOHN'S, NFLD"            
[159] "STORNOWA"                     "SYDNEY, FORT DENISON"        
[161] "TANJONG PAGA"                 "TARAWA-A,BETIO"              
[163] "TARAWA-B,BAIRIKI"             "TARAWA-C,BETIO"              
[165] "TEMA"                         "THEVENAR"                    
[167] "TOFINO"                       "TORSHAVN"                    
[169] "TOWNSVILLE I"                 "TRUK, MOEN ISLAN"            
[171] "TUAPSE"                       "TUMACO"                      
[173] "UNALASKA"                     "USHUAIA "                    
[175] "USHUAIA II"                   "VALPARAISO"                  
[177] "VENTNOR CITY"                 "VERACRUZ"                    
[179] "VERAVA"                       "VICTORIA DOC"                
[181] "VISHAKHAPATNAM"               "WAKE ISLAN"                  
[183] "WALVIS BAY"                   "WELLINGTON HARBOUR"          
[185] "WELLINGTON I"                 "WONSAN"                      
[187] "XIAMEN"                       "YA"                          
[189] "YUZHNO KURILSK"               "ZANZIBAR"                    
[191] "ZHAP"                        
abdelkaderm commented 8 years ago

Hi there, I think that you have some problems with the stations' coordinates. Plz check that you do not have duplicated coordinates in the data. Bests,