Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solvers-acuk-m
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Takhir Fakhrutdinov
solvers-acuk-m
Commits
197b3184
Commit
197b3184
authored
Oct 05, 2022
by
Takhir Fakhrutdinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Уменьшили точность eop-json
parent
d448cf93
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
eopfile.py
fte/lib/libpy/parsers/eopfile.py
+8
-6
xFile.py
fte/lib/libpy/xFile.py
+2
-0
No files found.
fte/lib/libpy/parsers/eopfile.py
View file @
197b3184
...
...
@@ -8,15 +8,17 @@ from collections import namedtuple
logger
=
logging
.
getLogger
()
track_list
=
{
'sigma'
:
float
,
'distrust'
:
bool
,
'fake'
:
bool
}
bind_list
=
{
'time'
:
float
,
'id'
:
int
,
'along'
:
float
,
'across'
:
float
,
'dmag'
:
float
}
real
=
lambda
x
:
round
(
float
(
x
),
6
)
track_list
=
{
'sigma'
:
real
,
'distrust'
:
bool
,
'fake'
:
bool
}
bind_list
=
{
'time'
:
real
,
'id'
:
int
,
'along'
:
real
,
'across'
:
real
,
'dmag'
:
real
}
meas_list
=
{
'ra_j2000'
:
float
,
'dec_j2000'
:
float
,
'mag'
:
float
,
'ra_j2000_full_error'
:
float
,
'dec_j2000_full_error'
:
float
,
'mag_error'
:
float
,}
eop_list
=
{
'ra_j2000_error'
:
float
,
'dec_j2000_error'
:
float
,
'x'
:
float
,
'x_error'
:
float
,
'y'
:
float
,
'y_error'
:
float
,
'fwhm_x'
:
float
,
'fwhm_x_error'
:
float
,
'fwhm_y'
:
float
,
'fwhm_y_error'
:
float
,
'rot'
:
float
,
'snr'
:
float
,
'peak_snr'
:
float
,
'flux'
:
float
,
'ins_mag'
:
float
,
'aper_width'
:
float
,
'aper_height'
:
float
,
'channel'
:
floa
t
,
'filter'
:
str
,
eop_list
=
{
'ra_j2000_error'
:
real
,
'dec_j2000_error'
:
real
,
'x'
:
real
,
'x_error'
:
real
,
'y'
:
real
,
'y_error'
:
real
,
'fwhm_x'
:
real
,
'fwhm_x_error'
:
real
,
'fwhm_y'
:
real
,
'fwhm_y_error'
:
real
,
'rot'
:
real
,
'snr'
:
real
,
'peak_snr'
:
real
,
'flux'
:
real
,
'ins_mag'
:
real
,
'aper_width'
:
real
,
'aper_height'
:
real
,
'channel'
:
in
t
,
'filter'
:
str
,
}
def
_hms
(
_angle
):
""" Метод. Преобразование угла из градусной меры в часовую.
...
...
fte/lib/libpy/xFile.py
View file @
197b3184
...
...
@@ -258,6 +258,8 @@ class measFile(baseFile):
await
self
.
execute
(
"select * from template.partition_table('xd.t_binds'::regclass,$1)"
,
self
.
tend
)
await
self
.
execute
(
"select * from template.partition_table('xd.t_trackextra'::regclass,$1)"
,
self
.
tbeg
)
await
self
.
execute
(
"select * from template.partition_table('xd.t_trackextra'::regclass,$1)"
,
self
.
tend
)
await
self
.
execute
(
"select * from template.partition_table('xd.t_nfstank'::regclass,$1)"
,
self
.
tbeg
)
await
self
.
execute
(
"select * from template.partition_table('xd.t_nfstank'::regclass,$1)"
,
self
.
tend
)
async
def
get_db_tracks_crc
(
self
,
dev
):
_crc
=
await
self
.
fetchval
(
"""
...
...
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