Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ncdf4Utils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
R
ncdf4Utils
Commits
814f16f7
Commit
814f16f7
authored
Aug 15, 2019
by
Burkhardt Rockel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebuild 3.0.1
parent
42034720
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
R/plotmap.R
R/plotmap.R
+4
-4
No files found.
R/plotmap.R
View file @
814f16f7
...
...
@@ -97,7 +97,7 @@ function(file, sponge=0,
cex.axis
=
1
,
cex.lab
=
1
,
cex.main
=
1
,
cex.txt
=
1
,
main
=
""
,
xlab
=
""
,
ylab
=
""
,
add
=
FALSE
,
colourplot
=
TRUE
,
hires
=
FALSE
,
interior
=
FALSE
,
alt.poli
=
TRUE
,
nlongrid
=
10
,
nlatgrid
=
5
,
lon.ind
,
lat.ind
,
pollonshift
=
TRUE
,
smoothed
=
FALSE
,
geo.coordinate.names
=
c
(
"lon"
,
"lat"
)){
nlongrid
=
10
,
nlatgrid
=
5
,
lon.ind
,
lat.ind
,
pollonshift
=
TRUE
,
smoothed
=
FALSE
,
geo.coordinate.names
=
c
(
"lon"
,
"lat"
)
,
alt.contour
=
FALSE
){
# help variable for the ICON model
icon
<-
FALSE
...
...
@@ -366,7 +366,7 @@ function(file, sponge=0,
}
else
{
lsm
<-
array
(
TRUE
,
dim
(
data
))
}
#
alt.contour <- FALSE
alt.contour
<-
FALSE
}
else
{
nc.lsm
<-
nc_open
(
lsm.file
)
# check for orography and land sea mask data
...
...
@@ -401,11 +401,11 @@ function(file, sponge=0,
lat
<-
array
(
tmp
$
y
,
c
(
nlon
,
nlat
))
}
}
#
if (alt.contour & any(names(nc.lsm$var) == lsm.name)){
if
(
alt.contour
&
any
(
names
(
nc.lsm
$
var
)
==
lsm.name
)){
if
(
any
(
names
(
nc.lsm
$
var
)
==
lsm.name
)){
alt
<-
ncvar_get
(
nc.lsm
,
lsm.name
)
}
#
}
}
}
nc_close
(
nc.lsm
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment