Using SAS Studio OnDemand for Academics, the following code generates a file (STATIONDATAEXISTING) under two LIBRARIES: SOCAL and FORMATS . Why would it create one in the FORMATS library? When I delete it from the FORMATS library the entry under the SOCAL library disappears too. Seems weird.
Thanks in advance for any guidance,
Gene
data socal.stationdataexisting;
input station $ lat long alt az elev;
datalines;
US000S 34.290983 -116.383718 .898 198.31 54.33
US000V 33.960142 -117.259044 .533 47.06 67.3
US001Q 33.960142 -117.259044 .533 129.44 68.32
US001R 34.290983 -116.383718 .898 90 45
US001E 33.640000 -117.60 .500 . .
;
run;
data socal.stationdataexisting;
set socal.stationdataexisting;
/*Define Center of Grid as location of US000S*/
xpos=(long-(-116.383718))*91.09;
ypos=(lat-(34.29083))*111.19;
zpos= alt;
run;
the first thing that comes to mind is that you have assigned library SOCAL and library FORMATS to the same folder.
the first thing that comes to mind is that you have assigned library SOCAL and library FORMATS to the same folder.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.