Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Python_ToolBox
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Snippets
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marie Brunel
Python_ToolBox
Wiki
Morocco
Changes
Page history
New page
Templates
Clone repository
Update Morocco
authored
3 years ago
by
Marie Brunel
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Morocco.md
+4
-1
4 additions, 1 deletion
Morocco.md
with
4 additions
and
1 deletion
Morocco.md
View page @
35769674
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.