Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fvcom-toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
FVCOM
fvcom-toolbox
Commits
871dbe54
Commit
871dbe54
authored
Mar 19, 2015
by
Pierre Cazenave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary function.
parent
9192160b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
fvcom_prepro/generate_mjd.m
fvcom_prepro/generate_mjd.m
+0
-40
No files found.
fvcom_prepro/generate_mjd.m
deleted
100644 → 0
View file @
9192160b
%--------------------------------------------------------------
% dump to netcdf file
%--------------------------------------------------------------
start_day
=
greg2mjulian
(
2007
,
4
,
1
,
1
,
0
,
0
);
end_day
=
greg2mjulian
(
2007
,
7
,
1
,
0
,
0
,
0
);
time
=
start_day
:(
1.
/
24
):
end_day
;
% open boundary forcing
nc
=
netcdf
(
'gom1v10_decelles_2007_time.nc'
,
'clobber'
);
% dimensions
nc
(
'time'
)
=
0
;
% variables
nc
{
'time'
}
=
ncfloat
(
'time'
);
nc
{
'time'
}
.
long_name
=
'time'
;
nc
{
'time'
}
.
units
=
'days since 0.0'
;
nc
{
'time'
}
.
time_zone
=
'none'
;
nc
{
'Itime'
}
=
ncint
(
'time'
);
nc
{
'Itime'
}
.
units
=
'days since 0.0'
;
nc
{
'Itime'
}
.
time_zone
=
'none'
;
nc
{
'Itime2'
}
=
ncint
(
'time'
);
nc
{
'Itime2'
}
.
units
=
'msec since 00:00:00'
;
nc
{
'Itime2'
}
.
time_zone
=
'none'
;
% dump dynamic data
ntimes
=
numel
(
time
);
nc
{
'time'
}(
1
:
ntimes
)
=
time
(
1
:
ntimes
);
nc
{
'Itime'
}(
1
:
ntimes
)
=
floor
(
time
(
1
:
ntimes
));
nc
{
'Itime2'
}(
1
:
ntimes
)
=
mod
(
time
(
1
:
ntimes
),
1
)
*
24
*
3600
*
1000.
;
nc
=
close
(
nc
);
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