Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TerranonvaEBV
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lq39quba
TerranonvaEBV
Commits
6929805c
Commit
6929805c
authored
2 years ago
by
lq39quba
Browse files
Options
Downloads
Patches
Plain Diff
fix bug: 'other' timestep temporal resolution now written correctly
parent
9b62365c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ebv_metadata_app.R
+4
-1
4 additions, 1 deletion
ebv_metadata_app.R
with
4 additions
and
1 deletion
ebv_metadata_app.R
+
4
−
1
View file @
6929805c
...
...
@@ -897,6 +897,7 @@ server <- function(input, output) {
#temporal resolution
if
(
input
$
temporal_resolution
==
'other'
){
t_res
<-
input
$
temp_res_txt
if
(
!
is.null
(
need
(
input
$
temp_res_txt
!=
''
,
TRUE
))){
to_do_list
<-
c
(
to_do_list
,
'You need to define the temporal resolution.'
)
create
<-
FALSE
...
...
@@ -906,6 +907,8 @@ server <- function(input, output) {
create
<-
FALSE
}
}
}
else
{
t_res
<-
input
$
temporal_resolution
}
#check the input of the irregulare timesteps
...
...
@@ -1050,7 +1053,7 @@ server <- function(input, output) {
"geospatial_lat_units": "'
,
input
$
spatial_units
,
'",
"geospatial_lon_units": "'
,
input
$
spatial_units
,
'",
"time_coverage": {
"time_coverage_resolution": "'
,
input
$
temporal_resolution
,
'",
"time_coverage_resolution": "'
,
t_res
,
'",
"time_coverage_start": "'
,
t_start
,
'",
"time_coverage_end": "'
,
t_end
,
'"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment