... | ... | @@ -6,7 +6,6 @@ This page provides information about Morocco, its regions and the grids used for |
|
|
|
|
|
- file location : /home/marie/nextCloud/Documents/lpjml5_maroc/python_toolbox/region_maroc/Maroc30_regions.nc
|
|
|
- file structure : \[latitude,longitude,region(str)\]
|
|
|
-
|
|
|
|
|
|
```
|
|
|
nc = Dataset("/home/marie/nextCloud/Documents/lpjml5_maroc/python_toolbox/region_maroc/Maroc30_regions.nc", mode='r')
|
... | ... | @@ -14,6 +13,10 @@ lat_maroc = nc.variables["latitude"][:] |
|
|
lon_maroc = nc.variables["longitude"][:]
|
|
|
regions_maroc = nc.variables["region"][:]
|
|
|
nc.close()
|
|
|
region_list = np.asarray(["Al Hoceima","Oriental","Fes-Meknes","Rabat-Kenitra",
|
|
|
"B-M-Khenifra","Casablanca-Settat","Marrakch-Safi",
|
|
|
"Draa-Tafilalet","Souss-Massa","G-Oued Noun",
|
|
|
"Sakia El Hamra","Oued Eddahab"])
|
|
|
```
|
|
|
|
|
|
# temporal list of grid cell
|
... | ... | |