Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
242 commits
Select commit Hold shift + click to select a range
2c18912
forwading EVN funchtion(partly)
ykzhang112233 Apr 17, 2023
969c9bc
Readme: editting usage
ykzhang112233 Apr 18, 2023
5a87bba
adjust EVN mode
ykzhang112233 Apr 18, 2023
2a9c84e
format optimize
ykzhang112233 Apr 18, 2023
b6c4854
add ignore rules
ykzhang112233 Apr 18, 2023
ed3679e
add rules
ykzhang112233 Apr 18, 2023
d490a9d
formatting
ykzhang112233 Apr 19, 2023
cfdbd5f
formatting
ykzhang112233 Apr 19, 2023
9db1113
minor change
ykzhang112233 Apr 19, 2023
e1d8020
rules add
ykzhang112233 Apr 19, 2023
5cd526e
bugs fixed
ykzhang112233 Apr 19, 2023
23ba15b
modification minor
ykzhang112233 Apr 19, 2023
c3e5db4
formatting
ykzhang112233 Apr 19, 2023
490ccc7
Modify--update--logging mode.
ykzhang112233 Apr 20, 2023
552d80d
logging update
ykzhang112233 Apr 20, 2023
29b6f6b
Update README.md
shaoguangleo Apr 21, 2023
ead575b
Update README.md
shaoguangleo Apr 21, 2023
9e160a9
Update README.md
shaoguangleo Apr 21, 2023
7e5551d
fix minor bugs
ykzhang112233 May 26, 2023
e42291b
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 May 26, 2023
4c69ba9
Formatting
ykzhang112233 May 31, 2023
471fd1a
deleted old ty before run antab
ykzhang112233 Jun 14, 2023
df4b217
can ignore
ykzhang112233 Jun 14, 2023
bf25787
Add loggings
ykzhang112233 Jun 20, 2023
af8a81e
add utils for difmap scripts
ykzhang112233 Jun 20, 2023
f551b02
update logger expression and Formatting update
ykzhang112233 Jun 25, 2023
24d690c
Update logger expression
ykzhang112233 Jun 25, 2023
6924fb4
TO optimize whether to run TECOR
ykzhang112233 Jul 19, 2023
8164e55
ingore rules
ykzhang112233 Jul 19, 2023
00789ac
minor update on step1-2
ykzhang112233 Jul 20, 2023
445a2fc
minor correction
ykzhang112233 Aug 1, 2023
b8e170d
Minor
ykzhang112233 Aug 1, 2023
1ca90d6
minor changes
ykzhang112233 Nov 24, 2023
6bd44fa
update function get_TEC in get_utils
ykzhang112233 Dec 25, 2023
568db05
update usno file
ykzhang112233 Dec 25, 2023
eacb2f8
update auto function and add a parameter for apcal
ykzhang112233 Dec 26, 2023
226b86c
add gain cor in step3
ykzhang112233 Jan 22, 2024
7726fe5
fix calib bugs
ykzhang112233 Jan 23, 2024
89e56af
add shifting after step3
ykzhang112233 Feb 20, 2024
51239f8
modified for one file with multiple sources (pair
ykzhang112233 Feb 25, 2024
814e9a7
update gitignore
ykzhang112233 Mar 4, 2024
ae04a3c
minor_bk
ykzhang112233 Mar 25, 2024
2867756
bug_fix
ykzhang112233 Mar 25, 2024
9466a00
add pytest files
ykzhang112233 Mar 25, 2024
6f952fc
minor
ykzhang112233 Mar 25, 2024
176eb3d
minor\
ykzhang112233 Mar 25, 2024
1d693d4
adjust on calib_1
ykzhang112233 Apr 2, 2024
78a8b89
minor addtion
ykzhang112233 Apr 2, 2024
b55a2ef
minor change
ykzhang112233 Apr 25, 2024
dd49dcc
minor
ykzhang112233 Apr 25, 2024
43a16aa
debug
ykzhang112233 Nov 18, 2024
0c8d193
usno
ykzhang112233 Nov 18, 2024
15790c9
add a example
ykzhang112233 Mar 25, 2025
aa8f35d
new run, history
ykzhang112233 Aug 31, 2025
9ad6853
try gain
ykzhang112233 Oct 9, 2025
76597d3
new run
ykzhang112233 Oct 9, 2025
b9aa8a5
flag timerange, amke is also dependent on
ykzhang112233 Oct 9, 2025
46c14dd
try not averege LL,RR for step3.
ykzhang112233 Oct 9, 2025
4275c9e
make timerg seperate
ykzhang112233 Oct 9, 2025
51fdd91
add now option at the start of step3 (del_old_mod)
ykzhang112233 Oct 10, 2025
c332dcb
make do_flag callable from any step
ykzhang112233 Oct 10, 2025
e89dca6
fix name length bug
ykzhang112233 Oct 10, 2025
b31c543
fix naming bug
ykzhang112233 Oct 10, 2025
708bb68
minor fix
ykzhang112233 Oct 10, 2025
86483de
new run
ykzhang112233 Oct 14, 2025
f977f6d
run
ykzhang112233 Oct 14, 2025
12b2780
updated calib : better C11 output!
ykzhang112233 Oct 14, 2025
4ffc1bd
add special quack considerations for individual ant
ykzhang112233 Oct 16, 2025
01d8066
fix time bug for sp quack
ykzhang112233 Oct 16, 2025
dcb3a60
make av_if available for each fring, ba118 pattern
ykzhang112233 Oct 17, 2025
dc3371b
try but failed, the importlib.uil is py3 modelue,
ykzhang112233 Oct 18, 2025
1b438d1
round back with old version
ykzhang112233 Oct 18, 2025
634f18d
data updated
ykzhang112233 Oct 29, 2025
95bd3fb
add manual down
ykzhang112233 Nov 21, 2025
211f88a
update jplg down auto
ykzhang112233 Nov 21, 2025
5f8bf22
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Nov 21, 2025
3b65a16
minor
ykzhang112233 Nov 24, 2025
e353c2b
update usno file and corresponding comment
ykzhang112233 Nov 24, 2025
ae02e42
update
ykzhang112233 Nov 25, 2025
6a4dda7
temp
ykzhang112233 Nov 25, 2025
1249ce2
add the old and standalone version
ykzhang112233 Dec 1, 2025
770bf7e
example of parameter py file for standalone version
ykzhang112233 Dec 1, 2025
ae9bd09
add the specal tutorial for stand_alone version
ykzhang112233 Dec 1, 2025
9a03e7a
update
ykzhang112233 Dec 1, 2025
09c5a43
a1
ykzhang112233 Dec 1, 2025
3194b31
update
ykzhang112233 Dec 1, 2025
b8224f5
slight update
ykzhang112233 Dec 3, 2025
eb5937f
log
ykzhang112233 Dec 4, 2025
6a24e90
start do this shit
ykzhang112233 Dec 15, 2025
1757e26
update content
ykzhang112233 Dec 15, 2025
dd93fe8
first step
ykzhang112233 Dec 16, 2025
679f835
start doing
ykzhang112233 Dec 16, 2025
7ae9c1e
start test
ykzhang112233 Dec 16, 2025
d183e96
te
ykzhang112233 Dec 16, 2025
3d392d9
try
ykzhang112233 Dec 16, 2025
2749b83
try
ykzhang112233 Dec 16, 2025
9a5ac04
1
ykzhang112233 Dec 16, 2025
3191e38
1
ykzhang112233 Dec 16, 2025
ebf7a85
1
ykzhang112233 Dec 16, 2025
1603a92
1
ykzhang112233 Dec 16, 2025
2dbf6b4
1
ykzhang112233 Dec 16, 2025
6080f68
anyway
ykzhang112233 Dec 16, 2025
f024f31
ad
ykzhang112233 Dec 16, 2025
bb86ae4
模块化 difmap,待验证
ykzhang112233 Dec 17, 2025
45839cb
try in src example
ykzhang112233 Dec 17, 2025
eda36ad
1
ykzhang112233 Dec 17, 2025
7116d14
2
ykzhang112233 Dec 17, 2025
4314b49
2
ykzhang112233 Dec 17, 2025
f67d3c1
update p
ykzhang112233 Dec 17, 2025
2e4de02
fit. block bug
ykzhang112233 Dec 17, 2025
8d23a8a
1 good run
ykzhang112233 Dec 18, 2025
73cae6a
test
ykzhang112233 Dec 18, 2025
6fe1f10
good run
ykzhang112233 Dec 18, 2025
b44a7aa
basic workflow built, trying to test...
ykzhang112233 Dec 18, 2025
16ebdb6
fix bug1
ykzhang112233 Dec 18, 2025
1e543c7
fix path bugs
ykzhang112233 Dec 18, 2025
797496e
minor
ykzhang112233 Dec 18, 2025
f90847d
test1
ykzhang112233 Dec 18, 2025
9cda951
debugging
ykzhang112233 Dec 18, 2025
99bac9b
success run
ykzhang112233 Dec 18, 2025
192b1dc
update and try multi thread for parallel running
ykzhang112233 Dec 18, 2025
13e4e31
update fwhm unit
ykzhang112233 Dec 18, 2025
43921ed
update run
ykzhang112233 Dec 18, 2025
3e43f21
optimise output dirs for easy other sources
ykzhang112233 Dec 18, 2025
65a3f36
update
ykzhang112233 Dec 18, 2025
7453699
try update output dirs
ykzhang112233 Dec 18, 2025
4947916
before run
ykzhang112233 Dec 18, 2025
3462a27
update sh run
ykzhang112233 Dec 18, 2025
8022165
update units
ykzhang112233 Dec 18, 2025
ddb55e4
add tolerance for temp file deletion when traffic happens
ykzhang112233 Dec 18, 2025
7fae063
small files change memmap to false
ykzhang112233 Dec 18, 2025
cc4e33f
try ignore the fits veryfy warnings
ykzhang112233 Dec 18, 2025
558cb81
runs
ykzhang112233 Dec 18, 2025
2cbb66a
fix for weak source like 307g
ykzhang112233 Dec 18, 2025
d100838
1
ykzhang112233 Dec 18, 2025
90dda1c
optimise fitting on gaussian
ykzhang112233 Dec 19, 2025
e695295
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 19, 2025
d7309f9
minor
ykzhang112233 Dec 19, 2025
c9b4d00
simple update
ykzhang112233 Dec 19, 2025
e915df8
cool
ykzhang112233 Dec 19, 2025
886efb5
update the flow for auto epoch run, need to be tested
ykzhang112233 Dec 20, 2025
cfad84e
to be tested, check code for log output
ykzhang112233 Dec 20, 2025
d385077
update input params
ykzhang112233 Dec 20, 2025
db40756
fix bug
ykzhang112233 Dec 20, 2025
3bac020
try
ykzhang112233 Dec 20, 2025
196fae9
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 20, 2025
16d40e8
test
ykzhang112233 Dec 20, 2025
9a92309
upda
ykzhang112233 Dec 20, 2025
885a844
try fix
ykzhang112233 Dec 20, 2025
e22a207
fix bug
ykzhang112233 Dec 20, 2025
cb379a1
fix bug on clear_uv passing
ykzhang112233 Dec 20, 2025
7e31936
fix bugs
ykzhang112233 Dec 20, 2025
254d9c0
fix bug
ykzhang112233 Dec 20, 2025
8ef3106
minor
ykzhang112233 Dec 20, 2025
baa2ac4
add func for jk
ykzhang112233 Dec 22, 2025
a4b54cb
xx
ykzhang112233 Dec 22, 2025
51a4b00
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 22, 2025
bf51a5c
update to ignore Varyfy warnings
ykzhang112233 Dec 22, 2025
1695656
run dropant
ykzhang112233 Dec 22, 2025
78facca
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 22, 2025
04f10c1
test t bin error
ykzhang112233 Dec 22, 2025
be100df
test
ykzhang112233 Dec 22, 2025
848f6db
do time
ykzhang112233 Dec 22, 2025
27a4107
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 22, 2025
27b1423
fix time bug
ykzhang112233 Dec 22, 2025
04c0fce
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 22, 2025
0256f92
fix output
ykzhang112233 Dec 22, 2025
1c5df36
try fix fitting bug
ykzhang112233 Dec 22, 2025
5b1df84
try to adjust sim time and update the jk mode
ykzhang112233 Dec 22, 2025
2829054
minor
ykzhang112233 Dec 22, 2025
8907889
test
ykzhang112233 Dec 22, 2025
f6fe941
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 22, 2025
703998e
try solve the bug of difmap fitting un finished fits
ykzhang112233 Dec 22, 2025
a4ecdd7
minor
ykzhang112233 Dec 22, 2025
4ba21dc
try run
ykzhang112233 Dec 22, 2025
e3dc080
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 22, 2025
5856afe
try
ykzhang112233 Dec 22, 2025
9822d15
add more fun
ykzhang112233 Dec 22, 2025
1c7fc6e
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 22, 2025
d536a1a
try update the method using difmap script rather than python sending …
ykzhang112233 Dec 24, 2025
8237aa2
fix model fitting
ykzhang112233 Dec 24, 2025
802a8b0
fix script dirctory bug
ykzhang112233 Dec 24, 2025
382c83d
minor
ykzhang112233 Dec 24, 2025
9af0ad6
debug
ykzhang112233 Dec 24, 2025
32f5024
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 24, 2025
d256250
test
ykzhang112233 Dec 24, 2025
af2a1ee
try time block drop
ykzhang112233 Dec 24, 2025
6d550d0
fix drop_t block
ykzhang112233 Dec 24, 2025
5ddf539
try not zeroing
ykzhang112233 Dec 24, 2025
e0c80fa
minor: add comments
ykzhang112233 Dec 24, 2025
c311005
add debug mod to save outputs, control in sim_gain
ykzhang112233 Dec 24, 2025
0abc2c8
minor
ykzhang112233 Dec 24, 2025
a5e010b
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 24, 2025
3ab927f
update debug: set true when not clear uv
ykzhang112233 Dec 24, 2025
9538bf7
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 24, 2025
2d3b401
try check
ykzhang112233 Dec 24, 2025
dce6546
ty
ykzhang112233 Dec 24, 2025
b2ba3e6
try not set zeroing data to avoid difmap zero phase problem
ykzhang112233 Dec 24, 2025
1702993
try
ykzhang112233 Dec 24, 2025
3d647eb
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Dec 24, 2025
f7b33c4
fix zero_data bug
ykzhang112233 Dec 24, 2025
3174e36
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Dec 24, 2025
f403b33
just use simple model fitting to avoid bugs
ykzhang112233 Dec 24, 2025
e466a4c
try a big run
ykzhang112233 Dec 24, 2025
52b1e65
try to save data into separate dir
ykzhang112233 Dec 25, 2025
7148cb4
add pid to csv name
ykzhang112233 Dec 25, 2025
17bf4a8
fix makedir usage bug
ykzhang112233 Dec 25, 2025
24285cc
update uv save structure
ykzhang112233 Dec 25, 2025
5748d9b
plot from Jinjun's code
ykzhang112233 Dec 27, 2025
7479edc
add commands for deleting all temp files
ykzhang112233 Dec 27, 2025
9e8b96d
add csv input and debug
ykzhang112233 Dec 27, 2025
3d36bc7
pdf and txt ignore
ykzhang112233 Dec 27, 2025
d1aef58
adjust run
ykzhang112233 Dec 28, 2025
b7bb29a
add np.nan for flux if size is bad
ykzhang112233 Dec 28, 2025
b847bb1
hard code size constraints for re run
ykzhang112233 Dec 28, 2025
574e701
add new mode for jk_time drop
ykzhang112233 Dec 29, 2025
abf1535
add new mode name
ykzhang112233 Dec 29, 2025
37c31fb
fix name bug
ykzhang112233 Dec 29, 2025
4c52c5d
no need temp
ykzhang112233 Dec 29, 2025
a4b05bd
fix bug
ykzhang112233 Dec 29, 2025
93e5f38
fix warning
ykzhang112233 Dec 29, 2025
1189b0b
try AI solution
ykzhang112233 Dec 29, 2025
ebbdc7d
try fix
ykzhang112233 Dec 29, 2025
386a0b9
'jk_drop_timeblockv2 change to .._per_ant
ykzhang112233 Dec 29, 2025
b4137a1
tryu fiox
ykzhang112233 Dec 29, 2025
1526d9a
fix bug
ykzhang112233 Dec 29, 2025
4878f84
strenthen the retry progress
ykzhang112233 Dec 30, 2025
8b4fb86
in plot, add version for jk-time-per-ant
ykzhang112233 Dec 30, 2025
45e0124
round the cut time window output
ykzhang112233 Dec 30, 2025
14f1a95
todo: add title names or xlable names for different
ykzhang112233 Dec 30, 2025
cfdaa24
adjust retry parm
ykzhang112233 Dec 31, 2025
11209a3
add exeption fitting for 307ex
ykzhang112233 Dec 31, 2025
0ab9cd1
typo, previous change shoud be *gx*
ykzhang112233 Dec 31, 2025
f0a6b45
add comments
ykzhang112233 Jan 4, 2026
c0ed377
change mode name jk_drop_timeblock_per_ant (remove jk_)
ykzhang112233 Jan 6, 2026
7ddb59f
adjust comments
ykzhang112233 Jan 6, 2026
aeceffb
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline into main
ykzhang112233 Jan 6, 2026
0b0e44c
minor update
ykzhang112233 Jan 6, 2026
e740a33
Merge branch 'main' of github.com:ykzhang112233/vlbi-pipeline
ykzhang112233 Jan 6, 2026
4dfb087
Huge chage! Modify the main and config file, can load parameter files…
ykzhang112233 Jan 15, 2026
b0e4332
fix for current py2 version
ykzhang112233 Jan 28, 2026
db96782
move configs to vlbipipeline/vlbipipeline
ykzhang112233 Jan 28, 2026
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
Binary file added .DS_Store
Binary file not shown.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ __pycache__/

# C extensions
*.so
*.csv

# Distribution / packaging
.Python
Expand All @@ -25,6 +26,8 @@ share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
*.pdf
*.txt
MANIFEST

# PyInstaller
Expand Down Expand Up @@ -127,3 +130,20 @@ dmypy.json

# Pyre type checker
.pyre/

# By user
main-bk*
logs/
../geod/jplg*
../geod/*
geod/jplg*
geod/usno*
cookies*
ra*
b*/
B*/
e*/
r*/
*_input.py
*inputs.py
./*/*
3 changes: 3 additions & 0 deletions .marscode/deviceInfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deviceId": "cd14050e957deda615fc3b6e09e8e1dbd5b54051b224d9fb189dd1c669d89615"
}
60 changes: 60 additions & 0 deletions QUICKSTART.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Quick Reference / 快速参考

## 运行管道 / Run Pipeline

```bash
# 基本用法 / Basic usage
ParselTongue main.py --config configs/your_obs_input.py

# 使用环境变量 / Using environment variable
export VLBI_CONFIG=configs/your_obs_input.py
ParselTongue main.py
```

## 创建新配置 / Create New Config

```bash
# 1. 复制模板 / Copy template
cp configs/template_input.py configs/bz111cl_input.py

# 2. 编辑参数 / Edit parameters
vim configs/bz111cl_input.py

# 3. 运行 / Run
ParselTongue main.py --config configs/bz111cl_input.py
```

## 文件结构 / File Structure

```
configs/
├── template_input.py # 模板 / Template
├── ba158l1_input.py # 示例 / Example
└── your_obs_input.py # 你的配置 / Your config

vlbi-pipeline/
├── main.py # 运行此文件 / Run this file
└── config.py # 自动加载配置 / Auto-loads config
```

## 常见问题 / Common Issues

### 找不到配置文件 / Config not found
```bash
# 使用绝对路径 / Use absolute path
ParselTongue main.py --config /full/path/to/configs/your_input.py

# 或相对路径从正确的目录 / Or relative path from correct directory
cd /path/to/vlbi-pipeline
ParselTongue vlbi-pipeline/main.py --config configs/your_input.py
```

### 查看加载了哪个配置 / See which config is loaded
配置文件加载时会打印路径信息
The config file path will be printed when loading

## 更多信息 / More Info

- 详细文档: [configs/USAGE.md](configs/USAGE.md)
- 模板文件: [configs/template_input.py](configs/template_input.py)
- 示例脚本: [run_examples.sh](run_examples.sh)
46 changes: 44 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@



VLBI Data Processing Pipeline
VLBI Data Processing Pipeline.

The documents can be found [vlbi-pipeline-documents](https://vlbi-pipeline-userguide.readthedocs.io/).



Expand All @@ -19,9 +21,49 @@ This software depends upon the following software:
- ParselTongue
- Obit

Find details in [usage](docs/installation/install.rst)

## Usage

### Quick Start

```bash
# 1. 创建配置文件 / Create config file
cp configs/template_input.py configs/your_obs_input.py

# 2. 编辑参数 / Edit parameters
vim configs/your_obs_input.py

# 3. 运行管道 / Run pipeline
ParselTongue main.py --config configs/your_obs_input.py
```

### Configuration Management

**New in 2026**: Configuration files are now organized in the `configs/` directory for better management.

**Running the pipeline:**

```bash
# Method 1: Using --config parameter (Recommended)
ParselTongue main.py --config configs/your_obs_input.py

# Method 2: Using environment variable
export VLBI_CONFIG=configs/your_obs_input.py
ParselTongue main.py

# Method 3: Set as default (create configs/default_input.py)
ParselTongue main.py
```

### Documentation

- **Quick Start**: See [QUICKSTART.md](QUICKSTART.md) for basic usage
- **Configuration Guide**: See [configs/USAGE.md](configs/USAGE.md) for detailed configuration instructions
- **Template**: See [configs/template_input.py](configs/template_input.py) for all available parameters
- **Examples**: Run `./run_examples.sh` to see usage examples

Find more details in [usage](docs/usage/usage.rst)



Expand All @@ -44,4 +86,4 @@ Feel free to PR or suggestions! [Open an issue](https://github.com/SHAO-SKA/vlbi

## License

[GPL © SHAO](LICENSE)
[GPL © SHAO](LICENSE)
91 changes: 91 additions & 0 deletions geod/manual_down_jplg.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "27b730f6",
"metadata": {},
"source": [
"## Downloading ionosphere models manually"
]
},
{
"cell_type": "markdown",
"id": "46ed0ec9",
"metadata": {},
"source": [
"### Note:\n",
"The automatic downloading program did not work well, try donwload manually from:\n",
"ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "25fb3631",
"metadata": {},
"outputs": [],
"source": [
"# First, generate the download script:\n",
"doy_list = ['103','108','130','138','061','060','059']\n",
"year = \"2025\"\n",
"ar=year[2:4]\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "efbe69ca",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/103/JPL0OPSFIN_20251030000_01D_02H_GIM.INX.gz > jplg1030.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/108/JPL0OPSFIN_20251080000_01D_02H_GIM.INX.gz > jplg1080.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/130/JPL0OPSFIN_20251300000_01D_02H_GIM.INX.gz > jplg1300.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/138/JPL0OPSFIN_20251380000_01D_02H_GIM.INX.gz > jplg1380.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/061/JPL0OPSFIN_20250610000_01D_02H_GIM.INX.gz > jplg0610.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/060/JPL0OPSFIN_20250600000_01D_02H_GIM.INX.gz > jplg0600.25i.gz;\n",
"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/2025/059/JPL0OPSFIN_20250590000_01D_02H_GIM.INX.gz > jplg0590.25i.gz;\n"
]
}
],
"source": [
"\n",
"for doy in doy_list:\n",
" command = f\"curl -u anonymous:daip@nrao.edu --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/gps/products/ionex/{year}/{doy}/JPL0OPSFIN_{year}{doy}0000_01D_02H_GIM.INX.gz > jplg{doy}0.{ar}i.gz;\"\n",
" print(command)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6856d95b",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "base",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading