We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to python-ise and generalise the following linux commands:
mv online to online_old
mv nirps_he_online nirps_he_online_old
mv offline to online
my nirps_he_offline nirps_he_online
update databases (manually)
DROP TABLE astrom_nirps_he_online_db;
CREATE TABLE astrom_nirps_he_online_db LIKE astrom_nirps_he_offline_db;
INSERT INTO astrom_nirps_he_online_db SELECT * FROM astrom_nirps_he_offline_db;
DROP TABLE calib_nirps_he_online_db;
CREATE TABLE calib_nirps_he_online_db LIKE calib_nirps_he_offline_db;
INSERT INTO calib_nirps_he_online_db SELECT * FROM calib_nirps_he_offline_db;
DROP TABLE lang_nirps_he_online_db;
CREATE TABLE lang_nirps_he_online_db LIKE lang_nirps_he_offline_db;
INSERT INTO lang_nirps_he_online_db SELECT * FROM lang_nirps_he_offline_db;
DROP TABLE reject_nirps_he_online_db;
CREATE TABLE reject_nirps_he_online_db LIKE reject_nirps_he_offline_db;
INSERT INTO reject_nirps_he_online_db SELECT * FROM reject_nirps_he_offline_db;
DROP TABLE tellu_nirps_he_online_db;
CREATE TABLE tellu_nirps_he_online_db LIKE tellu_nirps_he_offline_db;
INSERT INTO tellu_nirps_he_online_db SELECT * FROM tellu_nirps_he_offline_db;
DROP TABLE findex_nirps_he_online_db;
CREATE TABLE findex_nirps_he_online_db LIKE findex_nirps_he_offline_db;
INSERT INTO findex_nirps_he_online_db SELECT * FROM findex_nirps_he_offline_db;
UPDATE findex_nirps_he_online_db SET ABSPATH=REPLACE(ABSPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
DROP TABLE log_nirps_he_online_db;
CREATE TABLE log_nirps_he_online_db LIKE log_nirps_he_offline_db;
INSERT INTO log_nirps_he_online_db SELECT * FROM log_nirps_he_offline_db;
UPDATE log_nirps_he_online_db SET INPATH=REPLACE(INPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET OUTPATH=REPLACE(OUTPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET LOGFILE=REPLACE(LOGFILE, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET PLOTDIR=REPLACE(PLOTDIR, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
update objects directory (manual_trigger)
manual_trigger.py nirps_he_profile_online.yaml --only_get=True
update ARI (manual_trigger)
apero_ri.py nirps_he_online_udem.yaml --reset
remove online_old
rm -rfv nirps_he_online_old
rm -rfv /cosmos99/nirps/apero-data/nirps_he_online/objects/
manual_trigger.py nirps_he_profile_online.yaml --only_aperoget=True
The text was updated successfully, but these errors were encountered:
njcuk9999
No branches or pull requests
Need to python-ise and generalise the following linux commands:
mv online to online_old
mv nirps_he_online nirps_he_online_old
mv offline to online
my nirps_he_offline nirps_he_online
update databases (manually)
DROP TABLE astrom_nirps_he_online_db;
CREATE TABLE astrom_nirps_he_online_db LIKE astrom_nirps_he_offline_db;
INSERT INTO astrom_nirps_he_online_db SELECT * FROM astrom_nirps_he_offline_db;
DROP TABLE calib_nirps_he_online_db;
CREATE TABLE calib_nirps_he_online_db LIKE calib_nirps_he_offline_db;
INSERT INTO calib_nirps_he_online_db SELECT * FROM calib_nirps_he_offline_db;
DROP TABLE lang_nirps_he_online_db;
CREATE TABLE lang_nirps_he_online_db LIKE lang_nirps_he_offline_db;
INSERT INTO lang_nirps_he_online_db SELECT * FROM lang_nirps_he_offline_db;
DROP TABLE reject_nirps_he_online_db;
CREATE TABLE reject_nirps_he_online_db LIKE reject_nirps_he_offline_db;
INSERT INTO reject_nirps_he_online_db SELECT * FROM reject_nirps_he_offline_db;
DROP TABLE tellu_nirps_he_online_db;
CREATE TABLE tellu_nirps_he_online_db LIKE tellu_nirps_he_offline_db;
INSERT INTO tellu_nirps_he_online_db SELECT * FROM tellu_nirps_he_offline_db;
DROP TABLE findex_nirps_he_online_db;
CREATE TABLE findex_nirps_he_online_db LIKE findex_nirps_he_offline_db;
INSERT INTO findex_nirps_he_online_db SELECT * FROM findex_nirps_he_offline_db;
UPDATE findex_nirps_he_online_db SET ABSPATH=REPLACE(ABSPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
DROP TABLE log_nirps_he_online_db;
CREATE TABLE log_nirps_he_online_db LIKE log_nirps_he_offline_db;
INSERT INTO log_nirps_he_online_db SELECT * FROM log_nirps_he_offline_db;
UPDATE log_nirps_he_online_db SET INPATH=REPLACE(INPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET OUTPATH=REPLACE(OUTPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET LOGFILE=REPLACE(LOGFILE, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET PLOTDIR=REPLACE(PLOTDIR, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
update objects directory (manual_trigger)
manual_trigger.py nirps_he_profile_online.yaml --only_get=True
update ARI (manual_trigger)
apero_ri.py nirps_he_online_udem.yaml --reset
remove online_old
rm -rfv nirps_he_online_old
Need to python-ise and generalise the following linux commands:
mv online to online_old
mv nirps_he_online nirps_he_online_old
mv offline to online
my nirps_he_offline nirps_he_online
update databases (manually)
DROP TABLE astrom_nirps_he_online_db;
CREATE TABLE astrom_nirps_he_online_db LIKE astrom_nirps_he_offline_db;
INSERT INTO astrom_nirps_he_online_db SELECT * FROM astrom_nirps_he_offline_db;
DROP TABLE calib_nirps_he_online_db;
CREATE TABLE calib_nirps_he_online_db LIKE calib_nirps_he_offline_db;
INSERT INTO calib_nirps_he_online_db SELECT * FROM calib_nirps_he_offline_db;
DROP TABLE lang_nirps_he_online_db;
CREATE TABLE lang_nirps_he_online_db LIKE lang_nirps_he_offline_db;
INSERT INTO lang_nirps_he_online_db SELECT * FROM lang_nirps_he_offline_db;
DROP TABLE reject_nirps_he_online_db;
CREATE TABLE reject_nirps_he_online_db LIKE reject_nirps_he_offline_db;
INSERT INTO reject_nirps_he_online_db SELECT * FROM reject_nirps_he_offline_db;
DROP TABLE tellu_nirps_he_online_db;
CREATE TABLE tellu_nirps_he_online_db LIKE tellu_nirps_he_offline_db;
INSERT INTO tellu_nirps_he_online_db SELECT * FROM tellu_nirps_he_offline_db;
DROP TABLE findex_nirps_he_online_db;
CREATE TABLE findex_nirps_he_online_db LIKE findex_nirps_he_offline_db;
INSERT INTO findex_nirps_he_online_db SELECT * FROM findex_nirps_he_offline_db;
UPDATE findex_nirps_he_online_db SET ABSPATH=REPLACE(ABSPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
DROP TABLE log_nirps_he_online_db;
CREATE TABLE log_nirps_he_online_db LIKE log_nirps_he_offline_db;
INSERT INTO log_nirps_he_online_db SELECT * FROM log_nirps_he_offline_db;
UPDATE log_nirps_he_online_db SET INPATH=REPLACE(INPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET OUTPATH=REPLACE(OUTPATH, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET LOGFILE=REPLACE(LOGFILE, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
UPDATE log_nirps_he_online_db SET PLOTDIR=REPLACE(PLOTDIR, '/cosmos99/nirps/apero-data/nirps_he_offline/', '/cosmos99/nirps/apero-data/nirps_he_online/');
update objects directory (manual_trigger)
rm -rfv /cosmos99/nirps/apero-data/nirps_he_online/objects/
manual_trigger.py nirps_he_profile_online.yaml --only_aperoget=True
update ARI (manual_trigger)
apero_ri.py nirps_he_online_udem.yaml --reset
remove online_old
rm -rfv nirps_he_online_old
The text was updated successfully, but these errors were encountered: