Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #154

Merged
merged 20 commits into from
May 6, 2022
Merged

Dev #154

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ package-lock.json
package.json

# untracked folders
config
data
#config
data
lib/misc/pollyChannelTags.m.bak
lib/visualization/pollyDisplayDRRaman.py.bak
Binary file not shown.
3 changes: 3 additions & 0 deletions doc-auto/source/_static/my_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: none;
}
3 changes: 3 additions & 0 deletions docs/_static/my_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: none;
}
29 changes: 15 additions & 14 deletions include/ceilo_bsc_ModelSonde.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
[filepath,~,~] = fileparts(filename);
filenameList = dir(filename);
if numel(filenameList) == 0
fprintf('gdas File (%s) does not exist.\n', filename);
fprintf('GDAS1 File (%s) does not exist.\n', filename);
return;
end
% filename = [filepath filenameList(1).name];
filename = fullfile(filepath, filenameList(1).name);
fid = fopen(filename);
fid = fopen(filename, 'r');

% if file does not exist or cannot be opened
if fid == -1
Expand All @@ -57,13 +57,14 @@
for k = 1:9
fgetl(fid);
end

% preallocate
pressure = NaN(23,1);
altitude = NaN(23,1);
temperature = NaN(23,1);
relh = NaN(23,1);
wind = NaN(23,1);
wins = NaN(23,1);
pressure = NaN(23, 1);
altitude = NaN(23, 1);
temperature = NaN(23, 1);
relh = NaN(23, 1);
wind = NaN(23, 1);
wins = NaN(23, 1);

% read relevant lines
for k = 1:23
Expand All @@ -79,12 +80,12 @@
fprintf('gdas sonde is defective.\n');
return;
end
pressure(k) = str2double ( line (1:6) );
altitude(k) = str2double ( line (7:12) );
temperature(k) = str2double ( line(13:18) );
relh(k) = str2double ( line(37:42) );
wind(k) = str2double ( line(52:57) );
wins(k) = str2double ( line(58:63) );
pressure(k) = str2double(line (1:6));
altitude(k) = str2double(line (7:12));
temperature(k) = str2double(line(13:18));
relh(k) = str2double(line(37:42));
wind(k) = str2double(line(52:57));
wins(k) = str2double(line(58:63));
end
fclose(fid);

Expand Down
Loading