Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clavrx-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CLAVR-x
clavrx-dev
Commits
b3d9e84a
Commit
b3d9e84a
authored
1 month ago
by
Yue Li
Browse files
Options
Downloads
Patches
Plain Diff
SIPS new MVCM support SNPP/N20
parent
13cc61e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#59536
passed
1 month ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/main/cx_netcdf4_mod.f90
+1
-0
1 addition, 0 deletions
src/main/cx_netcdf4_mod.f90
src/main/mvcm_read_mod.f90
+26
-5
26 additions, 5 deletions
src/main/mvcm_read_mod.f90
src/main/viirs_nasa_read_module.f90
+1
-1
1 addition, 1 deletion
src/main/viirs_nasa_read_module.f90
with
28 additions
and
6 deletions
src/main/cx_netcdf4_mod.f90
+
1
−
0
View file @
b3d9e84a
...
...
@@ -81,6 +81,7 @@ module CX_NETCDF4_MOD
public
::
WRITE_CLAVRX_NETCDF_GLOBAL_ATTRIBUTES
public
::
pfio_get_gatt_string
public
::
query_varid_and_its_relncid
public
::
read_netcdf_raw
logical
,
parameter
,
private
::
debug_nonCF
=
.TRUE.
...
...
This diff is collapsed.
Click to expand it.
src/main/mvcm_read_mod.f90
+
26
−
5
View file @
b3d9e84a
...
...
@@ -116,8 +116,18 @@ module MVCM_READ_MOD
Files
=>
FILE_SEARCH
(
trim
(
Image
%
Level1b_Path
),
trim
(
Search_String
),
count
=
Num_Files
)
if
(
Num_Files
==
0
.or.
Num_Files
>
1
)
then
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"MVCM File Not Found, "
return
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"Old MVCM File Not Found. Try New MVCM "
!return
!endif
Search_String
=
'CLDMSK_L2_VIIRS-CRIS_SNPP'
//
trim
(
Image
%
Level1b_Name
(
9
:
22
))//
'*.nc'
Files
=>
FILE_SEARCH
(
trim
(
Image
%
Level1b_Path
),
trim
(
Search_String
),
count
=
Num_Files
)
if
(
Num_Files
==
0
.or.
Num_Files
>
1
)
then
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"New MVCM File Not Found "
return
endif
endif
Image
%
Auxiliary_Cloud_Mask_File_Name
=
Files
(
1
)
...
...
@@ -140,8 +150,18 @@ module MVCM_READ_MOD
Files
=>
FILE_SEARCH
(
trim
(
Image
%
Level1b_Path
),
trim
(
Search_String
),
count
=
Num_Files
)
if
(
Num_Files
==
0
.or.
Num_Files
>
1
)
then
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"NOAA20 MVCM File Not Found, "
return
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"Old NOAA20 MVCM File Not Found. Try New MVCM "
!return
!endif
Search_String
=
'CLDMSK_L2_VIIRS-CRIS_NOAA20'
//
trim
(
Image
%
Level1b_Name
(
9
:
22
))//
'*.nc'
Files
=>
FILE_SEARCH
(
trim
(
Image
%
Level1b_Path
),
trim
(
Search_String
),
count
=
Num_Files
)
if
(
Num_Files
==
0
.or.
Num_Files
>
1
)
then
print
*
,
EXE_PROMPT
,
MVCM_PROMPT
,
"New MVCM File Not Found "
return
endif
endif
Image
%
Auxiliary_Cloud_Mask_File_Name
=
Files
(
1
)
...
...
@@ -326,7 +346,8 @@ module MVCM_READ_MOD
if
(
.not.
allocated
(
I1_Buffer
))
allocate
(
I1_Buffer
(
Nx_Slab_Count
,
Ny_Slab_Count
),
stat
=
Status_Flag
)
! --- read data
call
READ_NETCDF
(
Group_Id
,
Sds_Start
,
Sds_Stride
,
Sds_Edges
,
trim
(
Sds_Name
),
I1_Buffer
)
call
READ_NETCDF_RAW
(
Group_Id
,
Sds_Start
,
Sds_Stride
,
Sds_Edges
,
trim
(
Sds_Name
),
I1_Buffer
)
!call READ_NETCDF(Group_Id, Sds_Start, Sds_Stride, Sds_Edges, trim(Sds_Name), I1_Buffer)
!--- close file
call
CLOSE_NETCDF
(
Sd_Id
)
...
...
This diff is collapsed.
Click to expand it.
src/main/viirs_nasa_read_module.f90
+
1
−
1
View file @
b3d9e84a
...
...
@@ -2072,7 +2072,7 @@ subroutine DETERMINE_VIIRS_NASA_FILE_NEW_FUSION(Path_In,File_In,File_Type_In,Fil
integer
(
kind
=
int4
)::
Num_Files
New_Fusion_Flag
=
.False.
Search_String
=
trim
(
File_Type_In
)//
trim
(
File_In
(
9
:
22
))//
'*'
//
File_Type_end
//
'.nc'
Search_String
=
trim
(
File_Type_In
)//
trim
(
File_In
(
9
:
22
))//
'*'
//
File_Type_end
//
'
*
.nc'
Files
=>
FILE_SEARCH
(
trim
(
Path_In
),
trim
(
Search_String
),
count
=
Num_Files
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment